Resolved an issue that occurred when loading clans from a remote database.
Clan Storage
The clan storage system has been improved and now works correctly and reliably.
New Command & Custom Permissions
New Feature: Added a command and support for custom clan member permissions. You can now grant specific permissions to a member without promoting their rank. Command: /clans perms <player> <perms> <true/false>
Clan Name / Tag
HEX color codes are now properly supported when setting clan names or tags. This fixes issues where colors were not applied or caused errors.
New Placeholder for PlaceholderAPI
Added: %clans_top_kdr_<pos>% displays the top clan based on Kills/Deaths Ratio.
Recommendation: To avoid conflicts or leftover data, it is recommended to delete: config.yml, messages.yml, gui folder.This will allow the plugin to regenerate fresh and updated files.
Added new command /clan withdraw - Withdraw coins from the clan balance
If you set "storage-method: MySQL" instead of "JSON" and already have clans on the server, use the command
/clan reload to migrate clans to the database
Now you can fully customize leaderboards to fit your needs.
Server Join/Leave Message Toggle
Send a message to the clan when a player joins or leaves the server.
Clan Tag Reset Command
Use /clan tag reset to reset a clan’s tag.
Code (YAML):
clan-join-leave-message: true
# Send a message to the clan when a player joins or leaves the server leaderboards:
number-formatter: true
# If true, the leaderboards will be formatted with the number formatter number-format: ["K",
"M",
"B",
"T"]
# Format of the leaderboards for PlaceholderAPI levels: "&7#{position}. {clan} &7- &9{level} ⭐" coins: "&7#{position}. {clan} &7- &6{coins} ⛃" kills: "&7#{position}. {clan} &7- &c{kills} ☠" no-top-clans: "&7#{position}. &8--- --- ---"