Skip to content

/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: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>"
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: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>"

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: "PROXY"
  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
WORLD_TYPEThe message will only be sent to players who have the permission flectonepulse.world.type.dimension_name
WORLD_NAMEThe message will only be sent to players who have the permission flectonepulse.world.name.world_folder_name
PROXYThe message will be sent to all players on the server and on Proxy
SERVERThe message will be sent to all players on the server
PLAYERThe message will only be sent to the sender
Any number greater than 0 (e.g., range: 100)The message will be sent to players whose distance from the sender is less than this number. Players must also be in the same world 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
TypeExplanationRequires additional setup?
ACTION_BARMessage above the player's inventoryYes
BOSS_BARMessage at the top of the screenYes
BRANDMessage in the F3 menuNo
CHATMessage in the chatNo
TEXT_SCREENMessage anywhere on the screenYes
TITLEFull-screen messageYes
SUBTITLEFull-screen message (bottom line)Yes
TAB_HEADERMessage in the TAB list (top)No
TAB_FOOTERMessage in the TAB list (bottom)No
TOASTMessage in the top right corner (achievement)Yes

To change this, replace the value type: here and restart FlectonePulse using the command /flectonepulse reload. Additional settings will appear AUTOMATICALLY.


ACTION_BAR

action bar

yaml
destination:
  type: "ACTION_BAR"
  times:
    stay: 60

- times

FieldExplanation
stayTime in ticks to keep the message visible

BOSS_BAR

action 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 for displaying the message.

- health

How full the boss bar will be.

- overlay

TypeExplanation
PROGRESSA single 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 to play boss music with the message

- create_world_fog

Whether to create world fog with the message

- darken_screen

Whether to darken the screen with the message


TEXT_SCREEN

text screen

WARNING

This only works on version 1.19.4 and above. On older versions, CHAT will be used instead

yaml
destination:
  type: "TEXT_SCREEN"
  background: "#00000040"
  has_shadow: false
  animation_time: 2
  live_time: 10
  width: 100000
  scale: 0.5
  offset_x: 0.0
  offset_y: -0.3
  offset_z: -0.8

- background

The background color of the message, which includes transparency (alpha channel). Website for choosing a color

- has_shadow

Enables text shadow.

- animation_time

Time in seconds for the appearance and disappearance animations. If set to 0 or less, there will be no animation

- live_time

Time in seconds for the text to be displayed. If set to 0 or less, the text won't appear

- width

Text length per line in pixels. If the text is longer, it will wrap to the next line

- scale

Text size. If negative, the text will be flipped

- offset_x

Offset along the X coordinate (right +, left -) relative to the center of the player's screen

- offset_y

Offset along the Y coordinate (up +, down -) relative to the center of the player's screen

- offset_z

Offset along the Z coordinate (forward +, backward -) relative to the center of the player's screen


TITLE (or SUBTITLE)

title

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 shown below it, and vice versa

- times

FieldExplanation
fade_inTime in ticks for the message to appear
stayTime in ticks to keep the message visible
fade_outTime in ticks for the message to disappear

TOAST

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)

cooldown

Usage cooldown

How to use?

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

The cooldown configuration will look like this:

yaml
cooldown:
  enable: true
  duration: 60
FieldTypeExplanation
enablebooleanEnables the cooldown functionality
durationlongHow many ticks must pass between uses

sound

Sound playback

How to use?

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

yaml
sound:
  enable: true
  volume: 1.0
  pitch: 1.0
  category: "HOSTILE"
  name: "minecraft:entity.llama.spit"
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

🔐 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 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

cooldown_bypass

Permission to bypass the cooldown between uses

sound

Permission to use sound