Introduction
The Maintenance plugin uses a YAML configuration file to control all aspects of maintenance mode, from server messages to Redis synchronization. This page provides an overview of the configuration system and how to manage your settings.Configuration File Location
The main configuration file is located at:- Bukkit/Spigot/Paper:
plugins/Maintenance/config.yml - BungeeCord/Velocity:
plugins/Maintenance/config.yml
WhitelistedPlayers.yml- Stores players allowed to join during maintenancemaintenance-icon.png- Custom server icon displayed during maintenance (optional)
Reloading Configuration
To reload the configuration after making changes, use:maintenance.reload permission.
Configuration Sections
The configuration is organized into several sections:Maintenance Messages
Configure MOTD, player count, and hover messages displayed during maintenance
Timers
Set up automatic maintenance scheduling and timer broadcasts
Whitelist
Manage players allowed to join during maintenance mode
Redis
Synchronize maintenance status across multiple proxy instances
Languages
Change the plugin language and contribute translations
Basic Settings
Enables or disables maintenance mode globally.
List of specific servers to enable maintenance on when using a proxy.
Server to send players to when maintenance is enabled on a proxied server. Can be a single server or an array of fallback servers.
A “waiting” lobby server for players to be sent to during global maintenance instead of being kicked. Leave empty to disable.
If set to false, players will not be kicked when maintenance is enabled (new connections will still be blocked).
If enabled, players with the
maintenance.joinnotification permission will receive a message when someone tries to join during maintenance.If enabled, the server icon will be changed to
maintenance-icon.png from the plugin’s folder during maintenance.When fetched player does not exist, fallback to offline UUID. Only works on proxies like Velocity or BungeeCord.
Enables automatic update notifications. You can always check manually using
/maintenance update.Command Execution
You can configure commands to run automatically when maintenance is enabled or disabled:Commands executed when maintenance is enabled globally.
Commands executed when maintenance is disabled globally.
Commands executed when maintenance is enabled on a specific proxied server. Use
%SERVER% placeholder for the server name.Commands executed when maintenance is disabled on a specific proxied server.
Text Formatting
All messages in the configuration use MiniMessage format, NOT legacy color codes. Use the MiniMessage Web UI to create and preview formatted text.Some fields (like
player-count-message and player-list-hover-message) do not support RGB colors due to Minecraft protocol limitations.