Sueta

Commandable

v1.1

Empower your Minecraft server with dynamic, time-bound commands and customizable player abilities!

·Plugin
  1. v1.1latestUpdate v1.1: Cooldown SystemJun 3, 2024
    New Features: · Cooldown System: Added the ability to set cooldown durations for each command, preventing players from using the same command repeatedly within a short period. · Cooldown Notification: Players are notified with the remaining cooldown time in a user-friendly format (hours, minutes, seconds) if they attempt to use a command before the cooldown ends. · Cooldown Expiry Notification: Players receive a notification when the cooldown period ends, indicating they can use the command again. · Console Command Execution: All commands listed in enable_commands and disable_commands are now executed by the console, ensuring they run with full permissions. Bug Fixes: · NullPointerException Fix: Added safety checks to ensure command names are properly retrieved from the configuration file, preventing NullPointerException errors during command registration. Improvements: · Logging: Improved logging for command registration, including warnings for any null or empty command names in the configuration file. Code (YAML): commands: godlike : # The command that players can use, e.g., /godlike settable_command : "godlike" # Commands to be executed by the console when the settable command is used enable_commands : - "god" # Commands to be executed by the console after the delay period disable_commands : - "ungod" # Delay in seconds before disable_commands are executed (example: 3600 seconds = 1 hour) delay : 3600 # Announcement delay in seconds before the announcement message is sent (example: 300 seconds = 5 minutes) announcement_delay : 300 # Message sent to the player before disable_commands are executed announcement_message : "Your godlike ability is about to wear off!" # Cooldown in seconds during which the player cannot use the settable command again (example: 7200 seconds = 2 hours) cooldown : 7200 Known Issues: - None reported in this version. For detailed instructions on how to configure and use the plugin, please refer to the documentation included with the plugin.
    4 downloads
  2. 2024-06-02Jun 3, 2024
    12 downloads

Similar projects

Plugin →