Best Practices - AkselGlyholt/velocity-limbo-handler GitHub Wiki
π‘οΈ Best Practices
Setting up VelocityLimboHandler properly ensures your players always have a stable fallback experience, especially during server restarts or maintenance. This page outlines recommended setups, performance tips, and security practices based on real-world usage.
π§ 1. Set Up Your Velocity Routing Correctly
In velocity.toml
, use the try
list or forced-hosts
to send players to the Limbo server when their target server is unavailable.
Example using try
:
try = ["main", "limbo"]
Or use forced-hosts
for domain-based routing:
[forced-hosts]
"play.example.com" = ["main", "limbo"]
The name
"limbo"
must match yourlimbo-name
inconfig.yml
.
task-interval
Reasonable
π 2. Keep - Default is
3
seconds, which works well for most setups - Lower values (1β2 seconds) mean faster reconnects but slightly more load
- Higher values (5β10 seconds) reduce load but delay reconnects
Adjust based on your proxy size and how quickly your backend servers boot up.
queue-notify-interval
for Player Clarity
π 3. Tweak Set to:
20β30
seconds to give players occasional updates without spam0
to disable queue messages entirely
A good message rhythm helps reduce confusion, especially if the queue is long.
/server
in Limbo
π« 4. Always Block Add this to your config:
disabled-commands: ["server", "lobby", "hub"]
This prevents players from bypassing the reconnect queue. Combine it with LuckPerms for even tighter control (see Command Blocking).
π§ͺ 5. Use Maintenance Mode When Restarting Servers
If you're using KennyTVβs Maintenance plugin, mark servers as under maintenance before restarting them.
This stops queue attempts until the backend is ready again β no spam, no wasted checks.
π§Ό 6. Keep the Limbo Server Clean
The Limbo server should be:
- Lightweight (few/no plugins)
- Empty or have minimal UI
- Not your main lobby β treat it as a temporary holding zone
Some server owners use LimboAPI to create an ultra-fast, zero-resource Limbo server.
πͺ 7. Monitor Your Logs
Keep an eye on the proxy logs for messages like:
[VelocityLimboHandler] Player xyz reconnected to main-server
Or any repeated failures. This helps you spot:
- Broken backend names
- Unreachable hosts
- Excessive reconnect loops
β Summary
Tip | Why It Matters |
---|---|
Use try or forced-hosts |
Sends players to Limbo correctly |
Tune task-interval |
Balances speed and performance |
Block escape commands | Keeps queue logic reliable |
Use maintenance detection | Prevents reconnect spam |
Keep Limbo simple | Reduces bugs and load |