Core mechanics
How VPP decides when to start a server, how long to wait, when to transfer players, and when to stop it again.
Automatic server start
When a player connects or switches to a server, VPP runs these checks in order:
- Addons. A routing provider or a listener on the pre-connect events can send the player to another server or cancel the connection. If an addon does either, VPP stops here.
- Managed or not. The server name must be listed under
servers:inconfig.ymland match the name invelocity.toml. VPP lets connections to unmanaged servers through untouched. WithserverNotFoundMessage: truethe player also gets a message. - Maintenance. If built-in maintenance or an external provider (kennytv/Maintenance, or an addon) blocks the server, VPP sends the player to a limbo if one is reachable and denies the connection otherwise. It does not start the server.
- Whitelist. With
whitelist: trueon the server, a player who is not on itswhitelist.jsonis denied. A player joining the proxy gets disconnected, a player switching servers gets a message. - Cooldown. After a player triggers a cold start, VPP denies their server switches to managed servers for
playerStartCooldownseconds. This does not apply to the first join, to VPP's own transfers, or to/ptero start. - Already starting. If the server is starting, settling, or has players queued for it, VPP skips the online check and puts the player in the queue.
- Online check. Otherwise VPP checks the server with
serverStatusCheckMethod. The defaultHYBRIDneeds the panel to report "running" and a Velocity ping to succeed. Live state from the panel websocket and a short ping cache keep this check cheap. - Start password. If the server is offline and has a
startPassword, the player must run/ptero unlock <server> <password>first, unless they haveptero.password.bypass. - Rate limit. If the panel has no requests left, VPP tells the player and denies the connection.
- Capacity. If
maxOnlineServersis set and reached, VPP queues the player until a slot frees up (queueWhenMaxOnline: true, the default) or denies them.maxOnlineReservationskeeps slots free for always-online servers, lobbies and limbos. Players withptero.maxcap.bypassskip the cap whenmaxOnlineAllowBypassis on. - Cold start. VPP marks the server as starting and sends
STARTon the player priority lane. It also starts any offline members of the server'sgroupand itslinkedServers, and schedules the check foridleStartShutdownTime. - Holding. With
sendToLimboOnStarton, VPP moves the player to a limbo, or to a lobby if no limbo is reachable. Without a holding server, a player who was switching stays where they are and waits in the queue. A player joining through a forced host is handled byforcedHostOfflineBehavior. See Lobbies and limbo. - Watcher. After
startupInitialCheckDelayseconds, VPP checks the server everystartupPollIntervalseconds (a server can override this). Once it is online, VPP waitsstartupJoinDelayseconds, checks again, and transfers everyone in the queue. - Soft requeue. If the backend kicks a transferred player with
SERVER_DISCONNECTEDand no kick message withinsoftRequeueGraceSeconds, VPP puts them back in the queue and tries again, up tosoftRequeueMaxAttemptstimes. A kick that carries a message (a ban, DiscordSRV linking, and so on) is shown to the player and not retried. - Timeout. If the server is still not ready
startupInitialCheckDelay+startupTimeoutSecondsseconds after the first queued player (the timeout is at least 30), VPP tells the waiting players and clears the queue. WithstartupTimeoutPolicy: CANCELit also clears the starting state. WithKEEP_STARTINGthe server stays marked as starting, so new players queue without another start signal.
While players wait, the action bar shows their queue position and the time left.
Poll interval and join delay
startupPollInterval is how often VPP asks the server if it is up. startupJoinDelay is how long VPP waits after the server is up before it moves players. They are separate settings.
A queued player who moves to a server that is not a lobby, a limbo, or the target loses their place. A player who disconnects keeps their queue entry for persistentQueueTtlSeconds (default 900). When they reconnect and land on a lobby or limbo, VPP resumes the wait, after checking the whitelist, maintenance and start password again. Turn this off with persistentQueueEnabled: false.
Idle shutdown does not run for a server while players are queued for it, while it is settling, or while a start is in progress.
Automatic shutdown
- Per-server
timeout. When the last player leaves, VPP waits this many seconds and stops the server if it is still empty.-1never stops it,0stops it right away. A player joining cancels the countdown. A server without atimeoutkey never stops. idleStartShutdownTime. If VPP started a server and nobody joined it within this many seconds, VPP stops it. Servers withtimeout: -1, lobbies and limbos are skipped.-1turns the check off.- Groups. Servers in the same
grouporserverGroupsentry, or linked withlinkedServers, stay up while any of them has players. - Retries. After a stop signal, VPP waits
shutdownRetryDelayseconds. If the server is still online and empty, it sends the stop again, up toshutdownRetriestimes. alwaysOnline. These servers never get an idle shutdown. EveryalwaysOnlineCheckIntervalseconds VPP starts any of them that are offline, unless maintenance blocks them.- Idle sweep. Every
idleShutdownCheckIntervalseconds VPP looks for empty online servers that have no shutdown scheduled and schedules one. This catches missed events. - Proxy shutdown. Servers listed in
lifecycle.shutdownOnProxyExit(orall) are stopped when the proxy shuts down, including always-online ones.
Limbo and lobby holding
See Lobbies and limbo. The short version: list your limbos, leave sendToLimboOnStart out (it turns on when limbos are listed), and put the limbo in alwaysOnline if you can.
Rate limits
VPP subtracts one from its count of remaining requests before each panel call and adds it back if the request fails before reaching the panel. When the count reaches 0, VPP waits for the reset time from the panel's headers. If the panel sends no reset header, player requests try again after rateLimitProbeFallbackSeconds.
Panel calls run in four priority lanes: player starts, lifecycle (always-online and shutdowns), the lobby balancer, and background work. Background prefetching pauses when the remaining count drops to rateLimitBackgroundPauseThreshold or when any player is waiting for a server. MC Server Soft has no rate limit tracking.
Whitelist
With whitelist: true on a server, VPP fetches that server's whitelist.json from the panel (Pterodactyl, Pelican or Calagopus) every whitelistCheckInterval minutes. Players not on it cannot connect to that server through VPP, whether it is online or not. MC Server Soft cannot serve files, so VPP turns whitelist checks off on that panel. ptero.bypass (with whitelistAllowBypass: true) only skips VPP's check. The backend server still enforces its own whitelist.
Always-online and capacity
alwaysOnline lists servers VPP keeps running, checked every alwaysOnlineCheckInterval seconds. maxOnlineServers limits how many managed servers can be online at once. Servers in maxOnlineExempt are not counted, and lobbies and limbos are not counted unless you set countLobbiesInMaxOnline or countLimbosInMaxOnline. With queueWhenMaxOnline: true, players wait in the queue for a free slot instead of being denied.
