What is a Clan?
A clan is a player-created organization with the following core properties:Identity
- Name: Unique identifier (unchangeable)
- Custom Name: Formatted display name with colors
- Icon: Visual representation (material or custom head)
Membership
- Owner: The clan leader
- Members: List of all clan members
- Max Members: Configurable member limit
Progress
- Score: Points earned through activities
- War Points: Special currency from events
- Created Date: Timestamp of clan creation
Features
- Message: Clan MOTD shown to members
- Spawn Point: Clan home location
- Storage: Shared inventories
Clan Properties
Based on the source code (IClanData interface), each clan stores:
Core Data
Customization
Advanced Features
Creating a Clan
Players can create clans through the plugin’s command system. When a clan is created:- A unique name is registered
- The creator becomes the owner with
LEADERrank - Default permissions are set
- Initial skill levels are configured
- Creation date is recorded
Clan names must be unique across the server and cannot be changed after creation. However, clans can set a custom display name with color codes.
Managing Your Clan
Setting Properties
Clan leaders can customize various properties:- Display
- Location
- Members
- Custom Name: Add colors and formatting to your clan’s display name
- Icon: Choose a material or custom player head as your clan icon
- Message: Set a message of the day for your members
Permissions System
Clans use a permission system based onSubject enums:
- INVITE: Invite players to the clan
- KICK: Remove members from the clan
- SETCUSTOMNAME: Change clan display name
- SETICON: Change clan icon
- SPAWN: Teleport to clan spawn
- SETSPAWN: Set the clan spawn point
- SETMESSAGE: Update clan message
- SETMANAGER: Promote members to manager
- REMOVEMANAGER: Demote managers
- CHAT: Use clan chat
- UPGRADE: Upgrade clan skills
- MANAGEALLY: Manage allied clans
- OPENSTORAGE: Access clan storage
Allies System
Clans can form alliances with other clans:How Allies Work
- Sending Requests: A clan sends an ally invitation to another clan
- Pending Invitations: The target clan receives the invitation
- Acceptance: Once accepted, both clans become allies
- Benefits: Allied clans cannot damage each other during war events
Managing Allies
Clan members with theMANAGEALLY permission can:
- Send ally requests to other clans
- Accept or reject incoming ally requests
- Remove existing allies
- View all current allies
Clan Storage
Clans have shared storage inventories that members can access:- Multiple Inventories: Each clan can have multiple storage inventories (numbered 1, 2, 3, etc.)
- Capacity: The
maxStorageproperty determines how many inventories are unlocked - Permissions: Access controlled by the
OPENSTORAGEpermission - Persistence: All items are saved to the database
Discord Integration
Clans can optionally integrate with Discord:- Automatic notifications to Discord channels
- Integration with clan events and activities
- Enhanced communication outside the game
Next Steps
Ranks
Learn about clan hierarchy and permissions
Skills
Discover clan skills and upgrades
Events
Participate in clan war events
Commands
View all available clan commands
