
Team-HomeGUI Plugin
A lightweight team system with team homes, private team chat, personal homes, and a clean home GUI
Список изменений
[1.3.3] — Real Root Cause of "Homes Lost on Every Restart" (confirmed via server log)
Critical Bug Fix
-
BUG-09:
load: STARTUPinplugin.ymlcaused every home/team-home to be silently dropped on every single server start, which is the actual cause behind the "restart wipes all home data" report (BUG-08's corruption-safety fix in 1.3.2 was good defensive practice, but was not the real trigger — confirmed by a live server log showing no corruption warnings, but repeatedLocation.deserialize/IllegalArgumentException: unknown worlderrors at plugin-enable time).What was happening:
load: STARTUPenabled this plugin before any Minecraft world was created (log showedEnabling Team-HomeGUI-Pluginat 23:19:58, thenPreparing level "world"only at 23:20:00 — two seconds later).HomeManager.load()/TeamManager.load()run duringonEnable(), deserializing storedLocationobjects.Location.deserialize()must resolve the world by name; with no worlds registered yet, it throwsIllegalArgumentException: unknown world.- Bukkit logs that as an error and returns
nullfor the location; this plugin's loaders skipnulllocations, so the home/team-home never enters memory. - On the next graceful
/stop,save()faithfully writes the now-incomplete in-memory state back to disk — permanently erasing the data, every time.
Fix: removed
load: STARTUPfromplugin.ymlso the plugin enables in the defaultPOSTWORLDphase (after worlds are ready), which is required for any plugin that deserializesLocations at startup. Relative load order versus DiscordSRV / PlaceholderAPI / Essentials remains handled correctly by the existingsoftdepend.
