/maintenance
Command to enable maintenance mode

Maintenance mode can also be enabled/disabled temporarily with a reason specified
🌍 Localization
Pathlocalizations → 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>)"maintenance:
already_true: "<color:#ff7171>На сервере уже включены технические работы"
already_false: "<color:#ff7171>На сервере уже выключены технические работы"
server_description: "<color:#ff7171>В настоящее время проводятся технические работы"
server_version: "Технические работы"
reasons:
default: "На сервере ведутся технические работы"
disabled: "На сервере закончены технические работы"
format_true: "<fcolor:1>[*] <fcolor:2>Включены <fcolor:1>технические работы на сервере <br><fcolor:1>Айди: <id><br>Дата: <date><br>Время: <time><br>Осталось: <time_left><br>Модератор: <moderator><br>Причина: <reason>"
format_false: "<fcolor:1>[*] <fcolor:2>Выключены <fcolor:1>технические работы на сервере <br><fcolor:1>Айди: <id><br>Дата: <date><br>Время: <time><br>Осталось: <time_left><br>Модератор: <moderator><br>Причина: <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
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
Pathcommand.yml → maintenance
maintenance:
enable: true
filter_by_server: true
range: "SERVER"
aliases:
- "maintenance"
destination:
type: "CHAT"
cooldown:
enable: false
sound:
enable: falseenable
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
| Value | Explanation |
|---|---|
WORLD_TYPE | The message will be sent only to players who have the permission flectonepulse.world.type.dimension_name |
WORLD_NAME | The message will be sent only to players who have the permission flectonepulse.world.name.world_folder_name |
PROXY | The message will be sent to all players on the server and on the Proxy |
SERVER | The message will be sent to all players on the server |
PLAYER | The message will be sent only to the sender |
any number greater than 0, for example range: 100 | The 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
For example newcommand, newcommand_ru, ban, me etc.
destination
Where the message will be sent
| Type | Explanation | Requires additional configuration? |
|---|---|---|
ACTION_BAR | Message above the player's inventory | Yes |
CHAT | Message to chat | No |
TITLE | Fullscreen message | Yes |
SUBTITLE | Fullscreen message (top line) | Yes |
TOAST | Notification in the bottom right corner | Yes |
cooldown
Usage delay
sound
Sound playback
🔐 Permissions
Pathpermission.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
| Type | Explanation |
|---|---|
TRUE | Available to any player |
FALSE | Available to no one, must be granted separately (e.g., using LuckPerms) |
OP | Available to server operators |
NOT_OP | Available 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
FlectonePulse