Skip to main content

Commands

Here is a list of commands for ajQueue.
As always, <> marks a required argument, and [] marks an optional argument. Never put <> or [] around the arguments.

The strings listed next to the command name are aliases for that command. (e.g. the Queue command has aliases for /queue, /joinq, etc. and the Pause Queue Server command has an alias of /ajq pauseqs)

Player Commands

  • Queue (/queue, /joinqueue, /joinq, /move, /server)

    • Description: Joins a queue for a server or group. This is the primary command for players.
    • Syntax: /queue <server/group>
    • Permission: None by default, but a permission requirement can be enabled in the config. (require-permission)
    • Backend Syntax: If using this command from the backend server (e.g. on a spigot/paper server in a NPC or server selector), the syntax is /queue [player] <server/group>. If you do not specify a player in the queue command, make sure that the queue command gets executed as a player.
  • Leave a Queue (/leavequeue, /leaveq)

    • Description: Leaves a queue you are currently in. If you are in multiple queues, you must specify which one to leave.
    • Syntax: /leavequeue [server/group]
    • Permission: No permission requirement.
  • List Queues (/listqueues, /listq)

    • Description: Lists all available server queues, showing their status and the number of players waiting.
    • Syntax: /listqueues (no arguments)
    • Permission: ajqueue.listqueues
  • Send (/send)

    • Description: A shortcut command to send a player or an entire server's population to a specific queue.
    • Syntax: /send <player/server> <server/group>
    • Note: Must be enabled in the config. (enable-send-alias)
    • Permission: ajqueue.manage.send
  • Slash Servers (/<server/group>)

    • Description: Essentially an alias for /queue <server/group>.
    • Syntax: /<server/group>
    • Note: Must be enabled in the config. (slash-servers)
    • Permission: None by default, but a permission requirement can be enabled in the config. (require-permission)

Management Commands (/ajQueue, /ajq)

These commands are meant for admins to manage the plugin or queues.

The base /ajQueue command requires the ajqueue.manage permission. Without this permission, players will not be able to see or use /ajQueue or any of its subcommands.

  • Reload Configs

    • Description: Reloads all plugin configuration files.
    • Syntax: /ajqueue reload
    • Permission: ajqueue.manage.reload
  • Pause

    • Description: Pauses or unpauses a queue, preventing players from being sent to the server. Toggles if [on/off] is omitted.
    • Syntax: /ajqueue pause <server/all> [on/off]
    • Permission: ajqueue.manage.pause
  • List

    • Description: Displays a detailed list of each queue, including the names of the players waiting.
    • Syntax: /ajqueue list
    • Permission: ajqueue.manage.list
  • Send

    • Description: Sends a specific player or all players from a given server into a queue.
    • Syntax: /ajqueue send <player/server> <server/group>
    • Permission: ajqueue.manage.send
  • Kick

    • Description: Removes a player from a queue. If the server is not specified, the player is removed from all queues they are in.
    • Syntax: /ajqueue kick <player> [server]
    • Permission: ajqueue.manage.kick
  • Kick All

    • Description: Removes all players from a specified queue.
    • Syntax: /ajqueue kickall <server/group>
    • Permission: ajqueue.manage.kickall
  • Update

    • Description: Downloads an update for the plugin, if one is available.
    • Syntax: /ajqueue update
    • Permission: ajqueue.manage.update
  • Pause Queue Server (pausequeueserver, pauseqs)

    • Description: Toggles a personal queue-serverx pause for the command sender, preventing them from being put into a queue by a queue-server.
    • Syntax: /ajqueue pausequeueserver