[Help] Minigame Plugin

Discussion in 'Plugin Development' started by tryfme, Mar 2, 2014.

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

    tryfme

    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.
     
  2. Offline

    Minecrafter_NL

    Do you want it to be a minigame in a server with other stuff or just a server for this minigame?
     
  3. Offline

    Konkz

    When player joins, add them to an ArrrayList.
    (My ArrayList will be called Playing in this example)

    Code:java
    1. If (playing.size() >= 3{
    2. //method to start game
    3. }


    I'd suggest looking more into Java knowledge first.
     
  4. Offline

    tryfme

    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.
     
    Last edited by a moderator: Jun 7, 2016
  5. Offline

    The Fancy Whale

  6. Look for pogostick29dev he has two miniseries on creating minigame plugins, hope that helps :D
     
Thread Status:
Not open for further replies.

Share This Page