HomeJavaModsClans-Api [1.8-1.13]
Clans-Api [1.8-1.13]

header.jpg

  1. Created by Cerberus/Treona
  2. You can create/delete clans
  3. Invite/kick members
  4. 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:
Api:
You can change a clans stats with the build in api.
Code (Java):
//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:
Code (YAML):
#----------------------------------------------------
#   ______     __         ______     __   __          |
#  /\  ___\   /\ \       /\  __ \   /\ "-.\ \         |
#  \ \ \____  \ \ \____  \ \  __ \  \ \ \-.  \        |
#   \ \_____\  \ \_____\  \ \_\ \_\  \ \_\\"\_\       |
#    \/_____/   \/_____/   \/_/\/_/   \/_/ \/_/       |
#                                                     |
#                 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)

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Clans-Api [1.8-1.13] is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 1,176 times (via Spigot). Download it and open it directly in the game.

Explore more