COWMODSКаталог модов

Temporary OP

Grant players operator for a temporary amount of time.

Автор: RareHyperIon4243обновлён 31 авг. 2024 г.

Описание

Introduction

Temporary OP is a free and simple Minecraft plugin that allows server administrators to temporarily grant operator (OP) status to players. This plugin helps maintain server security by automatically revoking temporary OP privileges after a specified duration.

Features

  • Temporary OP: Grant the operator status to players for a limited time using easy commands.
  • Persistence Across Restart: Automatically saves the list of temporarily OP'd players to ensure they retain their status after server restarts or shutdown.
  • Restricted Permissions: Prevents temporarily OP'd players from granting, revoking, or reassigning OP status to others, closing potential loopholes in server management.

Commands

  • /tempop <player> [10s / 1d / 1mo]: Temporarily grants OP status to the specified player for a defined duration. If no duration is specified, the plugin uses the default duration configured in config.yml.
    • <player>: The username of the player to be granted OP.
    • [10s / 1d / 1mo]: (Optional) The duration for which OP is granted. Accepts formats like seconds (s), minutes (m), hours (h), days (d), weeks (w), and months (mo).

Permissions

To manage the use of the /tempop command, assign the following permission nodes:

  • tempop.use: Allows the player to use the /tempop command to grant temporary operator status to others.

Notes

  • The plugin does not interfere with permanent OP assignments made through the servers standard OP command.

Configuration

config.yml
# The default duration for temporarily granting operator status if no duration is specified.
default-duration: "5m"

# Whether the console is allowed to temporarily grant operator status to players.
console-allowed: true

message:
  # Displayed when the command is attempted from the console with "console-allowed" set to false.
  console: "&cYou must be a player to use this command."

  # Message shown when a player tries to run the command without the necessary permissions to do so.
  permission: "&cYou do not have permission to run this command."

  # Message sent when a temporary operator attempts to grant operator status to others.
  op: "&cTemporary operators aren't permitted to op others."

  # Message sent when a temporary operator attempts to remove operator status from others.
  deop: "&cTemporary operators aren't permitted to deop others."

  # Message sent when you try to temporary op someone which already has operator.
  already-opped: "&cThis person already has operator."

  # Displayed when a player specified in the command cannot be found.
  player: "&cThere is no player called \"%s\"."

  # Confirmation message sent to the player when successfully granting temporary operator status.
  give: "&aSuccessfully gave {player} operator temporarily for {duration}."

  # Displayed when a player is granted temporary operator status.
  given: "&aYou were temporarily given operator for {duration} by {player}."

  # Notification sent to a player when their temporary operator status expires.
  expire: "&cYour OP status has expired."

Support

For any issues, questions, or suggestions, please create an issue on GitHub.

Последние версии

Все версии →
release

Temporary OP 1.0.0

1.0.0
31 авг. 2024 г.424Minecraft: 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bukkit, paper, spigot
Скачать