/maintenance
Command to enable maintenance mode

🌍Localization
Pathlocalizations → language.yml → command.maintenance
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:1>maintenance on the server"
format_false: "<fcolor:1>★ You have <fcolor:2>disabled <fcolor:1>maintenance on the server"maintenance:
server_description: "<color:#ff7171>В настоящее время проводятся технические работы"
server_version: "Технические работы"
kick: "<color:#ff7171>★ На сервере ведутся технические работы"
format_true: "<fcolor:1>★ Ты <fcolor:2>включил <fcolor:1>технические работы на сервере"
format_false: "<fcolor:1>★ Ты <fcolor:2>выключил <fcolor:1>технические работы на сервере"server_description
Messages when viewing the server if maintenance mode is enabled
server_version
Server version name if maintenance mode is enabled
kick
Reason for being kicked from the server when maintenance mode is turned on
format_true
Message when maintenance mode is enabled
format_false
Message when maintenance mode is disabled
⚙️Setting
Pathcommand.yml → maintenance
maintenance:
enable: true
turned_on: false
aliases:
- "maintenance"
destination:
type: "CHAT"
cooldown:
enable: false
sound:
enable: falserange
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 |
destination
Where the message will be sent
| 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 chat | No |
TEXT_SCREEN | Message anywhere on the screen | Yes |
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 |
To change this, replace the value type: here and restart FlectonePulse using the /flectonepulse reload command; additional settings will appear AUTOMATICALLY
Change
Replace the value type: here
Restart FlectonePulse using the /flectonepulse reload command
Additional parameters for delay settings will appear automatically
cooldown
Usage delay
Usage
Replace false with true
Restart FlectonePulse using the /flectonepulse reload command
Additional parameters for delay settings will appear automatically
cooldown:
enable: true
duration: 60Parameters
| Field | Type | Explanation |
|---|---|---|
enable | boolean | Enables the cooldown functionality |
duration | long | How many ticks must pass between uses |
sound
Sound playback
Usage
Replace false with true
Restart FlectonePulse using the command /flectonepulse reload
Additional parameters for sound configuration will appear automatically
sound:
enable: true
volume: 1.0
pitch: 1.0
category: "HOSTILE"
name: "minecraft:entity.llama.spit"Parameters
| Field | Type | Explanation |
|---|---|---|
enable | boolean | Enables sound playback |
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 |
🔐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
cooldown_bypass
Permission to ignore the cooldown between uses
sound
Permission to use the sound
Last updated on
Edit on GitHub
FlectonePulse