This is an simple API for your plugin that needs teams
- Contributors:
- Casper Klinkhamer and GyuriX
Commands:
/Teams join <PlayerName (You dont have to put in an player name)>- puts you into an random team.
/Teams leave - you leave the team.
/Teams list - an list of all the teams.
/Teams clear - this cleares all the teams.
I can call it an API cuz:
Join team:
Leave team:Code (Text):Player player = (Player) sender; //just an example
String pln = player.getName()
TeamAPI.teamJoin( pln );
List teams:Code (Text):Player player = (Player) sender; //just an example
TeamAPI.teamLeave( player);
Clear teams:Code (Text):Player player = (Player) sender; //Just an example
TeamAPI.ListPlayerInTeams(player);
please rate 5Code (Text):TeamAPI.ClearTeams();
and send me ideas for the next update
Contact:
skype: casper.klinkhamer or casper klinkhamer
e-mail: [email protected]