1. We are planning scheduled maintenance on this website on Friday 5 March (tomorrow) at 4:00 am UTC. It is estimated that this maintenance will last 15 minutes. You can view this time in your local timezone here. Thanks.
    Dismiss Notice

TeamsAPI 1.1

Simple API for teams

  1. CAspermartijn
    Casper Klinkhamer and GyuriX
    This is an simple API for your plugin that needs teams

    /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:
    Code (Text):
    Player player = (Player) sender; //just an example
    String pln = player.getName()
    TeamAPI.teamJoin(  pln  );
    Leave team:
    Code (Text):
    Player player = (Player) sender; //just an example
    TeamAPI.teamLeave( player);
    List teams:
    Code (Text):
    Player player = (Player) sender; //Just an example

    Clear teams:

    Code (Text):
    please rate 5

    and send me ideas for the next update

    skype: casper.klinkhamer or casper klinkhamer
    e-mail: [email protected]
    AfricanDev likes this.

Recent Updates

  1. Added no Damage if in same team