Skip to content

version 2.5

Choose a tag to compare

@YETIMAN2020 YETIMAN2020 released this 26 May 21:19
· 7 commits to main since this release
aec0a0f

[2.5] - 2024-05-26

New Features

  • Admin Mode Inventory: Implemented a feature to switch between player and admin inventories using the /adminmode command. Admin inventories are now stored in separate files to persist across server restarts.
  • Warnings System: Introduced a comprehensive warnings system with the following functionalities:
    • /warn <player> <reason> to warn a player with a reason.
    • /warnclear <player> <warning number> to clear a specific warning from a player.
    • /warnings <player> to view the total number of warnings a player has.
    • /warnmenu to open a GUI displaying all players with warnings.
    • /mywarnings to allow players to view their own warnings.
  • Warning Reasons GUI: Added a GUI to view detailed reasons for each warning by clicking on player heads in the warnings menu.
  • Auto Ban: Configurable auto IP ban feature for players exceeding a specified number of warnings.
  • Configurable Commands: The main command and its related functionalities can be configured via the config.yml file.
  • Reload Command: Added a /yetisutils reload command to reload plugin configurations dynamically.

Improvements

  • Player Head Display: Improved the display of player heads in the GUI to reflect actual player skins.
  • Warning Storage: Moved warnings storage to a dedicated warnings.yml file for better organization.
  • Date and Time Formatting: Updated the date and time format for warnings to dd-MM-yyyy HH:mm.

Bug Fixes

  • Warning Retrieval: Fixed issues with retrieving and displaying warning details correctly in chat and GUIs.
  • Tab Completion: Ensured tab completion works correctly for all relevant commands.
  • Event Handling: Fixed issues with event handling in the warning GUIs, including back and exit buttons not functioning as intended.

Configuration Updates

  • Enable Player Warnings View: Added a configuration option to enable or disable players viewing their own warnings.
  • Debug Logging: Added a configuration option to enable or disable debug logging in the console.
  • Max Warnings Before Ban: Added a configuration option to set the maximum number of warnings before a player is automatically IP banned.

Miscellaneous

  • Code Cleanup: Refactored and optimized code for better performance and readability.
  • Compatibility: Ensured compatibility with Minecraft version 1.20.1.