Sueta
FO

ForceOP

1.0

Auditing the operator on your server!

·Plugin

ForceOP Protects operator status by migrating existing ops to config.json, clearing the server op list, and continuously auditing for unauthorized ops.

Features
First-run migration of current ops into config, then clears server OP list.
Periodic async audits: checks ops.json and online/offline ops, deops unexpected ops, runs configured commands.

Auto-start audits only when players are online; stops when empty.
/fop sync to refresh ops from ops.json; /fop version to view version.
Configurable audit interval, punishment commands, and AuditLogOutput toggle (silent or verbose).

Commands & Permissions
/fop version — ForceOP.command.version
/fop sync — ForceOP.command.sync
Config (config.json)
enabled: Master switch.
ops: Allowed operators list.
isFirst: Internal first-run flag.
intervalSeconds: Audit interval (seconds, min 1).
commands: Console commands on unauthorized op ({player} placeholder).
AuditLogOutput: true logs audit results; false runs silently.

Usage
Drop the plugin into plugins/.
Start the server once to generate config.json and migrate ops.
Edit plugins/ForceOP/config.json as needed.
Use /fop sync to resync ops from ops.json without losing other settings.
Build
Gradle: ./gradlew build (JAR in build/libs/).

Similar projects

Plugin →