Skip to content

Commands

Category responsible for configuring all commands

🌍 Localization

📂 Path localizations → язык.yml → command

⚖️ Default

yml
command:
  exception:
    execution: "<color:#ff7171><b>⁉</b> Произошла ошибка при выполнении команды <br><color:#ff7171><b>⁉</b> <exception>"
    parse-unknown: "<color:#ff7171><b>⁉</b> Неизвестная ошибка аргумента в <br><input>"
    parse-boolean: "<color:#ff7171><b>⁉</b> Ожидался boolean аргумент, но ты ввёл <br><input>"
    parse-number: "<color:#ff7171><b>⁉</b> Ожидался числовой аргумент, но ты ввёл <br><input>"
    parse-string: "<color:#ff7171><b>⁉</b> Ожидался строковый аргумент, но ты ввёл <br><input>"
    permission: "<color:#ff7171><b>⁉</b> У тебя нет прав на использование этой команды"
    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: "type"
    reason: "причина"
    category: "категория"
    id: "айди"
    time: "время"
    repeat-time: "время повторения"
    multiple-vote: "мульти голосование"
    player: "игрок"
    number: "число"
    color: "цвет"
    language: "язык"
    url: "ссылка"
    move: "ход"
yml
command:
  exception:
    execution: "<color:#ff7171><b>⁉</b> An error occurred while executing the command <br><color:#ff7171><b>⁉</b> <exception>"
    parse-unknown: "<color:#ff7171><b>⁉</b> Unknown argument error while parsing <br><input>"
    parse-boolean: "<color:#ff7171><b>⁉</b> A boolean argument was expected, but you entered <br><input>"
    parse-number: "<color:#ff7171><b>⁉</b> A number argument was expected, but you entered <br><input>"
    parse-string: "<color:#ff7171><b>⁉</b> A string argument was expected, but you entered <br><input>"
    permission: "<color:#ff7171><b>⁉</b> 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"

exception

Messages for incorrect command usage

execution

Message if an error occurs during command execution

parse-unknown

Message if an unknown argument is entered

parse-boolean

Message if a boolean argument is expected

parse-number

Message if a number argument is expected

parse-string

Message if a string argument is expected

permission

Message if the player doesn't have permission for this command

syntax

Message if an incomplete command is entered command syntax

prompt

Prompt formatting

message

Prompt for commands where a message is entered

hard

Prompt for commands where difficulty is asked

accept

Prompt for commands where something is accepted or rejected

turn

Prompt for commands where something is toggled on or off

type

Prompt for commands where a type is entered

reason

Prompt for commands where a reason is entered

category

Prompt for commands where a category is selected

id

Prompt for commands where an ID is entered

time

Prompt for commands where time is entered

repeat-time

Prompt for commands where repeat time is entered

multiple-vote

Prompt for commands where multiple voting is asked

player

Prompt for commands where a player is entered

number

Prompt for commands where a number is entered

color

Prompt for commands where a color is entered

language

Prompt for commands where a language is entered

url

Prompt for commands where a URL is entered

move

Prompt for commands where a move is selected

⚙️ Setting

📂 Path command.yml

⚖️ Default

yml
enable: true

enable

Enables or disables the functionality of the module

🔐 Permissions

📂 Path permission.yml → command

⚖️ Default

yml
command:
  name: "flectonepulse.module.command"
  type: TRUE

name

Permission name

type

Permission type

TypeExplanation
TRUEAvailable to any player
FALSENot available to anyone, must be granted separately (e.g., using LuckPerms)
OPAvailable to server operators
NOT_OPAvailable to not server operators