Home›Java›Mods›StaffLens
StaffLens
ModsJava

StaffLens

Java mod listed for Minecraft 1.21–26.x. Downloads from the MC Java Mods app on Android.

by Erotoro · on Modrinth

Staff audit & anti-abuse logging for Paper, Spigot & Folia. Logs every staff moderation and admin action to SQLite or MySQL, detects abuse (self-OP, mass…

⬇ Download on Modrinth

StaffLens — Staff Audit, Logging & Anti-Abuse

StaffLens is a lightweight yet powerful staff audit and anti-abuse plugin for Paper, Spigot and Folia servers, supporting Minecraft 1.21 – 26.1.

It logs every staff moderation and administration action, stores them in SQLite or MySQL, and gives admins instant access in-game. Beyond passive staff command logging, StaffLens actively detects suspicious behaviour and protects the audit log from tampering — so you always know exactly what your staff is doing.

Catch staff abuse, keep a verifiable audit trail, and review moderation history in seconds.

Support StaffLens on Ko-fi

✨ Key Features


🔌 Integrations

Works out of the box with the most popular moderation and admin plugins:

Every integration can be toggled in the config.


🧾 Logged Actions

ban, unban, mute, unmute, kick, warn, grant/remove OP, permission & group changes, teleports, fly, god, vanish, disguise, socialspy, inventory & ender chest inspection, item giving, inventory clearing, heal, feed, repair, jail, unjail, nick, sudo, broadcast, lookup commands (seen, history), gamemode changes, and more — see ActionType for the full list.


⚙️ Requirements


📥 Installation

  1. Download the latest StaffLens JAR from Modrinth.
  2. Drop it into your plugins folder.
  3. Start the server.
  4. Edit plugins/StaffLens/config.yml.
  5. Run /sl reload if needed.

🗄️ Database

Supports SQLite (default, zero setup) and MySQL. Tables, indexes and column migrations are created automatically — upgrading from older versions is safe.

For MySQL, set database.type: mysql and the database.mysql.* values in config.yml.


💻 Commands

Main command: /stafflens (alias /sl)

Command Description
/sl log <player> [page] [filters] actions performed by a staff member
/sl who <player> [page] [filters] actions performed against a target
/sl search <text> [filters] search the log
/sl today [filters] actions performed today
/sl stats <player> [time:..] summary of a staff member's actions
/sl export <player> export history to a file
/sl verify check log integrity (hash chain)
/sl reload reload configuration and integrations

Filters (combine freely): action:BAN, time:7d, target:Steve, staff:Alex, flagged Example: /sl log Alex action:op_give time:30d


🔑 Permissions

Permission Description
stafflens.use view logs and statistics
stafflens.export export logs
stafflens.admin /sl reload and /sl verify
stafflens.notify notifications for critical actions
stafflens.alerts alerts for detected anomalies

All permissions default to OP.


🛡️ Anomaly Detection & Log Integrity

StaffLens turns raw logs into active oversight:


🌍 Localization

Locale files in the locale folder: en.yml, ru.yml, ua.yml. Choose the language with the locale option.


📊 Metrics

StaffLens uses bStats for anonymous usage statistics. Opt out with metrics: false in config.yml or globally in plugins/bStats/config.yml.


Tags: staff logger, staff audit, anti-abuse, moderation logs, command logger, admin monitor, staff activity, audit trail, Paper, Folia

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more