Flectone LogoFlectonePulse

/maintenance

Command to enable maintenance mode

command maintenance

Maintenance mode can also be enabled/disabled temporarily with a reason specified


Localization

Path localizations → language.yml → command.maintenance
maintenance:
  already_true: "<color:#ff7171>Server maintenance is already enabled"
  already_false: "<color:#ff7171>Server maintenance is already disabled"
  server_description: "<color:#ff7171>Server maintenance is currently underway"
  server_version: "Maintenance"
  reasons:
    default: "Server maintenance is in progress"
    disabled: "Server maintenance is finished"
  format_true: "<fcolor:1>[*] <fcolor:2>Enabled <fcolor:1>server maintenance <br><fcolor:1>ID: <id><br>Date: <date><br>Time: <time><br>Time left: <time_left><br>Moderator: <moderator><br>Reason: <reason>"
  format_false: "<fcolor:1>[*] <fcolor:2>Disabled <fcolor:1>server maintenance <br><fcolor:1>ID: <id><br>Date: <date><br>Time: <time><br>Time left: <time_left><br>Moderator: <moderator><br>Reason: <reason>"
  person: "<color:#ff7171>[*] <reason> (<time_left>)"

already_true

Message if maintenance mode is already enabled

already_false

Message if maintenance mode is already disabled

server_description

Messages displayed in the server list when maintenance mode is enabled

server_version

Server version name displayed when maintenance mode is enabled

reasons

A list with keys and values, where the key is a word and the value is a specific reason

Information

You can add your own reasons, for example

random_kek: "Random reason"

Then if I write /maintenance start 1d random_kek, the reason will be Random reason

If no reason is specified, default will be used

format_true

Message when enabling maintenance mode

format_false

Message when disabling maintenance mode

person

Message to a player who tried to connect during maintenance mode


Setting

Path command.yml → maintenance
maintenance:
  enable: true
  filter_by_server: true
  range: "SERVER"
  aliases:
  - "maintenance"
  destination:
    type: "CHAT"
  cooldown:
    enable: false
  sound:
    enable: false

enable

Enables or disables the functionality of the module

filter_by_server

If enabled, this moderation will only work on this server. All commands related to this moderation will also be filtered relative to the server value in config.yml

range

How far in blocks the message will be displayed

ValueExplanation
WORLD_TYPEThe message will be sent only to players who have the permission flectonepulse.world.type.dimension_name
WORLD_NAMEThe message will be sent only to players who have the permission flectonepulse.world.name.world_folder_name
PROXYThe message will be sent to all players on the server and on the Proxy
SERVERThe message will be sent to all players on the server
PLAYERThe message will be sent only to the sender
any number greater than 0, for example range: 100The message will be sent to players whose distance between them and the sender is less than this number. Players must also be in the same world as the sender

aliases

A list of aliases for using the command

Information

Aliases can be anything. For example newcommand, newcommand_ru, ban, me etc.

destination

Where the message will be sent

TypeExplanationRequires additional configuration?
ACTION_BARMessage above the player's inventoryYes
CHATMessage to chatNo
TITLEFullscreen messageYes
SUBTITLEFullscreen message (top line)Yes
TOASTNotification in the bottom right cornerYes

cooldown

Usage delay

sound

Sound playback


Permissions

Path permission.yml → command.maintenance
maintenance:
  name: "flectonepulse.module.command.maintenance"
  type: "OP"
  join:
    name: "flectonepulse.module.command.maintenance.join"
    type: "OP"
  cooldown_bypass:
    name: "flectonepulse.module.command.maintenance.cooldown.bypass"
    type: "OP"
  sound:
    name: "flectonepulse.module.command.maintenance.sound"
    type: "TRUE"

name

Permission name

type

Permission type

TypeExplanation
TRUEAvailable to any player
FALSEAvailable to no one, must be granted separately (e.g., using LuckPerms)
OPAvailable to server operators
NOT_OPAvailable to NON-operators of the server

join

Permission to connect to the server during maintenance mode

cooldown_bypass

Permission to ignore the cooldown between uses

sound

Permission to use the sound

Last update July 21, 2026
Edit on Github

On this page

Authors of page