[SKRIPT] Automatic World Queue for Anarchy Servers 1.0

Automatic world queue for Skript

  1. hyphens
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.16
    First off, this skript would have not been possible without the code from Sysdm. His original world queue system can be found here: https://www.spigotmc.org/resources/skript-world-queue-system.82671/

    The main differences between this skript and Sysdm's is that I have made his skript fully automatic with no human input needed! If the main world(s) are full, then the server will automatically teleport the player to the queue world and add them to the queue! When a space opens up in the main world(s) the player in queue will be teleported to the main world!

    This skript was built to mimic 2B2T's queue for anarchy servers, if you notice any resemblance!

    Important Information:
    1. This queue assumes that the world players are first spawning into when they join the server is the main world. If you are using this Skript on a Minehut Server, make sure your main world in the Skript is the same world as your "level name".
    2. This queue requires the use of /setqueue in the world you want to designate to be the queue world


    Dependencies:
    > Multiverse Core


    Commands:
    > /setqueue - Without this command, the queue would not work! This command is meant to set a location in your queue world to teleport players to when the main world(s) is/are full!

    Permissions:
    > queue.access - With this permission, players can access the queue! Without this permission, players will be automatically kicked from the server if the main world is full!