Proxy mode allows you to set specific backend servers under maintenance while keeping your proxy network online. This is perfect for updating individual servers without affecting the entire network.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/kennytv/Maintenance/llms.txt
Use this file to discover all available pages before exploring further.
Configuration
Proxied Maintenance Servers
Define which servers should be in maintenance mode in yourconfig.yml:
Fallback Server
When a server enters maintenance mode with players on it, they’ll be transferred to the fallback server instead of being kicked:You can configure multiple fallback servers by using an array:
fallback: [lobby1, lobby2, lobby3]. The plugin will connect players to the first available server that’s not under maintenance.Waiting Server
When global maintenance is enabled, you can send players to a waiting server instead of kicking them:Commands
All single-server maintenance commands follow this pattern:/maintenance <command> <server>
Toggle Maintenance
Start Timer
Start a timer to enable maintenance on a specific server:End Timer
Start a timer to disable maintenance on a specific server:Check Status
View maintenance status across all servers:Server-Specific Commands
You can execute custom commands when maintenance is enabled or disabled on specific servers:Example Configuration
Permissions
| Permission | Description |
|---|---|
maintenance.singleserver.toggle | Toggle maintenance on individual servers |
maintenance.singleserver.timer | Start timers for individual servers |
maintenance.singleserver | Access all single-server maintenance features |
How It Works
When a player tries to connect to a server under maintenance:Connection Check
The proxy intercepts the connection attempt and checks if the target server is under maintenance.
Permission Verification
If the player has the
maintenance.bypass permission, they’re allowed to connect.Fallback Redirect
If the player is already on the network, they’re redirected to the fallback server.