Queue lobby

Discussion in 'Plugin Development' started by koningpierre, Dec 12, 2015.

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

    koningpierre

    Hello everyone,

    I,m making my own minigame and he is getting really nice! but I want to make something like a queue lobby.

    For example in Hypixel. When you click on a sign the server is searching the lobby with the most players in it and then you come in a wait area.

    I want something like that:

    - you click on a sign that sends you to a waiting area
    - in the lobby you can select your team and your kit
    - In the lobby there is a countdown: (When there are "x" players the game starts).
    - when the countdown is over you spawn in the game with the kit and team you have choosen.

    But the problem: I can't find a tutorial that tells me how to do this. When i search on: Bukkit queue lobby, bukkit minigame lobby etc. (Except BcBroz but they said that his tutorials are bad :p )

    So I thought maybe does someone on the forum knows a good tutorial or can explain it to me.

    Maybe this is little bit a weird question. But of course it is worth a try.

    Thanks :)
     
  2. Offline

    mcdorli

    "it" is getting really nice. Have the players in the lobby in an arraylist, if the size of the arraylist gets to a certain size -> teleport every player in the arraylist in a certain location, and start the game

    Don't forget, to remove players, when they leave the lobby.
     
Thread Status:
Not open for further replies.

Share This Page