Flectone Logo FlectonePulse

/flectonepulse

Main command of the FlectonePulse plugin

command flectonepulse


🌍 Localization

Path localizations → language.yml → command.flectonepulse
flectonepulse:
  dump_error: "<color:#ff7171>An error occurred while uploading the dump: <error>"
  null_host_editor: "<color:#ff7171>Host parameter must be configured in config.yml"
  null_port_editor: "<color:#ff7171>Port <port> is unavailable, choose another one in config.yml"
  null_file: "<color:#ff7171>File <file> does not exist"
  file_exist: "<color:#ff7171>File <file> already exists"
  format_starting: "<fcolor:1>[*] Starting <fcolor:2><type><fcolor:1>, please wait..."
  format_false: "<color:#ff7171>[*] Problem occurred during reload <br>Error: <message>"
  format_true: "<fcolor:1>[*] <fcolor:2>FlectonePulse <fcolor:1>successfully reloaded! (<fcolor:2><i><time></i><fcolor:1>)"
  format_dump: "<fcolor:1>[*] Dump link <fcolor:2><click:open_url:\"<url>\"><hover:show_text:\"<fcolor:2><url>\"><url>"
  format_editor: "<fcolor:1>[*] Web editing link <fcolor:2><click:open_url:\"<url>\"><hover:show_text:\"<fcolor:2><url>\"><url>"
  format_export: "<fcolor:1>[*] Files exported to <fcolor:2><file>"
  format_import: "<fcolor:1>[*] Files imported from <fcolor:2><file>"
flectonepulse:
  dump_error: "<color:#ff7171>Возникла проблема при загрузке дампа: <error>"
  null_host_editor: "<color:#ff7171>Параметр host должен быть настроен в config.yml"
  null_port_editor: "<color:#ff7171>Порт <port> недоступен, выбери другой в config.yml"
  null_file: "<color:#ff7171>Файл <file> не существует"
  file_exist: "<color:#ff7171>Файл <file> уже существует"
  format_starting: "<fcolor:1>[*] Начало <fcolor:2><type><fcolor:1>, подождите..."
  format_false: "<color:#ff7171>[*] Возникла проблема при перезагрузке <br>Ошибка: <message>"
  format_true: "<fcolor:1>[*] <fcolor:2>FlectonePulse <fcolor:1>успешно перезагружен! (<fcolor:2><i><time></i><fcolor:1>)"
  format_dump: "<fcolor:1>[*] Ссылка для дампа <fcolor:2><click:open_url:\"<url>\"><hover:show_text:\"<fcolor:2><url>\"><url>"
  format_editor: "<fcolor:1>[*] Ссылка для веб-редактирования <fcolor:2><click:open_url:\"<url>\"><hover:show_text:\"<fcolor:2><url>\"><url>"
  format_export: "<fcolor:1>[*] Файлы экспортированы в <fcolor:2><file>"
  format_import: "<fcolor:1>[*] Файлы импортированы из <fcolor:2><file>"

dump_error

Message when a dump upload error occurs

null_host_editor

Message when the host field in config.yml is empty

null_port_editor

Message when the port specified in config.yml is busy or unavailable

null_file

Message when the file specified in /flectonepulse import file does not exist

file_exist

Message when the file specified in /flectonepulse export file already exists

format_starting

Message when the command starts executing

format_false

Message when an error occurs

format_true

Format of the message that will be sent when the entire FlectonePulse is reloaded

format_dump

The format of the message that will be sent upon successful dump upload

format_editor

Format of the message that will be sent when the web server is successfully started

format_export

Format of the message that will be sent upon successful export

format_import

Format of the message that will be sent upon successful import


⚙️ Setting

Path command.yml → flectonepulse
flectonepulse:
  enable: true
  execute_in_main_thread: false
  aliases:
  - "flectonepulse"
  - "fp"
  destination:
    type: "CHAT"
  cooldown:
    enable: false
  sound:
    enable: false

enable

Enables or disables the functionality of the module

execute_in_main_thread

Whether the entire reload will be executed in the server's main thread

aliases

A list of aliases for using the command

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.flectonepulse
flectonepulse:
  name: "flectonepulse.module.command.flectonepulse"
  type: "OP"
  cooldown_bypass:
    name: "flectonepulse.module.command.flectonepulse.cooldown.bypass"
    type: "OP"
  sound:
    name: "flectonepulse.module.command.flectonepulse.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

cooldown_bypass

Permission to ignore the cooldown between uses

sound

Permission to use the sound

Last updated on

Edit on GitHub

On this page

Authors of page