![[IMG]](//proxy.spigotmc.org/fb1a686649578b32f7768c8b6157c58ae799153d/68747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f6d2f6d656d617865642f436f6d6d616e645370792f726566732f68656164732f6d61696e2f6173736574732f6c6f676f2e706e67)
About
This is a simple and free plugin that adds a command tracking system to your Spigot server.
This feature is mainly intended for server-staff: helpers, moderators and administrators.
Granting access to regular players or donators is not recommended.
To use the plugin correctly, you need to have a permission management plugin such as LuckPerms.
Commands
The plugin introduces the following commands:
- /cspy [player] — Enables or disables your/other command tracking mode (similar to /spy in server-core plugins).
- /cspycheck [player] — Checks whether you or another player is currently in tracking mode.
- /chistory <player> — Displays the recent commands of the specified player (only if command logging is enabled).
- /cspyreload — Reloads the plugin's configuration (admin-only).
Configuration
The plugin provides two standard configuration files:
- config.yml — Mainly used to define permission-related options and customize command behavior.
- lang.yml — Contains all plugin messages, allowing full customization of the language and formatting.
Both files are generated automatically on first launch and can be edited to better fit your server's setup.
Usage
When a player without the bypass permission executes a command,
all players with command spying enabled will see a message showing the command and the player who used it.
This works exactly like the server console’s command logging, but inside the game.
Command Logging
This plugin includes a feature called command logging (turned off by default),
which records commands entered by players who do not have the bypass permission.
All logged commands are stored in a special SQLite database.
To view a player's recent command history, use the command:
/chistory <player>.
Hooks
The plugin supports
PlaceholderAPI in the
lang.yml file.