Rank Hierarchy
ClansPlus uses three distinct ranks defined in theRank enum:
LEADER
The highest rank in a clan. The clan owner has full control over all clan operations and can perform any action.
MANAGER
A trusted member promoted by the leader. Managers have elevated permissions and can help manage the clan.
Rank Details
Leader (Owner)
LEADER
The clan leader is the original creator or a member who was transferred ownership.Capabilities:
- Full access to all clan features
- Can promote/demote managers
- Can transfer ownership to another member
- Can disband the clan
- Configure all clan settings
- Manage permissions for each action
SETOWNER subject. This permanently changes the clan’s owner.
Manager
MANAGER
Managers are promoted by the clan leader to help with clan operations.Capabilities:
- Access to permissions configured for MANAGER rank
- Can perform most clan operations (based on permission settings)
- Cannot demote other managers or the leader
- Cannot disband the clan
- Cannot transfer ownership
SETMANAGER permission:
REMOVEMANAGER permission:
Member
MEMBER
The default rank assigned to all clan members when they join.Capabilities:
- Access to permissions configured for MEMBER rank
- Basic clan features (chat, viewing info, etc.)
- Can participate in clan events
- May have limited access to clan management features
Permission System
Each clan action (called a “Subject”) can be configured to require a specific minimum rank.How Permissions Work
The permission system uses aHashMap<Subject, Rank> to map each action to its required rank:
INVITE→MANAGER(only managers and leaders can invite)KICK→LEADER(only the leader can kick members)CHAT→MEMBER(everyone can use clan chat)
Permission Subjects
Here are all the configurable permissions from theSubject enum:
Member Management
Member Management
- INVITE: Invite a player to clan
- KICK: Kick a member off of clan
- SETMANAGER: Promote member to a manager
- REMOVEMANAGER: Remove a manager from clan
Clan Customization
Clan Customization
- SETCUSTOMNAME: Set clan custom name
- SETICON: Set clan icon
- SETMESSAGE: Set clan message
Location & Teleportation
Location & Teleportation
- SPAWN: Teleport to clan spawn
- SETSPAWN: Set clan spawn
Features
Features
- CHAT: Clan chat
- UPGRADE: Upgrade clan
- MANAGEALLY: Send ally invite and manage clan’s allies
- OPENSTORAGE: Open and manage clan storage
Rank Checking
The plugin checks if a player has the required rank for an action using theisPlayerRankSatisfied method:
Leaders automatically pass all permission checks. Managers can perform any action that requires MEMBER rank or MANAGER rank.
Player Data Structure
Each player’s clan membership is tracked with the following data:Rank Display
Ranks can be displayed in-game with custom formatting:Best Practices
For Leaders
- Choose managers carefully - they have significant power
- Configure permissions to match your clan’s structure
- Set clear expectations for each rank
- Review permissions regularly
For Managers
- Respect the leader’s decisions
- Help new members get started
- Don’t abuse your elevated permissions
- Communicate with the leader about changes
For Members
- Follow clan rules and guidelines
- Contribute to clan goals
- Ask managers or leaders if you need help
- Earn trust to potentially become a manager
For Admins
- Configure default permissions in config files
- Balance power between ranks
- Consider your community’s needs
- Document your server’s clan policies
Migration Notes
The plugin includes a migration system for older data:Next Steps
Clans Overview
Learn about the clan system basics
Permissions Config
Configure clan permissions
Commands
View rank-related commands
Skills
Discover clan skills and upgrades
