FAQ
On this page(26)
How do I update SnProxyUtility?
Download the newer snproxyutility-v* release and replace the jar. Managed configs merge new keys on the next boot.
Does it support Paper or Folia?
No. SnProxyUtility is a Velocity proxy plugin and does not run on Paper, Spigot or Folia.
Why did my proxy not come back after a scheduled restart?
The restart module only shuts the proxy down. Set up a panel auto-restart, a systemd Restart=always unit or a loop in your start script.
Why is the command blocker not doing anything?
It ships switched off. Set modules.command-blocker: true in config.yml, edit blockcommands.yml and run /snproxy reload.
Why did a blocked /msg go through?
Velocity disconnects a player when a proxy plugin denies a command the client signed: a 1.19.3+ command with a signed message argument (/msg <player> <message>, /tell, /me...) or any typed command of a 1.19.1/1.19.2 client with secure chat. The blocker never kicks, so it lets such a command through. With an up-to-date tab list the client does not know a blocked command and sends it unsigned, so it is blocked normally; the gap only opens while a player's command tree is stale (after /snproxy reload or a group change, until their next server switch or relog) and for 1.19.1/1.19.2 clients. Block those commands on the backend too to close it completely.
How do I let staff into a paused queue without moving them one by one?
Give them snproxyutility.queue.bypasspaused. While the queue of a server is paused, a holder who runs /queue <server> (or connects to it from a menu) joins the server directly. Everyone else keeps waiting. If the direct connection fails they wait in the queue like anyone else.
How do I let one player into a paused queue?
Pause the queue with /snproxy queue pause <server>: players keep joining it but nobody is sent. Then run /snproxy queue send <player> <server> to move that one player in, or /snproxy queue send <server> <target> to move everyone on a server. A paused queue stays paused after a proxy restart until /snproxy queue resume <server>.
How do lobby menus and NPCs send players to a mode?
A command a backend plugin runs for the player ([player] queue gens) stays on that backend and never reaches the proxy. Use the menu's connect action instead ([connect] gens in SnLib or DeluxeMenus menus): it asks Velocity to connect the player, and SnProxyUtility turns that into a queue join when the server has a queue.
Which lobby does /hub pick?
The servers of hub.yml (or Velocity's try list when it lists none), the one with the fewest players first with order: least-players. A lobby that refuses the player passes them on to the next one. A server with a queue is never a /hub target.
Does auto-reconnect work without a fallback server?
No. It needs Velocity to redirect the kicked player to another server from the try list in velocity.toml.
Why was a player not re-queued after their server went down?
Auto-reconnect re-queues one player at most auto-reconnect.max-per-player times within auto-reconnect.window-seconds (queue.yml), so a crash-looping server does not keep pulling players back. Past that limit the player stays where they landed and sees queue.auto-reconnect-limit; they can join the queue again themselves.
Does the queue send players back to a server that is restarting?
No. A kick whose reason matches auto-reconnect.kick-keywords (or a lost connection with connection-lost: true) marks that server as Restarting right away, until its next ping, so nobody is sent to it while it shuts down. The re-queued players wait and get back in once it answers again.
Can a player who is not whitelisted block a whitelisted queue?
No. While a server is whitelisted, each try (one every whitelist-probe-seconds) goes to the next player in the queue, so whitelisted players further back still get in and nobody loses their place.
What happens to a player who can never join, for example someone banned on that backend?
Each failed join makes them wait retry-delay-seconds, doubled per failure up to retry-delay-max-seconds, while the players behind them are sent. After max-attempts failures in a row they move to the back. They are never removed from the queue. The message they get then (queue.moved-to-back) shows the server's reason, such as the ban reason.
Can a burst of players overfill a server?
No. With limit-to-free-slots: true (queue.yml, the default), the queue sends no more players between two pings than the free slots of the last one (max - online), counting the players still logging in. Once they are used up the server shows as Full until the next ping. Turn it off only for a backend whose ping shows a fake max player count.
Can I run it with SnMOTD or SnVelocityRestart?
No. Their features are built into the motd and restart modules. Remove the old plugins or switch the matching module off.
Can I run it with another maintenance plugin?
Not with modules.maintenance: true: both would register /maintenance. The module ships off. Turn it on only after removing the other plugin, and whitelist your staff again with /maintenance add <player> (or give them snproxyutility.maintenance.bypass).
Why does a server show Restarting and then Offline?
A server that stops answering pings reads Restarting for restart-grace-seconds (queue.yml, default 180) and Offline only after that, so a restart is not mistaken for a server that is really down. The queue sends nobody to it in either state. Set restart-grace-seconds: 0 to show Offline at once. The words come from status.restarting and status.offline in messages.yml.
What happens to a restart countdown when I run /snproxy reload?
With keep-countdown-on-reload: true (default, restart.yml) a countdown the players already saw keeps running and the new settings apply from the next restart. With false the reload cancels it, every player gets restart.cancelled from messages.yml, and the schedules are planned again. A plan that has not warned anyone yet is always re-planned silently.
/snproxy reload says a module failed. What now?
The reply lists the module ids (modules.<id> in config.yml) whose disable, reload or enable threw. The console has the full error. The other modules were reloaded normally.
Does Velocity's /send skip a paused queue?
Yes. With bypass-send-command: true (default, queue.yml) the players that someone holding velocity.command.send moves with /send <player|server|all|current> <server> to a queued server connect directly, past its queue, pause, whitelist and full state. Set it to false to queue them like any other direct connection. /snproxy queue send behaves the same.
Why do the commands of my backend servers still tab-complete with the command blocker on?
By default (command-blocker.scope: proxy in config.yml) the blocker only filters commands the proxy itself has registered. The commands a backend server sends are not hidden or refused: each server handles its own commands and permissions. Set scope: all to filter backend commands too; then every command a group does not list is hidden and refused.
What does the stats module store? Does it keep IP addresses?
No IP address is ever stored. The country is looked up in memory and only the country is kept. Per player stats/players.tsv holds the UUID, the day of the last login and the last version, edition (Java or Bedrock), Bedrock device, connect address and country. stats/days.tsv holds the unique players, joins and peak online of each day. Both are dropped after history.retention-days (35).
How do I group okimc.us and play.okimc.us into one row?
Add a group to hosts.groups in stats.yml, for example okimc.us: ["okimc.us", "*.okimc.us"], and run /snproxy reload. *.example.com matches every subdomain but not example.com itself, so list both. An IP typed instead of a domain counts as Direct IP.
How do I turn on the stats web page on Pterodactyl?
Add a port as an extra allocation of the proxy, then in stats.yml set web.enabled: true, web.port to that port and web.public-url to the address staff use to reach it (for example http://play.example.com:8765), and run /snproxy reload. /snproxy stats web then answers with a link that works for web.link-minutes. The page is plain HTTP and read-only; share the link only with staff.
Why do all countries read Unknown?
The country database is still downloading, the proxy cannot reach download.db-ip.com, or geoip.enabled is false. The console logs a warning when the download fails and it is retried every day. Players from a private network (a LAN or the same machine) are always Unknown.