Skip to content

Releases: YETIMAN2020/YETIs-Admin-Utils

Version 3.1.1

30 May 04:03
d25b6b7
Compare
Choose a tag to compare

Changelog

[3.1.1] - 2024-05-30

Current features

  • Admin Mode Inventory Switch: Toggle between regular player inventory and a separate admin inventory.
  • Player Warnings: Issue warnings to players, store and view warnings, and clear specific warnings.
  • Player Reports: Players can report issues, which are stored and viewable by admins in a GUI.
  • Configuration Reload: Reload the plugin's configuration without restarting the server.
  • Auto IP Ban: Automatically ban a player's IP after a configurable number of warnings.
  • Permissions: Configurable permissions for commands to ensure only authorized users can perform certain actions.
  • /warnmenu command to open a GUI showing players with warnings.
  • /warnclear <player> <warning number or *> command to clear specific warnings or all warnings for a player.
  • /mywarns command for players to view their own warnings (if enabled in config).

Changed

  • /mywarnings command renamed to /mywarns.
  • Improved message colors for better readability.
  • Enhanced inventory click handling to prevent item pickups in GUI.
  • Updated /warn command to log player IP and include in warning files.
  • Updated plugin to respect configuration settings for features and debug mode.
  • Improved error handling and logging for better debugging.

Fixed

  • Resolved an issue where the plugin would display certain messages twice.
  • Fixed NPE in ReportGUI when trying to access a report that doesn't exist.

Version 2.7

27 May 20:32
1523bc6
Compare
Choose a tag to compare

[2.7] - 2024-05-27

Added

  • /report Command: Players can now report issues with /report <issue>. Reports include player coordinates and are stored in a reports.yml file.
  • Report Menu GUI: Admins can view all reports using /reportmenu. Each report is displayed in a clickable GUI.
  • Report Details GUI: When clicking a report in the menu, admins can view details, teleport to the location, and close the report. The teleport button is represented by an Ender Pearl.
  • Player Coordinates: The coordinates of the player who made the report are logged and can be accessed in the report details GUI.
  • Report ID System: Reports now use a unique ID format based on the player's name and report number (e.g., YET1MAN1 for the first report by YET1MAN).
  • Sort Reports by Date: Reports are now sorted by date, oldest first.
  • Configurable Report Feature: Added enableReportFeature in config.yml to enable or disable the /report feature.

Changed

  • Warning GUI: Now displays player heads of players with warnings. Clicking on a player head shows their warnings.
  • Warnings Storage: Warnings now include the player's IP address.
  • Report Deletion Fix: Fixed issue where closing a report would close two reports and display duplicate messages.
  • Inventory Management: Admin mode toggles between player and admin inventories.

Fixed

  • NullPointerException on Disable: Fixed a bug where disabling the plugin caused a NullPointerException due to reportHandler being null.
  • Method Resolutions: Fixed several issues with method resolutions and missing imports.

Configuration

  • config.yml:
    enableReportFeature: true

version 2.5

26 May 21:19
aec0a0f
Compare
Choose a tag to compare

[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.

Version 2.2

26 May 00:35
1a0cfa2
Compare
Choose a tag to compare

Changelog

Expected to work from 1.13.x - 1.20.x

[2.2] - 2024-05-25

Added

  • Warning Clearing Command: Added /warnclear command to clear specific warnings for players.
  • Warning GUI: Introduced a graphical user interface (GUI) to manage player warnings using /warnmenu.
  • Warning Reasons GUI: Added the ability to view detailed warning reasons in the GUI when clicking on a player head.

Improved

  • Tab Completion: Enhanced tab completion for both /warn and /warnclear commands to properly highlight and complete player names, including offline players.
  • Admin Inventory Management: Improved the /adminmode command to ensure inventories are correctly saved and switched between player and admin mode.

Fixed

  • Warning Reasons: Fixed an issue where warning reasons were being incorrectly displayed or overwritten when clearing warnings.

Updated

  • Version Number: Updated the plugin version to 2.2.

Version 2.1 - Mc 1.20

24 May 18:22
594aba6
Compare
Choose a tag to compare

[2.1] - 2024-05-24

Added

Admin Mode: New command /adminmode to toggle between player and admin inventories.
Player Warnings:
New command /warn to issue warnings to players with a specified reason.
Warnings now include a timestamp for when the warning was issued.

Warning Logs:

New command /warnings to check the number of warnings a player has received.

Warning GUI:

New command /warninggui to open a GUI to view and interact with player warnings.
Added detailed warning logs in the GUI, showing the warning number, reason, and timestamp.
Clicking on a player's head in the warnings GUI opens a detailed reasons GUI.
Added a "Back" button in the detailed reasons GUI to return to the player warnings view.

Changed

GUI Layout:
Both the warnings GUI and the detailed reasons GUI are now 5 rows (45 slots) high.
The detailed reasons GUI includes a "Back" button positioned in the bottom left slot.
Plugin Version: Updated the plugin version from 0.1 to 2.1.
Fixed

Inventory Persistence:

Fixed issues where inventories were not being correctly saved and loaded between sessions.
Improved inventory switching logic to ensure a smooth transition between player and admin inventories.

V2 release

24 May 05:25
944de55
Compare
Choose a tag to compare

This release adds the inventory swap properly as well as adding in a warning system that logs players username uuid and ip

Version 0.1

23 May 21:14
bfcb34a
Compare
Choose a tag to compare
Version 0.1 Pre-release
Pre-release

Tested mc version 1.20.1 paper
1 feature being able to put away your inventory to go off and do admin things then retrieve it when your done