Hello!I am going to make a minigame plugin, and i ask for help.How can i make the player sessions.I'm talking about this: 1 player joined = nothing happens, but when the joined one more player the game will begin. the max player slots are 6. when the last player survived, teleport him to hub,and then reset the sessions and the players can again join.Sorry for my bad english.Please,help.
When player joins, add them to an ArrrayList. (My ArrayList will be called Playing in this example) Code:java If (playing.size() >= 3{ //method to start game} I'd suggest looking more into Java knowledge first.
Minigame with other stuff in the server. I need help fast people, please. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
A friend of mine (@ShadyPotato ) is working on http://dev.bukkit.org/bukkit-plugins/mglib/ Which will help with making this. You can see the status of the project here