Version 2.1 - Mc 1.20
[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.