This is an simple API for your plugin that needs teams
- Casper Klinkhamer and GyuriX
/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:
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
Clear teams:Code (Text):Player player = (Player) sender; //Just an example
please rate 5Code (Text):TeamAPI.ClearTeams();
and send me ideas for the next update
skype: casper.klinkhamer or casper klinkhamer
e-mail: [email protected]