Rust uMod/Oxide plugin that logs player chat /commands to a data file with filters, staff-only mode, and automatic wipe cleanup.
It supports:
- Logging only players, only staff, or everyone
- Ignoring spammy/irrelevant commands (e.g.
/mymini) - Automatically wiping the log file on server wipes
- Low performance impact and simple configuration
- ✅ Logs any chat message starting with
/(e.g./vanish,/tpm,/kit) - ✅ Flexible log mode:
PlayersOnly– only non-admin playersAdminsOnly– only staff (OwnerID / ModeratorID inusers.cfg)Everyone– both players and staff
- ✅ Configurable ignored commands so spammy commands don’t clutter logs
- ✅ Option to wipe logs automatically on server wipe (
OnNewSave) - ✅ Stores logs in a structured JSON data file under
oxide/data - ✅ Designed to be safe and very low overhead
- Rust server using uMod/Oxide
- .cs plugin support (standard for Oxide/uMod)
- Download or copy
CommandChatLogger.cs. - Place the file in your server’s: oxide/plugins/
Type oxide.reload CommandChatLogger
oxide/config/CommandChatLogger.json
oxide/data/CommandChatLogger.json
Hooks into OnPlayerChat, which is common and lightweight.
- Only processes messages starting with /.
- Ignores non-players, console, and bots.
- Command logging involves:
- A few string operations and list lookups.
- Writing the data list back to a JSON data file.
- The plugin is designed to be very low overhead for typical server use.
- Log data can be automatically wiped each server wipe to prevent unbounded growth.