Commands
The root command is /snproxy (alias /spu). Players also get /queue (aliases /joinqueue, /joinq, /move) and /leavequeue (aliases /lq, /leaveq) while the queue module is enabled, and /hub (alias /lobby) while the hub module is enabled. Staff get /find while the find module is enabled and /maintenance (alias /mantenimiento) while the maintenance module is enabled.
| Command | Permission | Description |
|---|---|---|
/snproxy [help] | none | Lists the commands the sender may use. |
/snproxy reload | snproxyutility.admin.reload | Reloads config.yml, messages.yml and every module file, and applies the module switches. If a module fails to reload or enable, the reply names it and the console has the error. |
/snproxy restart next | snproxyutility.admin.restart | Shows when the next restart happens. |
/snproxy restart now | snproxyutility.admin.restart | Starts the restart countdown now. |
/snproxy queue pause <server> | snproxyutility.admin.queue | Stops sending players from a queue. |
/snproxy queue resume <server> | snproxyutility.admin.queue | Resumes sending players from a queue. |
/snproxy queue info <server> | snproxyutility.admin.queue | Shows the status, lanes and size of a queue. |
/snproxy queue send <player|server> <server> | snproxyutility.admin.queue | Sends a player, or everyone on a server, to a server past its queue (ignores pause, whitelist and full). |
/queue <server> | none | Joins the queue of a server. Players only; leaves the previous queue. |
/leavequeue | none | Leaves the current queue. Players only. |
/hub | none | Sends the player to a lobby, the least busy first. Players only. |
/find <player> | snproxyutility.admin.find | Shows which server an online player is on. |
/maintenance on|off | snproxyutility.admin.maintenance | Turns proxy-wide maintenance on or off. |
/maintenance status | snproxyutility.admin.maintenance | Shows whether maintenance is on and how many players are whitelisted. |
/maintenance add <player> | snproxyutility.admin.maintenance | Whitelists a player: by UUID if online, by name if offline. |
/maintenance remove <player|uuid> | snproxyutility.admin.maintenance | Takes a player off the whitelist and kicks them if maintenance is on. |
/maintenance list | snproxyutility.admin.maintenance | Lists the whitelisted players. |
/snproxy stats [online|today|week|month] | snproxyutility.admin.stats | Shows versions, Java/Bedrock, Bedrock devices, addresses and countries of a window: players online now (the default) or the unique players of the last 1, 7 or 30 days. |
/snproxy stats web | snproxyutility.admin.stats | Gives a link to the read-only stats page, valid for web.link-minutes. Needs web.enabled: true in stats.yml. |
Notes
- Aliases come from
commands.<command>.aliasesinconfig.yml(admin,queue,leave-queue,hub,find,maintenance). The list replaces the shipped one, and an empty list removes every alias. - Changing an alias needs a proxy restart.
/snproxyis open to everyone: help and tab completion list only what the sender may run. The console may run everything.<server>is a server name fromvelocity.tomlthat has a queue inqueue.yml./snproxy statsanswers that the module is off whilemodules.statsisfalse.