Skip to content

Commands

Nassim edited this page Feb 17, 2021 · 4 revisions

List of commands

The maintenance.command permission is required to use the /maintenance command in general.

Arguments in <> are variables you have to put in, arguments marked by [] don't have to be used/can be ommited.


/maintenance on

Permission: maintenance.toggle
Enables maintenance on your server.


/maintenance off

Permission: maintenance.toggle
Disables maintenance on your server.


/maintenance aborttimer

Permission: maintenance.timer
If running a start-/endtimer, it will be canceled.


/maintenance starttimer <minutes>

Permission: maintenance.timer
Starts a timer after which maintenance will be enabled.


/maintenance endtimer <minutes>

Permission: maintenance.timer
Starts a timer after which maintenance will be disabled. You can include the %TIMER% variable into your maintenance motd to display the remaining time.


/maintenance schedule <minutes> <minutesToEnd>

Permission: maintenance.singleserver.timer
Starts a timer after which maintenance will be enabled, then disabled according to the second parameter. You can include the %TIMER% variable into your maintenance motd to display the remaining time.


/maintenance dump

Permission: maintenance.dump
Dumps some server information, necessary for bug reports.


/maintenance reload

Permission: maintenance.reload
Reloads config, language, whitelisted players and maintenance-icon.


/maintenance motd

Permission: maintenance.motd
Lists your set maintenance motds.


/maintenance setmotd <index> <1/2> <message>

Permission: maintenance.setmotd
Sets/adds a maintenance motd.

To edit current motds, use an existing index (e.g. 2 to edit the second motd set).
To add an motd, set the index one higher than the amount you currently have.

The second argument (<1/2>) refers to the line, to set either the first or second line of the motd.


/maintenance removemotd <index>

Permission: maintenance.setmotd
Removes a maintenance motd.

If you only have one motd set, you can't use this command.


/maintenance update

Permission: maintenance.update
Checks if an update for the plugin is available and if so, forwards to the /maintenance forceupdate command.


/maintenance forceupdate

Permission: maintenance.update
Downloads the latest version of the plugin onto your server. When downloaded successfully, the server should be restarted to prevent problems with the plugin.


/maintenance whitelist

Permission: maintenance.whitelist.list
Lists all players in your maintenance whitelist.


/maintenance add <name/uuid>

Permission: maintenance.whitelist.add
Adds a player to your maintenance whitelist. Adding players by their names only works with online players.


/maintenance remove <name/uuid>

Permission: maintenance.whitelist.remove
Removes a player from your maintenance whitelist.


Additional commands for the Bungee/Velocity version:


/maintenance on <server>

Permission: maintenance.singleserver.toggle
Enables maintenance on a proxied server.


/maintenance off <server>

Permission: maintenance.singleserver.toggle
Disables maintenance on a proxied server.


/maintenance aborttimer <server>

Permission: maintenance.singleserver.timer
If running a start-/endtimer for that server, it will be canceled.


/maintenance starttimer <server> <minutes>

Permission: maintenance.singleserver.timer
Starts a timer after which maintenance will be enabled on a proxied server.


/maintenance endtimer <server> <minutes>

Permission: maintenance.singleserver.timer
Starts a timer after which maintenance will be disabled on a proxied server.


/maintenance schedule <server> <minutes> <minutesToEnd>

Permission: maintenance.singleserver.timer
Starts a timer after which maintenance will be enabled on a proxied server, then disabled according to the second parameter.


/maintenance status

Permission: maintenance.singleserver.status
Lists all proxied servers that are currently under maintenance.


Clone this wiki locally