- Created by Cerberus/Treona
- You can create/delete clans
- Invite/kick members
- And display clan stats
This library is fully uuid ready. Name changes won't break a clan or the plugin.
If you wan't the plugin on multiple servers just copy the jar and the config. All clans and members will be synced!
Commands:
- /clan create <clan name> <clan tag>
- /clan stats <clan name>
- /clan invite <player>
- /clan leave
- /clan kick <player>
- /clan join <clan name>
- /clan delete
Api:
You can change a clans stats with the build in api.
//There are many ways to get a clan!
Clan clan = Clans.getClan(player);
Clan clan = Clans.getClan(uuid);
Clan clan = Clans.getClan(clanName);
Clan clan = Clans.getClan(clanId);
List<Clan> clans = Clans.getClans();
//What you can do with a clan
clan.getClanId();
clan.getClanName();
clan.getClanTag();
clan.getWins();
clan.getLosses();
clan.getMembers();
clan.getOwner();
clan.getElo();
//Add remove clan members:
Clans.updateClanMembers(clan, memberList);
//Add wins and losses
Clans.addClanWin(clan);
Clans.addClanLoss(clan);
//Change clan elo
Clans.updateClanElo(clan, elo);
//Clan scorebard, returns null if the scoreboard is disabled
Scoreboard scoreboard = Clans.getClansScoreboard()
Config:
#----------------------------------------------------
# ______ __ ______ __ __ |
# /\ ___\ /\ \ /\ __ \ /\ "-.\ \ |
# \ \ \____ \ \ \____ \ \ __ \ \ \ \-. \ |
# \ \_____\ \ \_____\ \ \_\ \_\ \ \_\\"\_\ |
# \/_____/ \/_____/ \/_/\/_/ \/_/ \/_/ |
# |
# Created by Cerberus |
#-----------------------------------------------------|
#Elo
eloBase: 1000
#Database settings
dbHost: 'host'
dbUser: 'user'
dbPassword: 'password'
dbDb: 'database'
dbPort: 3306
Troubleshooting:
Q:The Clan tag prefix disappears after a few seconds and or doesn't show on all players?
A: Disable the auto-team function in the ViaVersion config. (1.8-1.10 only)
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta