Package com.enhancedechest.listener


package com.enhancedechest.listener
  • Classes
    Class
    Description
    Drives the simple 27-slot /eclist inventory menu (ChestListHolder).
     
    Auto-migrates un-migrated players on join when migration mode is ON.
    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).