1.0
Compatibility
Changes
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 Command — instead of the standard /op, the plugin provides a customizable command (default: /opme). 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"
Supplementary resources
| File | Type | Size | |
|---|---|---|---|
| source.zip | Unknown | 64.25 KiB |
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:Uq5mfsNa:grdVwgel"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:Uq5mfsNa:grdVwgel"
}

