ConsoleSpy icon

ConsoleSpy -----

Allows you to monitor the execution of commands by players.




New Features

  • Advanced command history
    Use:
    Code (Text):
    /console history <player> <amount>
    /console history <player> since <yyyy-MM-dd> [amount]
  • Command search
    Search through logged commands directly in-game:
    Code (Text):
    /console search <query> [amount]
  • Personal spy message formats
    Each spy can now choose their own notification style:
    Code (Text):
    /console format <short|full|colored|risk>
    Formats: short, full, colored, risk
  • Expanded risk levels
    ConsoleSpy now supports: NORMAL, WARN, DANGER, CRITICAL
  • Regex-based command detection
    Commands can now be matched with regex patterns for more flexible filtering and classification.
  • Hidden alias detection
    Improved detection for namespaced and custom variants such as:
    Code (Text):
    minecraft:ban
    lp user
    lp group

Improvements

  • Added support for excluded worlds, so commands in worlds like spawn, events, or test can be ignored
  • Added support for ignored permissions/groups, for example excluding owner while still tracking moderator
  • Improved command normalization before logging and alerts
  • Improved tab completion for the new commands and arguments
  • Added persistent storage for each spy's selected message format
  • Added backward compatibility for older data.yml structures

Fixes

  • Fixed inconsistent permission usage: console.spy is now properly used for spy-related features
  • Fixed mismatched data.yml keys between stored resource files and Java code
  • Removed fragile packet-based message formatting logic
  • Improved large log handling: history and search no longer load the entire log file into memory

Technical Changes

  • Spy message formatting is now handled fully on the server side
  • History reading now works from the end of the log file for better performance
  • ProtocolLib is no longer required for spy message formatting

New Config Options

Code (Text):
excluded-worlds
ignored-permissions
ignore-command-patterns
risk-patterns.warn
risk-patterns.danger
risk-patterns.critical
spy.default-format
New Commands

Code (Text):
/console search <query> [amount]
/console format <short|full|colored|risk>
----------, Mar 2, 2026

Changes:
  • Switching to UUIDs instead of names
  • Optimizing the data retention system
  • Improved LogManager
  • Optimizing the cache of player names
  • Added setting: auto-save-interval in config.yml

Bug Fixed:
  • Fixed the operation of ignoring
  • Fixed hiding commands
  • Fixing memory leaks

Technical details:
  1. "Switching to UUIDs instead of names":
    Was: Storing data on player nicknames
    So: All data is stored by UUID
    Advantage: Nickname change protection, data stability
  2. "Optimizing the data retention system":
    Added: The dataChanged flag for tracking changes
    Added: Auto-save with a configurable interval
    Added: Asynchronous data saving
    Advantage: Reducing server load, preventing data loss
  3. "Improved LogManager":
    Added: Thread-safe date formatting via ThreadLocal
    Added: Asynchronous logging via ExecutorService
    Added: Correct log rotation
    Advantage: High performance, reliable logging
  4. "Optimizing the cache of player names":
    Added: Automatic cache update when a player logs in
    Added: Name search via OfflinePlayer for offline players
    Advantage: Quick access to names, work with offline players
----------, Aug 26, 2025

Added support for logging player commands.
Logs are saved to the specified file (configuration in config.yml).​
Customizable recording format with placeholders: %date%, %player%, %command%.
Log size limitation and automatic rotation when exceeded (max-size-mb, rotate).

New settings in config.yml:
logging.enabled: Enable/disable logging.
logging.path: The path to the logs file.
logging.format: The format for recording logs.
logging.max-size-mb: The maximum file size in megabytes.
logging.rotate: Enabling log rotation.
----------, Aug 11, 2025

Resource Information
Author:
----------
Total Downloads: 60
First Release: Aug 11, 2025
Last Update: Mar 2, 2026
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings