Requirements
- Paper 1.20.1 or higher
- Java 17 or higher
Installation
- Download the latest version from Hangar
- Place the JAR file in your server’s
plugins/directory - Restart your server
- Configure the plugin in
plugins/Maintenance/config.yml
Folia Support
Maintenance is fully compatible with Folia, PaperMC’s new multithreaded server software.Timer-based maintenance scheduling is not yet supported on Folia due to threading limitations.
Plugin Integrations
Maintenance integrates with several popular Paper plugins to enhance functionality.ServerListPlus
Soft dependency - Automatically detected if installed. When ServerListPlus is present, Maintenance can control its status based on maintenance mode:- ServerListPlus is disabled when maintenance is enabled
- ServerListPlus is re-enabled when maintenance is disabled
enable-pingmessages config option.
ProtocolLib
Soft dependency - Optional enhancement. ProtocolLib provides additional packet-level control for advanced server list customization.LuckPerms
Soft dependency - Context support. Maintenance registers amaintenance context with LuckPerms, allowing you to create permissions that are conditional on maintenance status.
Features
Custom Server List
Customize your server list appearance during maintenance:- Custom MOTD - Display a maintenance message in the server list
- Custom Icon - Show a different server icon during maintenance
- Player Count Message - Customize the player count display
Maintenance Whitelist
Allow specific players to join during maintenance:Scheduled Maintenance
Schedule maintenance windows with timers:%TIMER% placeholder in your MOTD to display remaining time.
Player Kick
When maintenance is enabled, players without bypass permission are automatically kicked with a configurable message. Players with themaintenance.bypass permission can join during maintenance.
Configuration
The main configuration file is located atplugins/Maintenance/config.yml.
Key configuration options:
Icon Setup
Place your custom maintenance icon atplugins/Maintenance/maintenance-icon.png:
- Must be 64x64 pixels
- PNG format
- Will be displayed during maintenance mode
Permissions
| Permission | Description |
|---|---|
maintenance.command | Access to /maintenance command |
maintenance.bypass | Join server during maintenance |
maintenance.admin | Full administrative access |
maintenance.joinnotification | Receive notifications when players try to join |
Commands
All commands use the base command/maintenance or /mt.
Unsupported Features
The following features are only available on proxy platforms (BungeeCord/Velocity):- Redis integration for multi-proxy setups
- Per-server maintenance mode
- Fallback server configuration
- Waiting server functionality
API Usage
Developers can integrate with Maintenance using the API:Troubleshooting
Players can still join during maintenance
Check that:- Players don’t have the
maintenance.bypasspermission - Players are not on the whitelist (
/maintenance remove <player>) - Maintenance is actually enabled (
/maintenance on)
Custom icon not showing
Ensure:- Icon is 64x64 pixels and PNG format
- File is located at
plugins/Maintenance/maintenance-icon.png - Server has been restarted after adding the icon