Server security shouldn't be complicated. OPGuard does exactly one thing: it takes complete control over who gets OP (Operator) status on your Minecraft server.
If a rogue admin, a hacked client, or a malicious plugin tries to give someone OP privileges without your explicit permission, OPGuard steps in, blocks it instantly, and sends you a direct alert on Discord.
Here is exactly how OPGuard protects your server under the hood.
Standard Minecraft allows anyone with OP to give OP to someone else. OPGuard changes this. Only players explicitly added to the OPGuard database can hold operator status. If a hacker somehow forces themselves to be OP, the plugin strips their permissions instantly and punishes them based on your settings (Kick/Ban).
You shouldn't have to be online to know your server is under attack. OPGuard connects directly to your Discord server. It sends clean, color-coded alerts the moment someone is whitelisted, removed, or if a security breach is blocked.
Don't let the plugin ruin your server's aesthetic. Every single message, prefix, and color—both in-game and on Discord—can be edited in the configuration files to match your exact server theme.
OPGuard.jar into your plugins folder.plugins/OPGuard/config.yml and add your Discord Webhook URL./og add <YourUsername> to whitelist yourself.You only need one permission node for your trusted admins: opguard.admin
| Command | Description |
|---|---|
/og add <player> | Safely adds a player to the whitelist and grants them OP. |
/og remove <player> | Revokes OP status and removes them from the secure list. |
/og reload | Reloads all configs without creating memory leaks or security gaps. |
Note: Vanilla commands like /op and /deop are intentionally blocked by default to force the use of the OPGuard system.
For more details or support, visit our Discord Server.

OPGuard blocks unauthorized OP access and monitors key commands to secure your Minecraft server.