Flectone Logo FlectonePulse

/warnlist

Command to view the list of warnings

command warnlist


🌍 Localization

Path localizations → language.yml → command.warnlist
warnlist:
  empty: "<color:#98FB98>No warns found"
  null_page: "<color:#ff7171>This page doesn't exist"
  null_player: "<color:#ff7171>This player does not exist"
  global:
    header: "<fcolor:2>| Warns: <count> <br>"
    line: "<color:#ff7171>[X] <target> <fcolor:1>Reason: <reason>"
    footer: "<br><fcolor:2>| <click:run_command:\"<command> <prev_page>\">[<]</click> <fcolor:1>Page: <current_page>/<last_page> <fcolor:2><click:run_command:\"<command> <next_page>\">[>]"
  player:
    header: "<fcolor:2>| All warns: <count> <br>"
    line: "<color:#ff7171>[X] <target> <fcolor:1>Reason: <reason>"
    footer: "<br><fcolor:2>| <click:run_command:\"<command> <prev_page>\">[<]</click> <fcolor:1>Page: <current_page>/<last_page> <fcolor:2><click:run_command:\"<command> <next_page>\">[>]"
warnlist:
  empty: "<color:#98FB98>Предупреждения не найдены"
  null_page: "<color:#ff7171>Страница не найдена"
  null_player: "<color:#ff7171>Игрок не найден"
  global:
    header: "<fcolor:2>| Предупреждения: <count> <br>"
    line: "<color:#ff7171>[X] <target> <fcolor:1>Причина: <reason>"
    footer: "<br><fcolor:2>| <click:run_command:\"<command> <prev_page>\">[<]</click> <fcolor:1>Страница: <current_page>/<last_page> <fcolor:2><click:run_command:\"<command> <next_page>\">[>]"
  player:
    header: "<fcolor:2>| Все предупреждения: <count> <br>"
    line: "<color:#ff7171>[X] <target> <fcolor:1>Причина: <reason>"
    footer: "<br><fcolor:2>| <click:run_command:\"<command> <prev_page>\">[<]</click> <fcolor:1>Страница: <current_page>/<last_page> <fcolor:2><click:run_command:\"<command> <next_page>\">[>]"

empty

Message if the warning list is empty

null_page

Message if the entered page does not exist

null_player

Message if the entered player is not found

global

player


⚙️ Setting

Path command.yml → warnlist
warnlist:
  enable: true
  per_page: 4
  aliases:
  - "warnlist"
  cooldown:
    enable: false
  sound:
    enable: false

enable

Enables or disables the functionality of the module

per_page

The number of components per page

aliases

A list of aliases for using the command

ALIASES CAN BE ANYTHING

For example newcommand, newcommand_ru, ban, me etc.

cooldown

Usage delay

sound

Sound playback


🔐 Permissions

Path permission.yml → command.warnlist
warnlist:
  name: "flectonepulse.module.command.warnlist"
  type: "OP"
  cooldown_bypass:
    name: "flectonepulse.module.command.warnlist.cooldown.bypass"
    type: "OP"
  sound:
    name: "flectonepulse.module.command.warnlist.sound"
    type: "TRUE"

name

Permission name

type

Permission type

TypeExplanation
TRUEAvailable to any player
FALSEAvailable to no one, must be granted separately (e.g., using LuckPerms)
OPAvailable to server operators
NOT_OPAvailable 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

On this page

Authors of page