Queue - Waiting list system 1.5.0

Simple waiting list system

  1. Maxlego08
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    Source Code:
    https://github.com/Maxlego08/BungeeQueue
    [​IMG]

    BungeeQueue


    Waiting list system for your bungeecord server.

    Features

    • Create a waiting list for connection to your server
    • If the server is not online or if the server is in whitelist then the waiting list will not work
    • Bypass system for administrators


    Installation

    1. Stop your bungeecord server and the server or players should go
    2. Start your bungeecord and spigot server
    3. Modify the configuration file on the bungeecord side
    4. Make /queue reload in the console of your bungeecord to reload the configuration
    5. Here you can use the plugin !

    Add your QueueAccess

    To give or not access to the queue you can create your own QueueAccess. Here is an example with JPremium

    Code (Java):

    public class JPremiumAccess implements QueueAccess {

        private List<UUID> accessPlayers = new ArrayList<UUID>();
     
        @Override
        public boolean canJoinQueue(ProxiedPlayer player) {
            return accessPlayers.contains(player.getUniqueId());
        }
     
        @EventHandler
        public void onLogin(UserLoginEvent event) {
            UUID uuid = event.getUser().getPlayer().getUniqueId();
            if (!accessPlayers.contains(uuid))
                accessPlayers.add(uuid);
        }

        @EventHandler
        public void onLogin(UserRegisterEvent event) {
            UUID uuid = event.getUser().getPlayer().getUniqueId();
            if (!accessPlayers.contains(uuid))
                accessPlayers.add(uuid);
        }
     
        @EventHandler
        public void onQuit(PlayerDisconnectEvent event) {
            UUID uuid = event.getPlayer().getUniqueId();
            if (accessPlayers.contains(uuid))
                accessPlayers.remove(uuid);
        }

    }
     
    You just have to define it in the BungeeQueue class.

Recent Updates

  1. [1.5.0] News features
  2. [1.4.2]

Recent Reviews

  1. Thomas95105
    Thomas95105
    4/5,
    Version: 1.4.2
    Je met 4 étoiles car le plugin est super, il fonctionne comme décris, en revanche c'est comme pour ce que dis TechyGaming, une commande qui permet de faire passer la file d'attente (en cas de file d'attente) pour les joueurs gradés par exemple.....D'ailleurs j'aimerais savoir si vous avez un discord support. Merci pour ce super plugin :p
    1. Maxlego08
      Author's Response
      thx for review
  2. TechyGaming
    TechyGaming
    5/5,
    Version: 1.4.2
    Good plugin, similar to the other review but a slightly more efficient way of doing it would be to have the default rank as queue.priority.1 and a donor rank to be queue.priority.2 and then the donor rank will bypass all of the default ranks. Another cool feature would be a customizable messages.yml for the messages.
    1. Maxlego08
      Author's Response
      thx for review
  3. MrLiam2614
    MrLiam2614
    5/5,
    Version: 1.1
    Perfect plugin, can you add a permission to skip the whitelist, so if i am an admin i could join the server skipping the all the other players?
    And can you also add that if a player has (eg: queue.skip.100) when the player join the queue skip 100 players?
    1. Maxlego08
      Author's Response
      yep i can add ^^