Skip to content

/unwarn

Command to remove a warning from a player command unwarn

🌍 Localization

Path localizations → locale.yml → command.unwarn

Default

yml
unwarn:
  null_player: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Игрок не найден"
  not_warned: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Игрок не имеет предупреждений"
  lower_weight_group: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Ты не можешь снять предупреждение с игрока с такими же или большими правами"
  format: "<color:#98FB98>🔓 <fcolor:2><moderator><color:#98FB98> снял предупреждение с игрока <fcolor:2><player>"
yml
unwarn:
  null_player: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>This player does not exist"
  not_warned: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>This player is not warned"
  lower_weight_group: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>You cannot unwarn a player with equal or higher permissions"
  format: "<color:#98FB98>🔓 <fcolor:2><moderator> <color:#98FB98>unwarned the player <fcolor:2><player>"

null_player

Message when the player cannot be found

not_warned

Message when the player does not have a warning

lower_weight_group

Message if the command is executed by a player with a group weight lower than the player being moderated

format

Message when the warning is removed

⚙️ Setting

Path command.yml → unwarn

Default

yml
unwarn:
  enable: true
  check_group_weight: true
  range: "PROXY"
  aliases:
  - "unwarn"
  destination:
    type: "CHAT"
  cooldown:
    enable: false
  sound:
    enable: false

enable

Enables or disables the functionality of the module

check_group_weight

Whether to check players' group weights. If the player being moderated has a higher role than the command sender, the command will not execute and the lower_weight_group error will be shown

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

see_through

Enables text transparency against water and clouds (so you cannot see through water)

- 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.unwarn

Default

yml
unwarn:
  name: "flectonepulse.module.command.unwarn"
  type: "OP"
  cooldown_bypass:
    name: "flectonepulse.module.command.unwarn.cooldown.bypass"
    type: "OP"
  sound:
    name: "flectonepulse.module.command.unwarn.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