Flectone Logo FlectonePulse

/spy

Command for tracking player actions

command spy


🌍 Localization

Path localizations → language.yml → command.spy
spy:
  format_true: "<fcolor:1>[*] You <color:#98FB98>enabled</color:#98FB98> spy mode"
  format_false: "<fcolor:1>[*] You <color:#F08080>disabled</color:#F08080> spy mode"
  format_log: "<fcolor:1>[*] <display_name> <color:#98FB98><action> <fcolor:2>→ <fcolor:3><message>"
  actions:
    tell: "private message"
    msg: "private message"
    w: "private message"
    message: "private message"
    send: "private message"
    m: "private message"
    anon: "anonymous message"
    anvil: "item name"
    book: "book text"
    sign: "sign text"
    local: "local chat"
spy:
  format_true: "<fcolor:1>[*] Ты <color:#98FB98>включил</color:#98FB98> слежку"
  format_false: "<fcolor:1>[*] Ты <color:#F08080>выключил</color:#F08080> слежку"
  format_log: "<fcolor:1>[*] <display_name> <color:#98FB98><action> <fcolor:2>→ <fcolor:3><message>"
  actions:
    tell: "личное сообщение"
    msg: "личное сообщение"
    w: "личное сообщение"
    message: "личное сообщение"
    send: "личное сообщение"
    m: "личное сообщение"
    anon: "анонимное сообщение"
    anvil: "название предмета"
    book: "текст книги"
    sign: "текст таблички"
    local: "локальный чат"

format_true

Message when spying is enabled

format_false

Message when spying is disabled

format_log

Format of the message that will be sent when an action is tracked

actions

A list of actions with their localization for format_log. If an action does not have localization, the action name itself will be used as its localization


⚙️ Setting

Path command.yml → spy
spy:
  enable: true
  range: "PROXY"
  aliases:
  - "spy"
  categories:
    command:
    - "tell"
    - "msg"
    - "w"
    - "message"
    - "send"
    - "m"
    - "anon"
    action:
    - "anvil"
    - "book"
    - "sign"
    - "local"
  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 be sent only to players who have the permission flectonepulse.world.type.dimension_name
WORLD_NAMEThe message will be sent only 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 the Proxy
SERVERThe message will be sent to all players on the server
PLAYERThe message will be sent only to the sender
any number greater than 0, for example range: 100The 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

ALIASES CAN BE ANYTHING

For example newcommand, newcommand_ru, ban, me etc.

categories

List of action categories that are being tracked

destination

Where the message will be sent

TypeExplanationRequires additional configuration?
ACTION_BARMessage above the player's inventoryYes
CHATMessage to chatNo
TITLEFullscreen messageYes
SUBTITLEFullscreen message (top line)Yes
TOASTNotification in the bottom right cornerYes

cooldown

Usage delay

sound

Sound playback


🔐 Permissions

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