Command Trace

High-performance, command logging plugin with structured player, operator, and console audit logs.

139

Command Trace

01

---

02

---

03

04


Directory Structure:

Spoiler

05


Commands:

Spoiler

06


022

Spoiler

023024


07


29

Spoiler

```

CommandTrace 2.0.0 Configuration

logging:

Master switch to enable or disable the plugin's logging functionality.

enabled: true

Should we log commands issued by the console?

log-console: true

Note: Operator and Player logging is mandatory and cannot be disabled.

log-rotation:

Rotation mode: DAILY or WEEKLY

DAILY -> folders named YYYY-MM-DD

WEEKLY -> folders named YYYY-WW (Week number)

mode: DAILY

Log Format

Available placeholders:

%date% - Time (HH:mm:ss)

%world% - World name (e.g., world, world_nether)

%cmd% - The full command executed

log-format: "[%date%] [%world%] %cmd%" console-format: "[%date%] [CONSOLE] %cmd%"

filters:

commands starting with these strings will be ignored

blacklist: - "/login" - "/register" - "/changepassword"

if not empty, ONLY commands starting with these strings will be logged

whitelist: []

```


ADS