Package com.enhancedechest.log


package com.enhancedechest.log
  • Class
    Description
    Captures chest visits and persists each as one row (a contents snapshot + a change summary) in the separate ChestLogStore SQLite database, for the in-game /ee log viewer.
    An encoded, thread-safe capture of a chest at close: bytes to store, totals to diff.
    The chest log's own SQLite database, deliberately separate from the main chest-data database so a busy audit log never contends with — or bloats — the store players' items live in, and so its retention can prune freely without touching chest rows.
    A stored snapshot resolved back to bytes plus the chest size needed to decode it.
    One line of a CLOSE event's change summary: how the amount of a single item kind changed over the visit.
    One row of the chest log as shown in the /ee log GUI — everything a pane needs except the snapshot blob, which is left in the database and fetched only when the pane is actually clicked.
    One immutable unit of work handed from a Bukkit-owned thread to the log writer thread: a completed visit ready to insert.