#
Maintenance Mode
When Maintenance Mode is enabled, only players you explicitly allowed to join the server, will be able to join. This is useful for testing new features, configuring options, or just general updates and cleanup.
Allowed Players Note
You will also need to add yourself, and any other admins/OP members to the list!
#
Managing Maintenance Mode
To enable/disable maintenance mode, use the /maintenance on|off
command.
To automatically disable maintenance when the server restarts, use the /maintenance schedule untilRestart
command.
This will then enable mainteneance, and disable it once your server restarts.
To check if your server is in maintenance mode or not, use the /maintenance status
command.
#
Adding/Removing Allowed Players
To allow a player to join your server during maintenance mode, use the /maintenance addAllowed username
command. This will add the player to the allowed list and also reload the config.
To remove a player from being able to join your server during maintenance mode, use the /maintenance removeAllowed username
command. This will remove the player, reload the config and also kick them from the server if they are online at that moment.
To view a list of players that are currently allowed to access your server, use the /maintenance list
command.
#
Changing the MOTD, Icon and Kick Message
To change the MOTD that will be shown during maintenance mode, use the /maintenance setMotd <message>
command.
You can also use Minecraft formatting codes, or MiniMessage formatting codes here.
To change the Kick Message that will be shown during maintenance mode, use the /maintenance setMessage <message>
command.
You can also use Minecraft formatting codes, or MiniMessage formatting codes here.
Upload another png image of 64x64px
(in the same folder as your current server icon) and name it whateveryoulike.png
.
Next, head over to config/mmode.json
. Change the value of maintenanceIcon
to whateveryoulike.png
.
Finally, execute the command /maintenance reload
to reload the config. Your server will now display this icon when you have maintenance mode enabled