
OPGuard
OPGuard blocks unauthorized OP access and monitors key commands to secure your Minecraft server.
👋 What is OPGuard?
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.
✨ Feature Deep Dive
Here is exactly how OPGuard protects your server under the hood.
🛡️ Iron-Clad OP Whitelist
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).
📱 Real-Time Discord Webhooks
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.
🎨 100% Customizable Branding
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.
📚 Documentation
Quick Setup
- Drop
OPGuard.jarinto yourpluginsfolder. - Restart your server.
- Open
plugins/OPGuard/config.ymland add your Discord Webhook URL. - From your server console, type
/og add <YourUsername>to whitelist yourself. - You are now fully secured.
Commands & Permissions
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 suggestions and bug reports, join our Discord server.
For more details or support, visit our Discord Server.
