Solved Game Queues???

Discussion in 'Plugin Development' started by TimmoTastic, May 11, 2016.

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

    TimmoTastic

    How in the world can I create a queue for a minigame that I came up with???? Could somebody make a plugin for me? One that lets you create custom queues??? All I need is somthing like a message when you type a command in that says:

    You have joined the queue for [Queue name]!
    (1/10) players so far!
    30 seconds until start!

    Thanks!
     
  2. Offline

    WolfMage1

    List containing player names
    add/remove them to it

    send them a message "("+list.size()+"/10)"

    and just use a repeating task for the timer

    int ticks = 30

    if(ticks>0){
    ticks--;
    //broadcast a message if you want
    }
    else{
    startMyGame();
    Bukkit.broadcastMessage("We startin");
    }
     
  3. Offline

    TimmoTastic

    Thank you!
     
  4. Offline

    Zombie_Striker

    @TimmoTastic
    Mark this thread as solved if your problem has been solved. If not, then move this thread to the Plugin Requests forum.
     
  5. Offline

    TimmoTastic

    How? It can just be deleted!
     
  6. Offline

    Zombie_Striker

    @TimmoTastic
    Go to the top of this page, click ThreadTools > Edit Title > Click on [Prefix] and change it to [Solved]
     
  7. Offline

    DoggyCode™

    No, look at this forum as a sort of archive or resource for developers. If someone have the same problem as you, and make a quick Google search such as "Bukkit creating game queues", your thread will most likely appear and they will get the answer instead of having to make their own thread. This is why it is important that you ALWAYS do make a search before creating a thread; your issue might've been solved a thousand times already.

    Now, make the thread solved as @Zombie_Striker said ;)
     
Thread Status:
Not open for further replies.

Share This Page