Replacing server command
It is fairly simple to replace the proxy's default /server command with the queue command.
info
Doing this will NOT intercept all proxy server change events.
This will only intercept players running the /server command in their chat.
note
Some NPC or server selector plugins may intercept the /server command and send the player directly, before it reaches ajQueue.
This would cause the player to bypass the queue.
You should always set the NPC or server selector to execute the normal queue command.
Replace the server command with the queue command
Bungeecord
- Open modules.yml (in the bungeecord server folder)
- Remove the line that says
'jenkins://cmd_server' - Save and close modules.yml
- Delete cmd_server.jar in the modules folder
- Set
enable-server-commandto true in ajQueue's config - Restart bungeecord
Velocity
- Set
enable-server-commandto true in ajQueue's config - Restart velocity
Undo replacing the server command
Bungeecord
Follow these steps to undo this:
- Delete modules.yml (or just add back the line that says
'jenkins://cmd_server') - Set
enable-server-commandto false in ajQueue's config - Restart bungeecord
Velocity
- Set
enable-server-commandto false in ajQueue's config - Restart velocity