/kick
Command to kick a player from the server

🌍 Localization
Pathlocalizations → language.yml → command.kick
kick:
null_player: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>This player does not exist"
lower_weight_group: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>You cannot kick a player with equal or higher permissions"
reasons:
default: "Kicked by an operator"
server: "<color:#ff7171>🔒 <fcolor:2><moderator> <fcolor:1>kicked <fcolor:2><player> <fcolor:1><hover:show_text:\"<fcolor:1>ID: <id><br>Date: <date><br>Moderator: <moderator><br>Reason: <reason>\">[INFO]</hover>"
person: "<color:#ff7171>🔒 KICK 🔒 <fcolor:1><br><br>ID: <id><br><br>Date: <date><br><br>Moderator: <moderator><br><br>Reason: <reason>"kick:
null_player: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Игрок не найден"
lower_weight_group: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Ты не можешь кикнуть игрока с такими же или большими правами"
reasons:
default: "Исключён модератором"
server: "<color:#ff7171>🔒 <fcolor:2><moderator><fcolor:1> исключил <fcolor:2><player><fcolor:1> <fcolor:1><hover:show_text:\"<fcolor:1>Айди: <id><br>Дата: <date><br>Модератор: <moderator><br>Причина: <reason>\">[ПОДРОБНЕЕ]</hover>"
person: "<color:#ff7171>🔒 КИК 🔒 <fcolor:1><br><br>Айди: <id><br><br>Дата: <date><br><br>Модератор: <moderator><br><br>Причина: <reason>"null_player
Message if the entered player is not found
lower_weight_group
Message if the command is executed by a player with a group lower than the player being moderated
reasons
A list with keys and values, where the key is a word and the value is a specific reason
random_kek: "Random reason"Then if I type /kick player random_kek, the reason will be Random reason
If no reason is specified, default will be used
server
Message for everyone
person
Message for the player
⚙️ Setting
Pathcommand.yml → kick
kick:
enable: true
check_group_weight: true
range: "PROXY"
aliases:
- "kick"
destination:
type: "CHAT"
cooldown:
enable: false
sound:
enable: falseenable
Enables or disables the functionality of the module
check_group_weight
Whether player groups will be checked. If the player being moderated has a higher role than the command sender, the command will not execute and a lower_weight_group error will occur
range
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 |
aliases
A list of aliases for using the command
For example newcommand, newcommand_ru, ban, me etc.
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 |
cooldown
Usage delay
sound
Sound playback
🔐 Permissions
Pathpermission.yml → command.kick
kick:
name: "flectonepulse.module.command.kick"
type: "OP"
cooldown_bypass:
name: "flectonepulse.module.command.kick.cooldown.bypass"
type: "OP"
sound:
name: "flectonepulse.module.command.kick.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 |
cooldown_bypass
Permission to ignore the cooldown between uses
sound
Permission to use the sound
Last updated on
Edit on GitHub
FlectonePulse