OpProtect
Takes the op from the player when exiting the server, to get the op again you need to write a command that will not light up in the chat, fully customizable messages and functionality
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
OpProtect
Oper is a security plugin for Minecraft servers designed to control and manage operator (OP) permissions.
Key features:
Automatic OP Revocation — when a player leaves the server, their operator rights are automatically removed.
Custom OP and DEOP commands — instead of the standard /op, the plugin provides a customizable command (default op: /opme, default deop: /deopme).
Permission System — using the custom command requires the special permission oper.getop.
Standard Command Blocking — the default /op command can be disabled, ensuring players only use the custom command.
Auto-ban for Unauthorized Attempts — if a player without proper permissions tries to gain OP, they are automatically banned with a clear explanation.
Fully Customizable Messages — all plugin messages can be easily edited in the configuration file without recompiling.
config:
```
Command that will grant OP rights to the player (without the /)
command: opme
Permission required to use the command
permission: oper.getop
Block standard /op command for players
true - players cannot use /op command even if they are OP
false - leaves everything as is
block-standard-op-command-for-players: true
No permission punishment
ban - ban player when trying to use command without permission
kick - kick player when trying to use command without permission
none - do nothing when trying to use command without permission
no-perm-punishment: ban
Customizable messages
messages: no_permission: "§cYou do not have permission to use this command!" player_banned: "§cBanned for unauthorized use of the OP command!" player_kicked: "§cKicked for unauthorized use of the OP command!" op_granted: "§aYou have been granted operator rights!" already_op: "§cYou are already an operator!" op_revoked_on_quit: "Operator rights were revoked when leaving the server" console_log_ban: "%player% was banned for attempting to use the OP command without permission!" console_log_kick: "%player% was kicked for attempting to use the OP command without permission!" console_log_op_granted: "%player% was granted operator rights using the command" ```