Command /maintenance
Command to enable maintenance mode
🌍 Localization
📂 Path localizations → language.yml → command.maintenance
⚖️ Default
maintenance:
not: "<color:#ff7171><b>⁉</b> Технические работы не идут"
already: "<color:#ff7171><b>⁉</b> Технические работы уже идут"
server-description: "<color:#ff7171>В настоящее время проводятся технические работы"
server-version: "Технические работы"
kick: "<color:#ff7171>★ На сервере ведутся технические работы"
format-true: "<fcolor:1>★ Ты <fcolor:2>включил</fcolor:2> технические работы на сервере"
format-false: "<fcolor:1>★ Ты <fcolor:2>выключил</fcolor:2> технические работы на сервере"
maintenance:
not: "<color:#ff7171><b>⁉</b> You have not maintenance"
already: "<color:#ff7171><b>⁉</b> You have already maintenance"
server-description: "<color:#ff7171>The server is under maintenance"
server-version: "Maintenance"
kick: "<color:#ff7171>★ The server is under maintenance"
format-true: "<fcolor:1>★ You have <fcolor:2>enabled</fcolor:2> maintenance on the server"
format-false: "<fcolor:1>★ You have <fcolor:2>disabled</fcolor:2> maintenance on the server"
not
Message when trying to disable maintenance mode if it is not enabled
already
Message when trying to enable maintenance mode if it is already enabled
server-description
Message when viewing the server while maintenance is enabled
server-version
Server version name when maintenance is enabled
kick
Reason for kicking players when maintenance mode is enabled
format-true
Message when enabling maintenance mode
format-false
Message when disabling maintenance mode
⚙️ Setting
📂 Path command.yml → maintenance
⚖️ Default
maintenance:
enable: true
turned-on: false
aliases:
- "maintenance"
destination:
type: CHAT
cooldown:
enable: false
sound:
enable: false
aliases
List of aliases for using the command
ALIASES CAN BE ANYTHING
For example, newcommand
, новаякоманда
, ban
, me
, etc.
destination
Where the message will be sent
HOW TO CHANGE THE DESTINATION?
Replace the value type: here
and restart FlectonePulse
using the /flectonepulse reload
command. Additional settings will appear automatically.
Type | Explanation | Requires additional configuration? |
---|---|---|
ACTION_BAR | Message above the player's inventory | Yes |
BOSS_BAR | Message at the top of the screen | Yes |
BRAND | Message in F3 | No |
CHAT | Message in the chat | No |
TITLE | Full-screen message | Yes |
SUBTITLE | Full-screen message (bottom line) | Yes |
TAB_HEADER | Message in TAB (top) | No |
TAB_FOOTER | Message in TAB (bottom) | No |
TOAST | Message in the top-right corner (achievement) | Yes |
Configuration for ACTION_BAR
destination:
type: ACTION_BAR
times:
stay: 60
times
Field | Explanation |
---|---|
stay | Time in ticks to hold the message |
Configuration for BOSS_BAR
destination:
type: BOSS_BAR
duration: 100
health: 1.0
overlay: PROGRESS
color: BLUE
play-boos-music: false
create-world-fog: false
darken-screen: false
duration
Duration of the message display
health
How full the boss bar will be
overlay
Type | Explanation |
---|---|
PROGRESS | Single line |
NOTCHED_6 | Divided into 6 parts |
NOTCHED_10 | Divided into 10 parts |
NOTCHED_12 | Divided into 12 parts |
NOTCHED_20 | Divided into 20 parts |
color
Display color
Type |
---|
PINK |
BLUE |
RED |
GREEN |
YELLOW |
PURPLE |
WHITE |
play-boos-music
Whether music will play with the message
create-world-fog
Whether fog will appear with the message
darken-screen
Whether the screen will darken with the message
Configuration for TITLE
(or SUBTITLE
)
destination:
type: TITLE (or SUBTITLE)
subtext: ""
times:
fade-in: 20
stay: 60
fade-out: 20
subtext
Message for the second part of the display. For example, if TITLE
is selected, subtext
will be displayed below it, and vice versa.
times
Field | Explanation |
---|---|
fade-in | Time in ticks for the message to appear |
stay | Time in ticks to hold the message |
fade-out | Time in ticks for the message to disappear |
Configuration for TOAST
destination:
type: TOAST
icon: "minecraft:diamond"
style: TASK
icon
Achievement icon, which can be any Minecraft item (must specify the full path)
style
Achievement type (TASK
regular, GOAL
goal, CHALLENGE
challenge)
WARNING
Not recommended for global messages
cooldown
Usage cooldown
Field | Type | Explanation |
---|---|---|
enable | boolean | Enables the cooldown functionality |
duration | long | How many ticks must pass between uses |
HOW TO USE COOLDOWN?
Replace false
with true
and restart FlectonePulse
using the /flectonepulse reload
command. Additional cooldown settings will appear AFTER RELOADING.
The cooldown configuration will look like this:
cooldown:
enable: true
duration: 60
sound
Sound playback
Field | Type | Explanation |
---|---|---|
enable | boolean | Enables sound functionality |
volume | float | Sound volume from 0 to 1.0 |
pitch | float | Sound pitch from 0 to 1.0 |
category | String | Category from MASTER , MUSIC , RECORD , WEATHER , BLOCK , HOSTILE , NEUTRAL , PLAYER , AMBIENT , VOICE |
name | String | Sound name, for example minecraft:entity.llama.spit |
HOW TO USE SOUND?
Replace false
with true
and restart FlectonePulse
using the /flectonepulse reload
command. Additional sound settings will appear AFTER RELOADING.
The sound configuration will look like this:
sound:
enable: true
volume: 1.0
pitch: 1.0
category: "HOSTILE"
name: "minecraft:entity.llama.spit"
🔐 Permissions
📂 Path permission.yml → command.maintenance
⚖️ Default
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 for any player |
FALSE | Available if granted separately (e.g., via LuckPerms) |
OP | Available for server operators |
NOT_OP | Available if granted separately (e.g., via LuckPerms) |
join
Permission to join the server during maintenance
cooldown-bypass
Permission to bypass the cooldown between uses
sound
Permission to use sound