Commands
Category responsible for configuring all commands
🌍 Localization
Pathlocalizations → 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
| Parameter | Description |
|---|---|
execution | Message if an error occurred during command execution |
parse_unknown | Message if an unknown argument was entered |
parse_boolean | Message if a boolean argument was expected |
parse_number | Message if a number argument was expected |
parse_string | Message if a string argument was expected |
permission | Message if the player does not have permission for this command |
syntax | Message if an incomplete command was entered |

prompt
Prompt formatting
| Parameter | Description |
|---|---|
message | Prompt for commands where a message is entered |
hard | Prompt for commands asking about difficulty |
accept | Prompt for commands where something is accepted or declined |
turn | Prompt for commands where something is turned 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 asking about multiple voting |
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 link is entered |
move | Prompt for commands where a move is selected |
value | Prompt for commands where a value is selected |
⚙️ Setting
Pathcommand.yml
enable: true
suggest_invisible_players: trueenable
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
Pathpermission.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
| 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 |
see_invisible_players_in_suggest
Permission to see players under an invisibility potion in command prompts
Last updated on
Edit on GitHub
FlectonePulse