Need help with commands

Discussion in 'Plugin Development' started by robin2310, Sep 4, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    robin2310

    Hello Bukkit.
    I am trying to make a PvP minigame with teams.
    I want the commands to join the teams to get available AFTER the join command is executed.
    Is there any way I can do this? If so, can you give me an example?
    Ty,
    - Adware
     
  2. Offline

    Keubix

    When you do the join command, get the senders name and add it to an array list of players that have join. Then when the team command is executed, check if the players name is in the array list, if it is not, then return. If it is then do the join team thing.
     
    mine-care likes this.
Thread Status:
Not open for further replies.

Share This Page