Skip to main content

Commands

All commands available in Nexal Maintenance.

Player Commands​

CommandDescriptionPermission
/maintenance helpShow helpnexalmaintenance.use
/maintenance statusCheck maintenance statusnexalmaintenance.use

Aliases: /mt, /maint.

Admin Commands​

CommandDescriptionPermission
/maintenance adminOpen the admin menu (console: list the admin commands)nexalmaintenance.admin
/maintenance admin help [page]List the admin commandsnexalmaintenance.admin
/maintenance admin on [reason]Enable maintenance modenexalmaintenance.admin
/maintenance admin offDisable maintenance mode, or cancel the schedule if it has not startednexalmaintenance.admin
/maintenance admin toggleToggle maintenance modenexalmaintenance.admin
/maintenance admin schedule <time> [duration] [reason]Schedule maintenance (refused while it is active)nexalmaintenance.admin
/maintenance admin cancelCancel scheduled maintenancenexalmaintenance.admin
/maintenance admin bypass add <player>Add a permanent bypassnexalmaintenance.admin
/maintenance admin bypass addtemp <player>Add a temporary bypass (until maintenance ends)nexalmaintenance.admin
/maintenance admin bypass remove <player>Remove a bypassnexalmaintenance.admin
/maintenance admin bypass listList bypassed playersnexalmaintenance.admin
/maintenance admin exportExport the state and bypass list to export/maintenance.jsonnexalmaintenance.admin
/maintenance admin importImport export/maintenance.json into the current storagenexalmaintenance.admin
/maintenance admin reloadReload config.yml and messages.yml (and switch storage if its settings changed)nexalmaintenance.admin

Times are written like 30s, 10m, 1h, 1d or combined (1h30m); a bare number means minutes.

Command Examples​

# Enable maintenance with a reason
/maintenance admin on Server update in progress

# Schedule maintenance in 10 minutes
/maintenance admin schedule 10m

# Schedule maintenance in 10 minutes, lasting 1 hour, with a reason
/maintenance admin schedule 10m 1h Server update

# Add a temporary bypass (until maintenance ends)
/maintenance admin bypass addtemp Notch

Admin Menu​

/maintenance admin opens:

  • Current Status - Active, scheduled or inactive, with time left and reason
  • Maintenance toggle - Green when on, red when off, yellow while scheduled (click cancels the schedule)
  • Schedule Maintenance - Pick a start (1m, 5m, 10m, 30m, 1h) and a length (no end, 30m, 1h, 2h, 6h), then confirm. The reason is the default reason; use the command for another
  • Bypass List - Every bypassed player. Add Player asks for a name in chat: left click adds a permanent bypass, right click a temporary one (until maintenance ends), the same as bypass add and bypass addtemp. Shift right click on a head removes that player
  • Configuration - The settings screen: MOTD lines, max players shown, custom icon, kick on enable, kick countdown, countdown warnings and default reason. Text settings are typed in chat (cancel keeps the old value)
  • Export Data / Import Data - The same as the commands; import takes a shift left click