Package com.enhancedechest.listener


package com.enhancedechest.listener
  • Classes
    Class
    Description
    Drives the simple /eclist inventory menu (ChestListHolder).
     
    Auto-migrates un-migrated players on join when migration mode is ON.
    Drives the two inventories the /ee log feature opens: the log viewer (LogMenuHolder) — a read-only paged list: every click is cancelled, a click on an event pane opens that snapshot, and the newer/older controls page; the snapshot preview (LogSnapshotHolder) — a dupe-proof sandbox: the admin may rearrange items within the preview to inspect them, but no path can move an item into their own inventory or the world, and the cursor is cleared on close.
    Backstop detach when the player disconnects while the custom GUI is open.
    Drives the lifecycle of per-player transient state around join/quit: Join: pin the player in the lazy storage cache (never evicted while online), then preload their settings — the preload's loadSettings call is also what materializes the player's chest rows into the cache, so it doubles as the join prefetch and their first chest open touches no database. Quit: stamp last_online, evict the settings cache entry and the sort-cooldown timestamp, unpin the storage cache entry, and schedule the delayed write-back + eviction of their rows (AutosaveService.flushQuitterLater(java.util.UUID)) — so a leaver's changes reach the database within seconds and their memory is freed.
    Reminds a player on join, when they still have items sitting in one or more temporary chests, to collect them before those chests expire (config temp-enderchest.join-notify, default on).