/spy
Command for tracking player actions

Localization
Pathlocalizations → language.yml → command.spy
spy:
format_true: "<fcolor:1><sprite_or:👁:gui:icon/search>You <color:#98FB98>enabled</color:#98FB98> spy mode"
format_false: "<fcolor:1><sprite_or:👁:gui:icon/search>You <color:#F08080>disabled</color:#F08080> spy mode"
format_log: "<fcolor:1><sprite_or:👁:gui:icon/search><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"
r: "private message"
reply: "private message"
anon: "anonymous message"
anvil: "item name"
book: "book text"
sign: "sign text"
local: "local chat"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
Pathcommand.yml → spy
spy:
enable: true
check_group_weight: false
range: "PROXY"
aliases:
- "spy"
categories:
command:
- "tell"
- "msg"
- "w"
- "message"
- "send"
- "m"
- "anon"
- "r"
- "reply"
action:
- "anvil"
- "book"
- "sign"
- "local"
destination:
type: "CHAT"
cooldown:
enable: false
sound:
enable: falseenable
Enables or disables the functionality of the module
check_group_weight
Whether player groups will be checked. If a player (for example a moderator) who monitors actions has a group lower than another player (for example an admin) who performed the action, then he (the moderator) will not see him (the admin)
range
How far in blocks the message will be displayed
| Value | Explanation |
|---|---|
PERMISSION (or any value that contains ., for example range: "custom.admin" | The message will be sent only to players who have the specified permission custom.admin, if the permission is not specified, then the permission flectonepulse.permission. + module name will be checked. For example, if range: "PERMISSION" is specified in the chat module, then flectonepulse.permission.message_chat will be checked |
WORLD_TYPE | The message will be sent only to players who have the permission flectonepulse.world.type.dimension_name |
WORLD_NAME | The message will be sent only to players who have the permission flectonepulse.world.name.world_folder_name |
PROXY | The message will be sent to all players on the server and on Proxy |
SERVER | The message will be sent to all players on the server |
PLAYER | The message will be sent only to the sender |
any number that is greater than 0, for example range: 100 | The message will be sent to players whose distance between them and the sender is less than this number. Also players must 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
| Category | Explanation |
|---|---|
command | The list of command names that are being spied on, for example tell or anon |
action | The list of other actions that are being spied on: anvil, book, sign and chat names, for example local (chat for proxy) |
The action name can be translated in the localization under actions, otherwise it will be shown exactly as written here
destination
Where the message will be sent
| Type | Explanation | Requires additional configuration? |
|---|---|---|
ACTION_BAR | Message above the player's inventory | Yes |
BOSS_BAR | Message at the top of the screen | Yes |
BRAND | Message in F3 | No |
CHAT | Message in chat | No |
TEXT_SCREEN | Message anywhere on the screen | Yes |
TITLE | Full-screen message | Yes |
SUBTITLE | Full-screen message (bottom line) | Yes |
TAB_HEADER | Message in TAB (top) | No |
TAB_FOOTER | Message in TAB (bottom) | No |
TOAST | Message in the top right corner (achievement) | Yes |
cooldown
Usage delay
sound
Sound playback
Permissions
Pathpermission.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
| Type | Explanation |
|---|---|
TRUE | Available to any player |
FALSE | Available to no one, must be granted separately (e.g., using LuckPerms) |
OP | Available to server operators |
NOT_OP | Available to NON-operators of the server |
cooldown_bypass
Permission to ignore the cooldown between uses
sound
Permission to use the sound