v2.0.1
Bug Fixes
PlotSquared Event Registration:
- Fixed PlotMergeListener and PlotDeleteListener crashing on startup — PlotSquared events must be registered via PlotSquared's own EventDispatcher using Guava's Subscribe annotation, not Bukkit's EventHandler. The plugin now registers them correctly.
Weather not clearing when switching:
- Fixed rain and thunder persisting after switching to a different weather type. The weather flag is now always explicitly removed before the new one is applied, ensuring a clean state on every switch.
Sub-feature Permissions:
- Fixed flags, time options and weather options requiring PlotSquared permissions to function. All sub-actions (setting a flag, changing time, changing weather) now use the PlotSquared Java API directly and only require the plugin's own LuckPerms permissions for the main category (e.g. ghostyplotmenu.flags, ghostyplotmenu.weather).
New Features
Thunder weather type:
- Added Thunderstorm as a third weather option alongside Sunny and Rain. Thunder maps to PlotSquared's rain flag combined with the lightning flag.
Improvements
PlotSquared API resilience:
- All direct PlotSquared API calls (setFlag, setTime, setWeather) now follow an API-first with automatic fallback pattern. If a future PlotSquared update changes a minor API detail, the plugin logs a warning and falls back to the /plot flag command automatically — players notice nothing.
- Removed unused imports (WeatherFlag, TimeFlag) that could cause compilation issues on certain PlotSquared versions.
- pom.xml dependency updated to PlotSquared 7.5.13.
GhostyPlotMenu — Changelog v2.0.0
Bug Fixes:
> JAR Structure:
> Rating:
- Fixed incorrect package structure in the JAR — class files are now correctly placed in their subpackages (commands/, config/, data/, gui/, listener/, util/)
- Fixed lang files being placed in the JAR root instead of the required lang/ directory, which caused all language keys to show as [Missing: key]
- Fixed the rating button in /plotmenu being invisible to regular players — it incorrectly required the admin-only permission ghostyplotmenu.rating.delete instead of ghostyplotmenu.rating.rate
- Regular players now open the rate GUI; admins open the rating management view
- Fixed the rate GUI — all values from 1–10 are now available for ratings
> Plot Delete:
> Plot Reset:
- Fixed plot deletion via GUI not working — PlotSquared requires a /plot confirm call after /plot delete; the plugin now automatically sends it after a 1-second delay to give PlotSquared time to register the closed inventory
- Fixed plot reset via GUI not working — same root cause as delete; /plot confirm is now sent automatically after /plot clear
Removed Features:
> Biome & Transfer:
- Removed the biome selection feature and the plot transfer feature entirely
- The transfer feature was removed because /plot setowner requires the plots.admin.command.setowner permission which regular players do not have on most servers
- Removed all related code from Config, DataStore, YamlStore, MySQLStore, PlotHelper, GuiManager, GuiListener, lang files, config.yml, and plugin.yml
- The Reset button has been moved to the slot previously occupied by Transfer
