Overview
This page documents all enumeration types used in the ClansPlus API for type-safe configuration and data management.Rank
Defines the hierarchy of roles within a clan. Package:com.cortezromeo.clansplus.api.enums.Rank
Values
The clan owner with full permissions. Only one leader per clan.
A clan administrator with elevated permissions. Multiple managers can exist.
A regular clan member with basic permissions.
Usage Example
Subject
Represents different permissions/actions that can be restricted by rank. Package:com.cortezromeo.clansplus.api.enums.Subject
Values
Name: “Invite”
Description: Invite a player to clan
Description: Invite a player to clan
Name: “Kick”
Description: Kick a member off of clan
Description: Kick a member off of clan
Name: “Set custom name”
Description: Set clan custom name
Description: Set clan custom name
Name: “Set icon”
Description: Set clan icon
Description: Set clan icon
Name: “Spawn”
Description: Teleport to clan spawn
Description: Teleport to clan spawn
Name: “Set spawn”
Description: Set clan spawn
Description: Set clan spawn
Name: “Set message”
Description: Set clan message
Description: Set clan message
Name: “Set manager”
Description: Promote member to a manager
Description: Promote member to a manager
Name: “Remove manager”
Description: Remove a manager from clan
Description: Remove a manager from clan
Name: “Chat”
Description: Clan chat
Description: Clan chat
Name: “Upgrade”
Description: Upgrade clan
Description: Upgrade clan
Name: “Manage ally”
Description: Send ally invite and manage clan’s allies
Description: Send ally invite and manage clan’s allies
Name: “Open storage”
Description: Open and manage clan storage
Description: Open and manage clan storage
Methods
Returns the display name of the permission.
Returns the description of what the permission allows.
Usage Example
SkillType
Defines the type of skill system integration. Package:com.cortezromeo.clansplus.api.enums.SkillType
Values
Uses the built-in ClansPlus skill system.
Integrates with MythicMobs for custom skill definitions.
Usage Example
CurrencyType
Defines the type of economy integration for clan upgrades and purchases. Package:com.cortezromeo.clansplus.api.enums.CurrencyType
Values
Uses the built-in ClansPlus war points currency.
Integrates with Vault for economy plugin support (e.g., EssentialsX, CMI).
Integrates with the PlayerPoints plugin.
Usage Example
DatabaseType
Defines the database backend for data storage. Package:com.cortezromeo.clansplus.api.enums.DatabaseType
Values
Stores data in YAML flat files (default, no setup required).
Uses H2 embedded SQL database for better performance with large datasets.
Usage Example
ItemType
Defines the type of icon used for clan representation. Package:com.cortezromeo.clansplus.api.enums.ItemType
Values
Uses a standard Minecraft material (e.g., DIAMOND_SWORD, GOLDEN_APPLE).
Uses a custom player head with a specific texture value.
Uses a player’s head based on their username.
Usage Example
See Also
- IClanData - Clan data interface using these enums
- IPlayerData - Player data interface
- ClanPlus Interface - Main API interface
