Home›Java›Mods›ForceOP
ModsJava

ForceOP

Java mod listed for Minecraft 1.21. Download on the author's site.

⬇ Download on Spigot
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/).
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.

ForceOP is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 601 times (via Spigot). Download it and open it directly in the game.

Explore more