Flectone Logo FlectonePulse

Commands

Category responsible for configuring all commands


🌍 Localization

Path localizations → language.yml → command
command:
  exception:
    execution: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>An error occurred while executing the command <br><color:#ff7171><sprite_or:⁉:gui:icon/chat_modified><exception>"
    parse_unknown: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Unknown argument error while parsing <br><input>"
    parse_boolean: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>A boolean argument was expected, but you entered <br><input>"
    parse_number: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>A number argument was expected, but you entered <br><input>"
    parse_string: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>A string argument was expected, but you entered <br><input>"
    permission: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>You don't have permission to use this command"
    syntax: "<hover:show_text:\"<fcolor:2>Use <br><fcolor:1>/<correct_syntax>\"><click:suggest_command:\"/<command> \"><fcolor:2>┌<br>│ Usage →<br>│ <fcolor:1>/<correct_syntax><br><fcolor:2>└"
  prompt:
    message: "message"
    hard: "hard"
    accept: "accept"
    turn: "turn on"
    type: "type"
    reason: "reason"
    category: "category"
    id: "id"
    time: "time"
    repeat_time: "repeat time"
    multiple_vote: "multiple vote"
    player: "player"
    number: "number"
    color: "color"
    language: "language"
    url: "url"
    move: "move"
    value: "value"
command:
  exception:
    execution: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Произошла ошибка при выполнении команды <br><color:#ff7171><sprite_or:⁉:gui:icon/chat_modified><exception>"
    parse_unknown: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Неизвестная ошибка аргумента в <br><input>"
    parse_boolean: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Ожидался boolean аргумент, но ты ввёл <br><input>"
    parse_number: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Ожидался числовой аргумент, но ты ввёл <br><input>"
    parse_string: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Ожидался строковый аргумент, но ты ввёл <br><input>"
    permission: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>У тебя нет прав на использование этой команды"
    syntax: "<hover:show_text:\"<fcolor:2>Использовать <br><fcolor:1>/<correct_syntax>\"><click:suggest_command:\"/<command> \"><fcolor:2>┌<br>│ Использование →<br>│ <fcolor:1>/<correct_syntax><br><fcolor:2>└"
  prompt:
    message: "сообщение"
    hard: "сложно?"
    accept: "принять"
    turn: "включить"
    type: "тип"
    reason: "причина"
    category: "категория"
    id: "айди"
    time: "время"
    repeat_time: "время повторения"
    multiple_vote: "мульти голосование"
    player: "игрок"
    number: "число"
    color: "цвет"
    language: "язык"
    url: "ссылка"
    move: "ход"
    value: "значение"

exception

Messages for incorrect command usage

ParameterDescription
executionMessage if an error occurred during command execution
parse_unknownMessage if an unknown argument was entered
parse_booleanMessage if a boolean argument was expected
parse_numberMessage if a number argument was expected
parse_stringMessage if a string argument was expected
permissionMessage if the player does not have permission for this command
syntaxMessage if an incomplete command was entered

command syntax

prompt

Prompt formatting

ParameterDescription
messagePrompt for commands where a message is entered
hardPrompt for commands asking about difficulty
acceptPrompt for commands where something is accepted or declined
turnPrompt for commands where something is turned on or off
typePrompt for commands where a type is entered
reasonPrompt for commands where a reason is entered
categoryPrompt for commands where a category is selected
idPrompt for commands where an ID is entered
timePrompt for commands where time is entered
repeat_timePrompt for commands where repeat time is entered
multiple_votePrompt for commands asking about multiple voting
playerPrompt for commands where a player is entered
numberPrompt for commands where a number is entered
colorPrompt for commands where a color is entered
languagePrompt for commands where a language is entered
urlPrompt for commands where a link is entered
movePrompt for commands where a move is selected
valuePrompt for commands where a value is selected

⚙️ Setting

Path command.yml
enable: true
suggest_invisible_players: true

enable

Enables or disables the functionality of the module

suggest_invisible_players

If enabled, all players will be shown all other players. But if disabled, a player needs a specific permission to see other players under an invisibility potion in commands


🔐 Permissions

Path permission.yml → command
command:
  name: "flectonepulse.module.command"
  type: "TRUE"
  see_invisible_players_in_suggest:
    name: "flectonepulse.module.command.see_invisible_players_in_suggest"
    type: "OP"

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

see_invisible_players_in_suggest

Permission to see players under an invisibility potion in command prompts

Last updated on

Edit on GitHub

On this page

Authors of page