Перейти к содержимому
Mineforgian

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

Загрузки
97
Подписчики
0
Обновлён
26 августа 2025 г.
Лицензия
All-Rights-Reserved

Опубликован 26 августа 2025 г.

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"

Ченджлог

1.1Релиз1.18, 1.19, 1.20 · 26 августа 2025 г.

Fix The player was not banned when the configuration had no-perm-punishment: ban (they were only kicked).

New Added a command to exit operator mode, which can also be customized in the configuration.

New configuration fields

# Command that will revoke OP rights from the player (without the /)
deop-command: deopme

# Permission required to use the deop command
deop-permission: oper.deop
1.0Релиз1.19, 1.20, 1.21 · 26 августа 2025 г.

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"

Комментарии

Загружаем…