Skip to content

Command /kick

Command to kick a player from the server command kick

🌍 Localization

📂 Path localizations → language.yml → command.kick

⚖️ Default

yml
kick:
  null-player: "<color:#ff7171><b>⁉</b> Игрок не найден"
  reasons:
    default: "Исключён модератором"
  server: "<color:#ff7171>🔒 <fcolor:2><moderator></fcolor> исключил <fcolor:2><player></fcolor> <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>"
yml
kick:
  null-player: "<color:#ff7171><b>⁉</b> This player does not exist"
  reasons:
    default: "Kicked by an operator"
  server: "<color:#ff7171>🔒 <fcolor:2><moderator></fcolor> was kicked player <fcolor:2><player></fcolor> <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>"

null-player

Message displayed if the entered player is not found

reasons

A list with keys and values, where the key is the word and the value is the specific reason

You can add your own reasons, for example:

yaml
random_kek: "Random reason"

Then, if you type /kick player random_kek, the reason will be "Random reason"

If no reason is specified, the default will be used.

server

Message displayed to everyone

person

Message displayed to the player

⚙️ Setting

📂 Path command.yml → kick

⚖️ Default

yml
kick:
  enable: true
  range: -2
  aliases:
    - "kick"
  destination:
    type: CHAT
  cooldown:
    enable: false
  sound:
    enable: false

enable

Enables or disables the functionality of the module

range

How far in blocks the message will be displayed

ValueExplanation
-2The message will be sent to all players on the server and on Proxy
-1The message will be sent to all players on the server
0The message will be sent only to the sender
Any number > 0The message will be sent to players whose distance from the sender is less than this number

NOTE

If the range is greater than 0, for example 100, the recipients must also be in the same dimension as the sender

aliases

List of aliases for using the command

ALIASES CAN BE ANYTHING

For example, newcommand, новаякоманда, ban, me, etc.

destination

Where the message will be sent

HOW TO CHANGE THE DESTINATION?

Replace the value type: here and restart FlectonePulse using the /flectonepulse reload command. Additional settings will appear automatically.

TypeExplanationRequires additional configuration?
ACTION_BARMessage above the player's inventoryYes
BOSS_BARMessage at the top of the screenYes
BRANDMessage in F3No
CHATMessage in the chatNo
TITLEFull-screen messageYes
SUBTITLEFull-screen message (bottom line)Yes
TAB_HEADERMessage in TAB (top)No
TAB_FOOTERMessage in TAB (bottom)No
TOASTMessage in the top-right corner (achievement)Yes
Configuration for ACTION_BAR
yaml
destination:
  type: ACTION_BAR
  times:
    stay: 60

times

FieldExplanation
stayTime in ticks to hold the message
Configuration for BOSS_BAR
yaml
destination:
  type: BOSS_BAR
  duration: 100
  health: 1.0
  overlay: PROGRESS
  color: BLUE
  play-boos-music: false
  create-world-fog: false
  darken-screen: false

duration

Duration of the message display

health

How full the boss bar will be

overlay

TypeExplanation
PROGRESSSingle line
NOTCHED_6Divided into 6 parts
NOTCHED_10Divided into 10 parts
NOTCHED_12Divided into 12 parts
NOTCHED_20Divided into 20 parts

color

Display color

Type
PINK
BLUE
RED
GREEN
YELLOW
PURPLE
WHITE

play-boos-music

Whether music will play with the message

create-world-fog

Whether fog will appear with the message

darken-screen

Whether the screen will darken with the message

Configuration for TITLE (or SUBTITLE)
yaml
destination:
  type: TITLE (or SUBTITLE)
  subtext: ""
  times:
    fade-in: 20
    stay: 60
    fade-out: 20

subtext

Message for the second part of the display. For example, if TITLE is selected, subtext will be displayed below it, and vice versa.

times

FieldExplanation
fade-inTime in ticks for the message to appear
stayTime in ticks to hold the message
fade-outTime in ticks for the message to disappear
Configuration for TOAST
yaml
destination:
  type: TOAST
  icon: "minecraft:diamond"
  style: TASK

icon

Achievement icon, which can be any Minecraft item (must specify the full path)

style

Achievement type (TASK regular, GOAL goal, CHALLENGE challenge)

WARNING

Not recommended for global messages

cooldown

Usage cooldown

FieldTypeExplanation
enablebooleanEnables the cooldown functionality
durationlongHow many ticks must pass between uses

HOW TO USE COOLDOWN?

Replace false with true and restart FlectonePulse using the /flectonepulse reload command. Additional cooldown settings will appear AFTER RELOADING.

The cooldown configuration will look like this:

yaml
cooldown:
  enable: true
  duration: 60

sound

Sound playback

FieldTypeExplanation
enablebooleanEnables sound functionality
volumefloatSound volume from 0 to 1.0
pitchfloatSound pitch from 0 to 1.0
categoryStringCategory from MASTER, MUSIC, RECORD, WEATHER, BLOCK, HOSTILE, NEUTRAL, PLAYER, AMBIENT, VOICE
nameStringSound name, for example minecraft:entity.llama.spit

HOW TO USE SOUND?

Replace false with true and restart FlectonePulse using the /flectonepulse reload command. Additional sound settings will appear AFTER RELOADING.

The sound configuration will look like this:

yaml
sound:
  enable: true
  volume: 1.0
  pitch: 1.0
  category: "HOSTILE"
  name: "minecraft:entity.llama.spit"

🔐 Permissions

📂 Path permission.yml → command.kick

⚖️ Default

yml
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

TypeExplanation
TRUEAvailable for any player
FALSEAvailable if granted separately (e.g., via LuckPerms)
OPAvailable for server operators
NOT_OPAvailable if granted separately (e.g., via LuckPerms)

cooldown-bypass

Permission to bypass the cooldown between uses

sound

Permission to use sound