Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractSqlStorage - Class in com.enhancedechest.storage.sql
-
JDBC-backed
StorageBackendshared by all three dialects. - AbstractSqlStorage(HikariConfig, String, AbstractSqlStorage.UpsertSyntax, String...) - Constructor for class com.enhancedechest.storage.sql.AbstractSqlStorage
- AbstractSqlStorage.UpsertSyntax - Enum Class in com.enhancedechest.storage.sql
-
Which native upsert conflict clause the dialect speaks.
- acquireOwner(UUID) - Method in interface com.enhancedechest.crossserver.CrossServerCoordinator
-
Blocks until this server holds
owner's lock. - acquireOwner(UUID) - Method in class com.enhancedechest.crossserver.RedisCoordinator
- add(CommandSourceStack, String, int) - Static method in class com.enhancedechest.command.admin.ChestAdminCommand
- add(CommandSourceStack, String, int, int) - Static method in class com.enhancedechest.command.admin.ChestAdminCommand
- add(CommandSourceStack, String, int, int, String) - Static method in class com.enhancedechest.command.admin.ChestAdminCommand
- adminClear(Player, String, UUID, int) - Method in class com.enhancedechest.service.ChestOpener
-
Empties the target's chest (admin "Clear chest" action), re-checking the permission, then returns the admin to the detail dialog with a confirmation message.
- adminClearConfirmDialog(Locale, String, UUID, ChestSummary) - Method in class com.enhancedechest.gui.dialog.ChestDialogs
-
Confirmation gate for the admin Clear chest action: a red warning body, a Confirm button (also tagged
(Admin)) that performs the wipe, and Cancel that returns to the detail dialog. - adminOpen(Player, UUID, int) - Method in class com.enhancedechest.service.ChestOpener
-
Opens another player's chest for an admin, sharing the live session.
- adminViewListDialog(Locale, String, UUID, List<ChestSummary>) - Method in class com.enhancedechest.gui.dialog.ChestDialogs
-
Admin "view another player's chests" list: one button per chest that opens it for the admin via the shared session (
ChestOpener.adminOpen(org.bukkit.entity.Player, java.util.UUID, int)). - all() - Static method in class com.enhancedechest.gui.dialog.IconCatalog
-
Lazily builds and returns the immutable, name-sorted list of pickable icons.
- appliedDefaultSize() - Method in record class com.enhancedechest.model.PlayerSettings
-
Returns the value of the
appliedDefaultSizerecord component. - appliedDefaultSize() - Method in record class com.enhancedechest.storage.EnderChestStorage.RawPlayerRow
-
Returns the value of the
appliedDefaultSizerecord component. - ASK - Enum constant in enum class com.enhancedechest.service.ChestTransferService.ConflictPolicy
-
No flag given — abort and ask the admin to choose, rather than touch the destination's items.
- AutosaveService - Class in com.enhancedechest.storage
-
Write-back scheduling for the lazy cache: an async repeating timer at the configured
database.autosave-interval(default 3m) that callsCachedStorage.flush()and thenCachedStorage.evictIdle()(releasing owners who are offline and fully flushed), plus the per-player write-back a few seconds after a quit (AutosaveService.flushQuitterLater(java.util.UUID)). - AutosaveService(CachedStorage, Scheduler, Logger, Telemetry, long) - Constructor for class com.enhancedechest.storage.AutosaveService
- AxVaultsMigrationService - Class in com.enhancedechest.migration
-
Migrates vaults from an AxVaults installation into EnhancedEchest's storage.
- AxVaultsMigrationService() - Constructor for class com.enhancedechest.migration.AxVaultsMigrationService
- AxVaultsMigrationService.Result - Record Class in com.enhancedechest.migration
-
Outcome of a migration run.
- AxVaultsReader - Class in com.enhancedechest.migration
-
Reads an AxVaults (Artillex-Studios) database directly and decodes its vault contents into Bukkit
ItemStackarrays, ready to be re-encoded into EnhancedEchest's own storage. - AxVaultsReader.VaultRow - Record Class in com.enhancedechest.migration
-
A single AxVaults vault as decoded for migration.
B
- backend() - Method in class com.enhancedechest.migration.AxVaultsReader
-
The backend name ("SQLite"), for logging.
- backend() - Method in class com.enhancedechest.migration.SourceDatabaseReader
-
The source backend name (e.g.
- backup(Path) - Method in class com.enhancedechest.storage.CachedStorage
- backup(Path) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Writes a consistent snapshot of the entire database to
target(which must not already exist). - backup(Path) - Method in class com.enhancedechest.storage.sql.SqliteStorage
-
Snapshots the database with
VACUUM INTO. - backup(Path) - Method in interface com.enhancedechest.storage.StorageBackend
-
Writes a consistent snapshot of the entire database to
target(which must not already exist). - backupNowAsync() - Method in class com.enhancedechest.backup.BackupService
-
Runs one snapshot off-thread immediately (used for the optional on-startup backup).
- BackupService - Class in com.enhancedechest.backup
-
Takes scheduled, self-pruning snapshots of the database.
- BackupService(EnderChestStorage, Scheduler, Logger, Telemetry, Path, boolean, long, int, String, String) - Constructor for class com.enhancedechest.backup.BackupService
- beginRelease(UUID) - Method in interface com.enhancedechest.crossserver.CrossServerCoordinator
-
Marks
owner's lock as no longer held locally. - beginRelease(UUID) - Method in class com.enhancedechest.crossserver.RedisCoordinator
- bootstrap(BootstrapContext) - Method in class com.enhancedechest.EnhancedEchestBootstrap
- build(Locale, List<ChestSummary>, UUID, Location) - Method in class com.enhancedechest.gui.ChestListMenu
-
Builds the menu inventory for
owner's chests, sized to the chest count.
C
- CachedStorage - Class in com.enhancedechest.storage
-
Lazy-loading write-back cache over the SQL backend, and the
EnderChestStoragethe rest of the plugin sees. - CachedStorage(StorageBackend, Logger, Telemetry) - Constructor for class com.enhancedechest.storage.CachedStorage
- CachedStorage(StorageBackend, Logger, Telemetry, CrossServerCoordinator) - Constructor for class com.enhancedechest.storage.CachedStorage
- cancelAllTasks() - Method in class com.enhancedechest.scheduler.Scheduler
-
Cancels every task this plugin has scheduled through the async and global-region schedulers.
- canClear() - Method in record class com.enhancedechest.gui.dialog.ChestDialogs.DetailContext
-
Returns the value of the
canClearrecord component. - canEdit() - Method in record class com.enhancedechest.gui.dialog.ChestDialogs.DetailContext
-
Returns the value of the
canEditrecord component. - canSetMain() - Method in record class com.enhancedechest.gui.dialog.ChestDialogs.DetailContext
-
Returns the value of the
canSetMainrecord component. - checkAsync(Scheduler) - Method in class com.enhancedechest.update.UpdateChecker
- ChestActivityLogger - Class in com.enhancedechest.service
-
A bounded, batched audit pipeline designed for busy servers.
- ChestActivityLogger(Path, Logger, Telemetry, boolean, boolean, boolean, boolean, int, int, int) - Constructor for class com.enhancedechest.service.ChestActivityLogger
- ChestAdminCommand - Class in com.enhancedechest.command.admin
-
Admin chest management: /ee add|resize|delete <player> ...
- ChestDialogs - Class in com.enhancedechest.gui.dialog
-
Builds the /ec list management dialogs using Paper's (experimental) Dialog API.
- ChestDialogs(ChestOpener, StorageGateway, PlayerSettingsCache, LanguageManager, PluginConfig) - Constructor for class com.enhancedechest.gui.dialog.ChestDialogs
- ChestDialogs.DetailContext - Record Class in com.enhancedechest.gui.dialog
-
The owner/permission context a per-chest detail dialog operates in.
- chestIndex() - Method in record class com.enhancedechest.storage.EnderChestStorage.RawChestRow
-
Returns the value of the
chestIndexrecord component. - chestIndex() - Method in record class com.enhancedechest.storage.StorageBackend.ChestKey
-
Returns the value of the
chestIndexrecord component. - chestIndex() - Method in record class com.enhancedechest.storage.StorageBackend.ExpiredKey
-
Returns the value of the
chestIndexrecord component. - chestIndexAt(int) - Method in class com.enhancedechest.gui.ChestListHolder
-
1-based chest index for a clicked menu slot, or null if that slot holds no chest icon.
- ChestKey(String, int) - Constructor for record class com.enhancedechest.storage.StorageBackend.ChestKey
-
Creates an instance of a
ChestKeyrecord class. - ChestKind - Enum Class in com.enhancedechest.model
-
Whether an ender chest is a permanent ("normal") chest, a transient overflow ("temp") chest, or a permission-granted chest.
- ChestListHolder - Class in com.enhancedechest.gui
-
Marker holder for the simple 27-slot
/eclistinventory menu — the alternative to the Dialog-API list, selected withenderchest.list-menu: inventory. - ChestListHolder(UUID, Location, Map<Integer, Integer>) - Constructor for class com.enhancedechest.gui.ChestListHolder
- ChestListMenu - Class in com.enhancedechest.gui
-
Builds the simple
/eclistinventory menu — the alternative toChestDialogs' Dialog-API list, chosen withenderchest.list-menu: inventory. - ChestListMenu(LanguageManager) - Constructor for class com.enhancedechest.gui.ChestListMenu
- ChestListMenuListener - Class in com.enhancedechest.listener
-
Drives the simple 27-slot
/eclistinventory menu (ChestListHolder). - ChestListMenuListener() - Constructor for class com.enhancedechest.listener.ChestListMenuListener
- chestName(String) - Method in class com.enhancedechest.lang.LanguageManager
-
Renders a player-supplied chest name to a display
Component. - ChestOpener - Class in com.enhancedechest.service
-
Decides what to open for
/ec,/eclist, right-click and the admin/ee view, and orchestrates the management dialogs. - ChestOpener(ChestSessionManager, StorageGateway, PlayerSettingsCache, EnderChestStorage, DbExecutor, LanguageManager, Scheduler, Logger, int, PermissionChestService, ChestSpillService, PluginConfig, DatabaseImportService, Telemetry) - Constructor for class com.enhancedechest.service.ChestOpener
- ChestRef(UUID, int) - Constructor for record class com.enhancedechest.service.ChestSessionManager.ChestRef
-
Creates an instance of a
ChestRefrecord class. - chests() - Method in record class com.enhancedechest.migration.DatabaseImportService.Result
-
Returns the value of the
chestsrecord component. - chests() - Method in record class com.enhancedechest.migration.SourceDatabaseReader.Data
-
Returns the value of the
chestsrecord component. - chests() - Method in record class com.enhancedechest.storage.StorageBackend.OwnerRows
-
Returns the value of the
chestsrecord component. - ChestSessionManager - Class in com.enhancedechest.service
-
Owns the shared-live-inventory registry and the dupe-safety contract for every open chest: this is the single closed class that mutates the
ChestSessionManager.sessionsmap, and it does so only on theChestSessionManager.onGlobal(java.lang.Runnable)bookkeeping thread. - ChestSessionManager(LanguageManager, ContainerCodec, EnderChestStorage, Logger, Scheduler, DbExecutor, Telemetry, ChestActivityLogger) - Constructor for class com.enhancedechest.service.ChestSessionManager
- ChestSessionManager.ChestRef - Record Class in com.enhancedechest.service
-
A public (owner, index) reference for multi-chest exclusive operations (see
ChestSessionManager.runExclusiveAcross(java.util.List<com.enhancedechest.service.ChestSessionManager.ChestRef>, java.util.function.Supplier<T>)). - ChestSpillService - Class in com.enhancedechest.service
-
Item-moving chest operations: shrink-spill, delete (spill or force), bulk delete, and the reverse move that pulls a temp chest back into a newly granted chest (
ChestSpillService.reclaimTempInto(java.util.UUID, int)). - ChestSpillService(ChestSessionManager, EnderChestStorage, ContainerCodec, StorageGateway, TempReclaimNotifier, long, boolean) - Constructor for class com.enhancedechest.service.ChestSpillService
- ChestSummary - Record Class in com.enhancedechest.model
-
Lightweight description of one of a player's ender chests, used to build the /ec list management dialog and to decide which chest /ec opens.
- ChestSummary(int, int, String, boolean, ChestKind, Long, String) - Constructor for record class com.enhancedechest.model.ChestSummary
-
Creates an instance of a
ChestSummaryrecord class. - ChestTransferCommand - Class in com.enhancedechest.command.admin
-
/ee transfer <from> <to> <index|name|all> [override|temp]— moves a player's ender chests onto another account when someone switches accounts. - ChestTransferService - Class in com.enhancedechest.service
-
Moves a player's ender chests onto another account (
/ee transfer) for the "I switched account" case. - ChestTransferService(ChestSessionManager, EnderChestStorage, ContainerCodec, StorageGateway, LanguageManager, Scheduler, DbExecutor, Logger, Telemetry, long) - Constructor for class com.enhancedechest.service.ChestTransferService
- ChestTransferService.ConflictPolicy - Enum Class in com.enhancedechest.service
-
What to do when the destination already holds items in chests this transfer would replace.
- clear() - Method in class com.enhancedechest.service.PlayerSettingsCache
-
Drops every cached entry on shutdown.
- clearChest(UUID, int) - Method in class com.enhancedechest.service.ChestSpillService
-
Empties a chest's contents (admin "clear chest" action), keeping the chest itself (size, name, icon, kind).
- clearChestContents(UUID, int) - Method in class com.enhancedechest.storage.CachedStorage
- clearChestContents(UUID, int) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Empties a chest's contents (sets the stored bytes to NULL), keeping its size, name, icon and kind.
- clearPrimary(UUID) - Method in class com.enhancedechest.storage.CachedStorage
- clearPrimary(UUID) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Clears the primary flag from all of the player's chests, leaving them with no main chest.
- clearPrimaryAsync(UUID) - Method in class com.enhancedechest.service.StorageGateway
- clearSortCooldown(UUID) - Method in class com.enhancedechest.service.ChestOpener
-
Drops a player's sort-cooldown entry, called on quit so the
ChestOpener.lastSortAtmap stays bounded by the online-player count (it holds one timestamp per player who has sorted, and entries never expire on their own). - close() - Method in class com.enhancedechest.crossserver.RedisCoordinator
-
Releases every held lock (after the caller has flushed the cache — see the
onDisableordering) and stops the subscriber, heartbeat and pool. - close() - Method in class com.enhancedechest.migration.AxVaultsReader
- close() - Method in class com.enhancedechest.migration.SourceDatabaseReader
- close() - Method in class com.enhancedechest.storage.CachedStorage
-
Flushes everything still dirty, then closes the SQL backend.
- close() - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Closes all connections.
- close() - Method in class com.enhancedechest.storage.sql.AbstractSqlStorage
- close() - Method in interface com.enhancedechest.storage.StorageBackend
-
Closes all connections.
- close(Player, Location) - Static method in class com.enhancedechest.gui.EnderChestAnimator
-
Plays the close animation and sound on the ender chest at
blockLoc. - closed(String, UUID, UUID, int, ItemStack[]) - Method in class com.enhancedechest.service.ChestActivityLogger
-
Captures CLOSE on the Bukkit-owned thread and offers immutable work to the bounded async queue.
- code() - Method in enum class com.enhancedechest.model.ChestKind
-
The integer stored in the
kindcolumn. - CodecException - Exception Class in com.enhancedechest.serialization
- CodecException(String) - Constructor for exception class com.enhancedechest.serialization.CodecException
- CodecException(String, Throwable) - Constructor for exception class com.enhancedechest.serialization.CodecException
- com.enhancedechest - package com.enhancedechest
- com.enhancedechest.backup - package com.enhancedechest.backup
- com.enhancedechest.command - package com.enhancedechest.command
- com.enhancedechest.command.admin - package com.enhancedechest.command.admin
- com.enhancedechest.config - package com.enhancedechest.config
- com.enhancedechest.crossserver - package com.enhancedechest.crossserver
- com.enhancedechest.expiry - package com.enhancedechest.expiry
- com.enhancedechest.gui - package com.enhancedechest.gui
- com.enhancedechest.gui.dialog - package com.enhancedechest.gui.dialog
- com.enhancedechest.lang - package com.enhancedechest.lang
- com.enhancedechest.listener - package com.enhancedechest.listener
- com.enhancedechest.migration - package com.enhancedechest.migration
- com.enhancedechest.model - package com.enhancedechest.model
- com.enhancedechest.scheduler - package com.enhancedechest.scheduler
- com.enhancedechest.serialization - package com.enhancedechest.serialization
- com.enhancedechest.service - package com.enhancedechest.service
- com.enhancedechest.storage - package com.enhancedechest.storage
- com.enhancedechest.storage.sql - package com.enhancedechest.storage.sql
- com.enhancedechest.telemetry - package com.enhancedechest.telemetry
- com.enhancedechest.update - package com.enhancedechest.update
- com.enhancedechest.util - package com.enhancedechest.util
- completeMigration(UUID, byte[], byte[], int, long) - Method in class com.enhancedechest.storage.CachedStorage
- completeMigration(UUID, byte[], byte[], int, long) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Commits a vanilla migration in one transaction: writes chest #1's contents and sets its migrated flag (one single-row UPDATE — chest #1's size is never changed), plus, when
overflowis non-null, inserts a temp chest at the next free index carrying the vanilla items that did not fit. - CONFIG - Static variable in class com.enhancedechest.config.ConfigMigrations
-
Renames applied to
config.yml. - ConfigMigrations - Class in com.enhancedechest.config
-
Central registry for all YAML key renames across plugin versions.
- ContainerCodec - Class in com.enhancedechest.serialization
-
Encodes and decodes a 54-slot inventory for DB storage.
- ContainerCodec() - Constructor for class com.enhancedechest.serialization.ContainerCodec
- containerData() - Method in record class com.enhancedechest.model.EnderChestData
-
Returns the value of the
containerDatarecord component. - containerData() - Method in record class com.enhancedechest.storage.EnderChestStorage.RawChestRow
-
Returns the value of the
containerDatarecord component. - count() - Method in record class com.enhancedechest.util.DurationFormat.Part
-
Returns the value of the
countrecord component. - countChests() - Method in class com.enhancedechest.storage.CachedStorage
- countChests() - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Total number of rows in the
endercheststable across every player and chest kind. - countChests() - Method in class com.enhancedechest.storage.sql.AbstractSqlStorage
- countChests() - Method in interface com.enhancedechest.storage.StorageBackend
-
Total number of
enderchestsrows. - create(PluginConfig, Path) - Static method in class com.enhancedechest.storage.StorageFactory
- create(JavaPlugin, PluginConfig) - Static method in class com.enhancedechest.telemetry.FastStatsTelemetry
-
Builds the FastStats-backed telemetry, or
Telemetry.NOOPwhen the build-time token is absent (seefaststats.properties) or SDK startup throws — telemetry must never be able to take the plugin down. - createChest(UUID, int) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Creates a new permanent chest at the lowest free index, so a number freed by a delete is reused instead of the numbering climbing forever (the index is the number the player reads on the chest).
- createChest(UUID, int, Long) - Method in class com.enhancedechest.storage.CachedStorage
- createChest(UUID, int, Long) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Creates a new NORMAL chest at the lowest free index.
- createChestAsync(UUID, int, Long) - Method in class com.enhancedechest.service.StorageGateway
-
Creates a NORMAL chest, expirable if
expiresAtis non-null (epoch millis). - createPermChest(UUID, int) - Method in class com.enhancedechest.storage.CachedStorage
- createPermChest(UUID, int) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Creates a permission-granted chest (kind=PERM) at the lowest free index.
- createPermChestAsync(UUID, int) - Method in class com.enhancedechest.service.StorageGateway
-
Creates a permission-granted chest (kind=PERM); used by the permission-chest reconcile.
- CrossServerCoordinator - Interface in com.enhancedechest.crossserver
-
Coordination contract that makes the lazy write-back cache safe to run on several servers sharing one database (
cross-server.enabled). - CrossServerLockException - Exception Class in com.enhancedechest.crossserver
-
Thrown by
CrossServerCoordinator.acquireOwner(java.util.UUID)when an owner's lock could not be obtained within the acquire timeout — typically because the player is still online on another server, or that server is still writing their data back. - CrossServerLockException(String) - Constructor for exception class com.enhancedechest.crossserver.CrossServerLockException
- CustomEnderChestMigrationService - Class in com.enhancedechest.migration
-
Migrates ender chests from a CustomEnderChest (maiminhdung) installation into EnhancedEchest's storage.
- CustomEnderChestMigrationService() - Constructor for class com.enhancedechest.migration.CustomEnderChestMigrationService
- CustomEnderChestMigrationService.Result - Record Class in com.enhancedechest.migration
-
Outcome of a migration run.
- CustomEnderChestReader - Class in com.enhancedechest.migration
-
Reads a CustomEnderChest (maiminhdung) installation's
storage.type: ymlplayer files and decodes them into BukkitItemStackarrays, ready to be re-encoded into EnhancedEchest's own storage. - CustomEnderChestReader(Path, Logger) - Constructor for class com.enhancedechest.migration.CustomEnderChestReader
- CustomEnderChestReader.PlayerData - Record Class in com.enhancedechest.migration
-
One player's CustomEnderChest data as decoded for migration.
- customName() - Method in record class com.enhancedechest.model.ChestSummary
-
Returns the value of the
customNamerecord component. - customName() - Method in record class com.enhancedechest.model.EnderChestData
-
Returns the value of the
customNamerecord component. - customName() - Method in record class com.enhancedechest.storage.EnderChestStorage.RawChestRow
-
Returns the value of the
customNamerecord component.
D
- Data(List<EnderChestStorage.RawPlayerRow>, List<EnderChestStorage.RawChestRow>) - Constructor for record class com.enhancedechest.migration.SourceDatabaseReader.Data
-
Creates an instance of a
Datarecord class. - database() - Method in record class com.enhancedechest.migration.SourceSpec
-
Returns the value of the
databaserecord component. - DatabaseImportService - Class in com.enhancedechest.migration
-
Copies all EnhancedEchest data from an old database backend into the plugin's active backend (
/ee import). - DatabaseImportService(EnderChestStorage, PluginConfig, Logger, Path) - Constructor for class com.enhancedechest.migration.DatabaseImportService
- DatabaseImportService.Result - Record Class in com.enhancedechest.migration
-
Outcome of an import run: how many rows landed in the destination.
- dataSource - Variable in class com.enhancedechest.storage.sql.AbstractSqlStorage
- DbExecutor - Class in com.enhancedechest.service
-
Shared daemon thread-pool for all asynchronous storage work (
EnhancedEchest-db). - DbExecutor(int) - Constructor for class com.enhancedechest.service.DbExecutor
- decode(byte[], int) - Method in class com.enhancedechest.serialization.ContainerCodec
-
Decodes stored bytes back to a
size-slot array. - defaults() - Static method in record class com.enhancedechest.model.PlayerSettings
-
Settings for a player who has never saved any — every field at its default.
- defaultTarget() - Method in record class com.enhancedechest.service.PermissionChestService.PermTargets
-
Returns the value of the
defaultTargetrecord component. - delete(CommandSourceStack, String, int) - Static method in class com.enhancedechest.command.admin.ChestAdminCommand
- deleteChest(UUID, int) - Method in class com.enhancedechest.storage.CachedStorage
- deleteChest(UUID, int) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Deletes a chest.
- deleteForce(CommandSourceStack, String, int) - Static method in class com.enhancedechest.command.admin.ChestAdminCommand
- desired() - Method in record class com.enhancedechest.service.PermissionChestService.PermTargets
-
Returns the value of the
desiredrecord component. - destinationChestCount() - Method in class com.enhancedechest.migration.DatabaseImportService
-
Number of chest rows already in the destination; import requires this to be 0 (a fresh DB).
- detach(Player, EnderChestHolder) - Method in class com.enhancedechest.service.ChestSessionManager
-
Detaches a viewer when they close the shared GUI (called from the GUI close and quit listeners on the player's entity thread).
- DetailContext(UUID, String, boolean, boolean, boolean, boolean, Location, Locale) - Constructor for record class com.enhancedechest.gui.dialog.ChestDialogs.DetailContext
-
Creates an instance of a
DetailContextrecord class. - detailDialog(ChestSummary, ChestDialogs.DetailContext) - Method in class com.enhancedechest.gui.dialog.ChestDialogs
-
Per-chest detail menu, shared by the owner (
/eclistedit mode) and an admin (/ee view). - DIALOG - Enum constant in enum class com.enhancedechest.config.PluginConfig.ListMenuType
-
Paper's Dialog API menu, with the full management actions (rename / set-main / icon / sort).
- DISABLE - Enum constant in enum class com.enhancedechest.config.PluginConfig.DbSslMode
- displayName() - Method in record class com.enhancedechest.gui.dialog.IconCatalog.Entry
-
Returns the value of the
displayNamerecord component. - displayName() - Method in record class com.enhancedechest.service.PlayerNameIndex.NameEntry
-
Returns the value of the
displayNamerecord component. - duration(long) - Method in class com.enhancedechest.lang.LanguageManager
-
A remaining duration ("6d 23h", "6 ngày 23 giờ", ...) as a per-viewer translatable Component: the two most significant units, each rendered from
enhancedechest.msg.duration.<unit>(template{count}<unit-label>) so operators localize the unit labels and number/label spacing inmessages.yml. - DurationFormat - Class in com.enhancedechest.util
-
Parses and formats human-friendly durations.
- DurationFormat.Part - Record Class in com.enhancedechest.util
-
One unit component of a formatted duration: a whole
countof the unit named byunit(one ofyear month week day hour minute second).
E
- editMode() - Method in record class com.enhancedechest.model.PlayerSettings
-
Returns the value of the
editModerecord component. - editMode() - Method in record class com.enhancedechest.storage.EnderChestStorage.RawPlayerRow
-
Returns the value of the
editModerecord component. - encode(ItemStack[]) - Method in class com.enhancedechest.serialization.ContainerCodec
-
Encodes inventory contents to bytes for DB storage in the current format.
- EnderChestAnimator - Class in com.enhancedechest.gui
-
Triggers the vanilla ender chest open/close lid animation and sound.
- EnderChestData - Record Class in com.enhancedechest.model
-
A single ender chest belonging to a player, as loaded from storage for opening.
- EnderChestData(UUID, int, int, String, byte[], ChestKind, Long, String) - Constructor for record class com.enhancedechest.model.EnderChestData
-
Creates an instance of a
EnderChestDatarecord class. - EnderChestGuiListener - Class in com.enhancedechest.listener
- EnderChestGuiListener() - Constructor for class com.enhancedechest.listener.EnderChestGuiListener
- EnderChestHolder - Class in com.enhancedechest.gui
-
Marker holder attached to every custom enderchest Inventory.
- EnderChestHolder(UUID, int, int, ChestKind, Location) - Constructor for class com.enhancedechest.gui.EnderChestHolder
- EnderChestOpenCommand - Class in com.enhancedechest.command
- EnderChestStorage - Interface in com.enhancedechest.storage
-
All methods execute synchronously on the calling thread.
- EnderChestStorage.ExpiredRef - Record Class in com.enhancedechest.storage
-
Lightweight reference to an expired chest, returned by
EnderChestStorage.findExpired(long). - EnderChestStorage.PlayerNameRecord - Record Class in com.enhancedechest.storage
-
One known player for the in-memory name index: their UUID, last recorded name, and last-seen time.
- EnderChestStorage.RawChestRow - Record Class in com.enhancedechest.storage
-
One
enderchestsrow read verbatim from a source database forEnderChestStorage.importRows(java.util.List<com.enhancedechest.storage.EnderChestStorage.RawPlayerRow>, java.util.List<com.enhancedechest.storage.EnderChestStorage.RawChestRow>). - EnderChestStorage.RawPlayerRow - Record Class in com.enhancedechest.storage
-
One
playersrow read verbatim from a source database forEnderChestStorage.importRows(java.util.List<com.enhancedechest.storage.EnderChestStorage.RawPlayerRow>, java.util.List<com.enhancedechest.storage.EnderChestStorage.RawChestRow>). - EnhancedEchestBootstrap - Class in com.enhancedechest
- EnhancedEchestBootstrap() - Constructor for class com.enhancedechest.EnhancedEchestBootstrap
- EnhancedEchestPlugin - Class in com.enhancedechest
- EnhancedEchestPlugin() - Constructor for class com.enhancedechest.EnhancedEchestPlugin
- EnhancedEchestTranslator - Class in com.enhancedechest.lang
-
Adventure
Translatorbacking EnhancedEchest's per-viewer localization. - EnhancedEchestTranslator() - Constructor for class com.enhancedechest.lang.EnhancedEchestTranslator
- ensureChest(UUID, int, int) - Method in class com.enhancedechest.storage.CachedStorage
- ensureChest(UUID, int, int) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Creates a chest at a specific index if it does not already exist (used by migration).
- Entry(Material, String, String, String, Component, Component) - Constructor for record class com.enhancedechest.gui.dialog.IconCatalog.Entry
-
Creates an instance of a
Entryrecord class. - equals(Object) - Method in record class com.enhancedechest.config.YamlMigrator.Rename
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.gui.dialog.ChestDialogs.DetailContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.gui.dialog.IconCatalog.Entry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.migration.AxVaultsMigrationService.Result
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.migration.AxVaultsReader.VaultRow
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.migration.CustomEnderChestMigrationService.Result
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.migration.CustomEnderChestReader.PlayerData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.migration.DatabaseImportService.Result
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.migration.PlayerVaultsXMigrationService.Result
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.migration.PlayerVaultsXReader.VaultRow
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.migration.SourceDatabaseReader.Data
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.migration.SourceSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.model.ChestSummary
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.model.EnderChestData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.model.PlayerSettings
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.service.ChestSessionManager.ChestRef
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.service.PermissionChestService.PermTargets
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.service.PlayerNameIndex.NameEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.storage.EnderChestStorage.ExpiredRef
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.storage.EnderChestStorage.PlayerNameRecord
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.storage.EnderChestStorage.RawChestRow
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.storage.EnderChestStorage.RawPlayerRow
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.storage.StorageBackend.ChestKey
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.storage.StorageBackend.ExpiredKey
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.storage.StorageBackend.OwnerRows
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.enhancedechest.util.DurationFormat.Part
-
Indicates whether some other object is "equal to" this one.
- error(Throwable, String) - Method in class com.enhancedechest.telemetry.FastStatsTelemetry
- error(Throwable, String) - Method in interface com.enhancedechest.telemetry.Telemetry
-
Reports a handled-but-noteworthy failure (codec corruption, DB save failure, …) to error tracking, alongside the existing log line — never instead of it.
- evictIdle() - Method in class com.enhancedechest.storage.CachedStorage
-
Evicts every owner that is offline and fully flushed.
- evictSettings(UUID) - Method in class com.enhancedechest.service.PlayerSettingsCache
-
Evicts a player's cached settings on quit.
- execute(CommandSourceStack) - Static method in class com.enhancedechest.command.admin.ImportCommand
- execute(CommandSourceStack) - Static method in class com.enhancedechest.command.admin.ReloadCommand
- execute(CommandSourceStack) - Static method in class com.enhancedechest.command.EnderChestOpenCommand
- executeAll(CommandSourceStack) - Static method in class com.enhancedechest.command.admin.MigrateAxVaultsCommand
- executeAll(CommandSourceStack) - Static method in class com.enhancedechest.command.admin.MigrateCustomEnderChestCommand
- executeAll(CommandSourceStack) - Static method in class com.enhancedechest.command.admin.MigratePlayerVaultsXCommand
- executeAll(CommandSourceStack) - Static method in class com.enhancedechest.command.admin.MigrateVanillaCommand
- executeList(CommandSourceStack) - Static method in class com.enhancedechest.command.EnderChestOpenCommand
-
/eclist — opens the management dialog listing all of the player's chests.
- executeOpenTarget(CommandSourceStack, String) - Static method in class com.enhancedechest.command.EnderChestOpenCommand
-
/ec <#index | name> — opens a specific chest by index or custom name.
- executePlayer(CommandSourceStack, String) - Static method in class com.enhancedechest.command.admin.MigrateAxVaultsCommand
- executePlayer(CommandSourceStack, String) - Static method in class com.enhancedechest.command.admin.MigrateCustomEnderChestCommand
- executePlayer(CommandSourceStack, String) - Static method in class com.enhancedechest.command.admin.MigratePlayerVaultsXCommand
- executePlayer(CommandSourceStack, String) - Static method in class com.enhancedechest.command.admin.MigrateVanillaCommand
- ExpiredKey(String, int, int) - Constructor for record class com.enhancedechest.storage.StorageBackend.ExpiredKey
-
Creates an instance of a
ExpiredKeyrecord class. - ExpiredRef(UUID, int, ChestKind) - Constructor for record class com.enhancedechest.storage.EnderChestStorage.ExpiredRef
-
Creates an instance of a
ExpiredRefrecord class. - expiresAt() - Method in record class com.enhancedechest.model.ChestSummary
-
Returns the value of the
expiresAtrecord component. - expiresAt() - Method in record class com.enhancedechest.model.EnderChestData
-
Returns the value of the
expiresAtrecord component. - expiresAt() - Method in record class com.enhancedechest.storage.EnderChestStorage.RawChestRow
-
Returns the value of the
expiresAtrecord component. - ExpirySweeper - Class in com.enhancedechest.expiry
-
Periodically scans for expired chests and disposes of them.
- ExpirySweeper(ChestSpillService, EnderChestStorage, Scheduler, Logger, Telemetry, long) - Constructor for class com.enhancedechest.expiry.ExpirySweeper
F
- family(String) - Static method in record class com.enhancedechest.migration.SourceSpec
-
Collapses driver aliases to a family: mariadb→mysql, postgresql→postgres.
- FastStatsTelemetry - Class in com.enhancedechest.telemetry
-
FastStats-backed
Telemetry: oneBukkitContextcarrying custom metrics and error tracking. - findExpired(long) - Method in class com.enhancedechest.storage.CachedStorage
- findExpired(long) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Returns every chest whose expiry is set and at or before
now. - findExpired(long) - Method in class com.enhancedechest.storage.sql.AbstractSqlStorage
- findExpired(long) - Method in interface com.enhancedechest.storage.StorageBackend
-
Keys of every row whose
expires_atis set and at or beforenow. - findUuid(String) - Method in class com.enhancedechest.service.PlayerNameIndex
-
Case-insensitive point lookup, O(log n) — used to resolve an already-typed name to a UUID.
- findUuidByName(String) - Method in class com.enhancedechest.storage.CachedStorage
- findUuidByName(String) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Resolves a stored in-game name to its UUID, case-insensitively, or
nullif no player with that name has been recorded. - findUuidByName(String) - Method in class com.enhancedechest.storage.sql.AbstractSqlStorage
- findUuidByName(String) - Method in interface com.enhancedechest.storage.StorageBackend
-
Resolves a stored username to its UUID string, case-insensitively, or null when unknown.
- findUuidByNameAsync(String) - Method in class com.enhancedechest.service.StorageGateway
-
Resolves a stored in-game name to its UUID (case-insensitive), or completes with null on a miss.
- finishRelease(UUID) - Method in interface com.enhancedechest.crossserver.CrossServerCoordinator
-
Completes a
CrossServerCoordinator.beginRelease(java.util.UUID): deletes the lock key and notifies waiting servers. - finishRelease(UUID) - Method in class com.enhancedechest.crossserver.RedisCoordinator
- flush() - Method in class com.enhancedechest.storage.CachedStorage
-
Writes every dirty row back to SQL.
- flushDirty(List<EnderChestStorage.RawChestRow>, List<StorageBackend.ChestKey>, List<EnderChestStorage.RawPlayerRow>) - Method in class com.enhancedechest.storage.sql.AbstractSqlStorage
- flushDirty(List<EnderChestStorage.RawChestRow>, List<StorageBackend.ChestKey>, List<EnderChestStorage.RawPlayerRow>) - Method in interface com.enhancedechest.storage.StorageBackend
-
Writes every dirty row back in one transaction: each
chestUpserts/playerRowsrow replaces whatever the table holds for its key (native dialect upsert), and everychestDeleteskey is removed. - flushOwner(UUID) - Method in class com.enhancedechest.storage.CachedStorage
-
Writes one quitter's dirty rows back, then evicts them if clean and still offline.
- flushQuitterLater(UUID) - Method in class com.enhancedechest.storage.AutosaveService
-
Schedules one player's write-back + eviction shortly after they quit (see
AutosaveService.QUIT_FLUSH_DELAY_MS). - forceCloseAll(UUID, int) - Method in class com.enhancedechest.service.ChestSessionManager
-
Force-closes the GUI of every viewer of
(owner, index), then persists the shared contents and tears down the session — returning a future that completes once the save has been registered inChestSessionManager.pendingSaves. - formatRemaining(long) - Static method in class com.enhancedechest.util.DurationFormat
-
Compact, non-localized form of
DurationFormat.remainingParts(long)("1d 4h","0s") for logs and the startup banner. - fromCode(int) - Static method in enum class com.enhancedechest.model.ChestKind
-
Resolves a stored code back to a kind; unknown codes fall back to
ChestKind.NORMAL.
G
- get(String, String...) - Method in class com.enhancedechest.lang.LanguageManager
-
Resolves a message key.
- get(Locale, String, String...) - Method in class com.enhancedechest.lang.LanguageManager
-
Locale-resolved variants of
LanguageManager.get(java.lang.String, java.lang.String...)/LanguageManager.getGui(java.lang.String, java.lang.String...)/LanguageManager.getChestLabel(java.util.Locale, int, java.lang.String, com.enhancedechest.model.ChestKind), returning a component already rendered forlocaleinstead of a deferred translatable. - getAppliedDefaultSize(UUID) - Method in class com.enhancedechest.storage.CachedStorage
- getAppliedDefaultSize(UUID) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Reads the persisted
applied_default_sizebaseline — the base-chest size currently dictated by the player'senhancedechest.default_size.<size>permission, or0when the base chest is not permission-managed. - getAppliedDefaultSizeAsync(UUID) - Method in class com.enhancedechest.service.StorageGateway
-
Reads the persisted permission-managed base-chest baseline (0 = base chest is not managed).
- getArgs(String, ComponentLike...) - Method in class com.enhancedechest.lang.LanguageManager
-
Deferred message with an arbitrary mix of arguments — pass ready-made
Argument.string(java.lang.String, java.lang.String)/Argument.component(java.lang.String, net.kyori.adventure.text.ComponentLike)objects. - getChestLabel(int, String, ChestKind) - Method in class com.enhancedechest.lang.LanguageManager
-
Resolves a chest's display label.
- getChestLabel(Locale, int, String, ChestKind) - Method in class com.enhancedechest.lang.LanguageManager
- getChestTitle(int, String) - Method in class com.enhancedechest.lang.LanguageManager
-
Resolves the inventory/display title for a chest.
- getGui(String, String...) - Method in class com.enhancedechest.lang.LanguageManager
-
Resolves a GUI/dialog label from gui.yml (no prefix).
- getGui(Locale, String, String...) - Method in class com.enhancedechest.lang.LanguageManager
- getGuiArgs(Locale, String, ComponentLike...) - Method in class com.enhancedechest.lang.LanguageManager
-
Eager, locale-rendered GUI label taking the same arbitrary
Argumentmix asLanguageManager.getArgs(java.lang.String, net.kyori.adventure.text.ComponentLike...). - getInventory() - Method in class com.enhancedechest.gui.ChestListHolder
- getInventory() - Method in class com.enhancedechest.gui.EnderChestHolder
- getMiniMessageString(String, Locale) - Method in class com.enhancedechest.lang.EnhancedEchestTranslator
- getPrimaryIndex(UUID) - Method in class com.enhancedechest.storage.CachedStorage
- getPrimaryIndex(UUID) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Returns the index of the chest /ec opens: the primary if one is flagged, otherwise the lowest-indexed chest.
- getRich(String, String, ComponentLike) - Method in class com.enhancedechest.lang.LanguageManager
-
Like
LanguageManager.get(java.lang.String, java.lang.String...)but binds a single argument to a ready-madeComponentLikerather than a plain string — for values that must carry their own formatting or interactivity (e.g. - GITHUB_RELEASES - Static variable in class com.enhancedechest.update.UpdateChecker
- GUI - Static variable in class com.enhancedechest.config.ConfigMigrations
-
Renames applied to
language/<locale>/gui.yml.
H
- hasActivity(UUID) - Method in class com.enhancedechest.service.ChestSessionManager
-
True while any chest of
ownerhas a live session or an in-flight save/exclusive op. - hashCode() - Method in record class com.enhancedechest.config.YamlMigrator.Rename
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.gui.dialog.ChestDialogs.DetailContext
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.gui.dialog.IconCatalog.Entry
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.migration.AxVaultsMigrationService.Result
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.migration.AxVaultsReader.VaultRow
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.migration.CustomEnderChestMigrationService.Result
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.migration.CustomEnderChestReader.PlayerData
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.migration.DatabaseImportService.Result
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.migration.PlayerVaultsXMigrationService.Result
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.migration.PlayerVaultsXReader.VaultRow
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.migration.SourceDatabaseReader.Data
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.migration.SourceSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.model.ChestSummary
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.model.EnderChestData
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.model.PlayerSettings
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.service.ChestSessionManager.ChestRef
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.service.PermissionChestService.PermTargets
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.service.PlayerNameIndex.NameEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.storage.EnderChestStorage.ExpiredRef
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.storage.EnderChestStorage.PlayerNameRecord
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.storage.EnderChestStorage.RawChestRow
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.storage.EnderChestStorage.RawPlayerRow
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.storage.StorageBackend.ChestKey
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.storage.StorageBackend.ExpiredKey
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.storage.StorageBackend.OwnerRows
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.enhancedechest.util.DurationFormat.Part
-
Returns a hash code value for this object.
- host() - Method in record class com.enhancedechest.migration.SourceSpec
-
Returns the value of the
hostrecord component.
I
- icon() - Method in record class com.enhancedechest.model.ChestSummary
-
Returns the value of the
iconrecord component. - icon() - Method in record class com.enhancedechest.model.EnderChestData
-
Returns the value of the
iconrecord component. - icon() - Method in record class com.enhancedechest.storage.EnderChestStorage.RawChestRow
-
Returns the value of the
iconrecord component. - IconCatalog - Class in com.enhancedechest.gui.dialog
-
Catalog of pickable chest icons, backed by the server's
Materialregistry, plus helpers to render a chosen icon as an Adventure sprite object component — the icon shown inside Dialog action buttons (since1.21.9/ Adventure 4.25.0, no resource pack required). - IconCatalog.Entry - Record Class in com.enhancedechest.gui.dialog
-
One pickable icon: a material with its precomputed display name, reusable sprite component, and a translatable name component.
- iconMaterial() - Method in record class com.enhancedechest.migration.AxVaultsReader.VaultRow
-
Returns the value of the
iconMaterialrecord component. - iconPickerDialog(ChestSummary, ChestDialogs.DetailContext, String) - Method in class com.enhancedechest.gui.dialog.ChestDialogs
-
Icon picker: a single, searchable, scrollable grid of every matching material rendered with its in-game sprite (via
IconCatalog). - id() - Method in record class com.enhancedechest.migration.AxVaultsReader.VaultRow
-
Returns the value of the
idrecord component. - id() - Method in record class com.enhancedechest.migration.PlayerVaultsXReader.VaultRow
-
Returns the value of the
idrecord component. - identity(String, String, String, int, String, Path) - Static method in record class com.enhancedechest.migration.SourceSpec
-
Builds the same identity string from raw parts (used for the active destination config too).
- identity(Path) - Method in record class com.enhancedechest.migration.SourceSpec
-
A stable identity string for equality checks against the active destination, so an import that would read from the very database it is writing into can be refused.
- ImportCommand - Class in com.enhancedechest.command.admin
-
/enhancedechest import— opens the DB→DB import dialog so an admin can copy all EnhancedEchest data from an old database backend into the plugin's active backend. - importDialog(Locale) - Method in class com.enhancedechest.gui.dialog.ChestDialogs
-
DB→DB import dialog (
/ee import), no-arg entry point — opens the form with SQLite selected. - importDialog(Locale, SourceSpec) - Method in class com.enhancedechest.gui.dialog.ChestDialogs
-
DB→DB import dialog for a given (in-progress)
SourceSpec. - importFrom(SourceSpec) - Method in class com.enhancedechest.migration.DatabaseImportService
-
Reads the source described by
specin full and writes it into the active destination in one transaction. - importRows(List<EnderChestStorage.RawPlayerRow>, List<EnderChestStorage.RawChestRow>) - Method in class com.enhancedechest.storage.CachedStorage
- importRows(List<EnderChestStorage.RawPlayerRow>, List<EnderChestStorage.RawChestRow>) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Bulk-inserts raw
playersandenderchestsrows verbatim into this (fresh, active) backend, in a single transaction. - importRows(List<EnderChestStorage.RawPlayerRow>, List<EnderChestStorage.RawChestRow>) - Method in class com.enhancedechest.storage.sql.AbstractSqlStorage
- importRows(List<EnderChestStorage.RawPlayerRow>, List<EnderChestStorage.RawChestRow>) - Method in interface com.enhancedechest.storage.StorageBackend
-
Bulk-inserts raw
playersandenderchestsrows verbatim into this (fresh) backend, in a single transaction — the DB→DB conversion primitive behind/ee import. - index() - Method in record class com.enhancedechest.model.ChestSummary
-
Returns the value of the
indexrecord component. - index() - Method in record class com.enhancedechest.model.EnderChestData
-
Returns the value of the
indexrecord component. - index() - Method in record class com.enhancedechest.service.ChestSessionManager.ChestRef
-
Returns the value of the
indexrecord component. - index() - Method in record class com.enhancedechest.storage.EnderChestStorage.ExpiredRef
-
Returns the value of the
indexrecord component. - indexName(UUID, String) - Method in class com.enhancedechest.service.PlayerSettingsCache
-
Records a name in the in-memory
PlayerNameIndexonly, with no DB write — called on join, where the name is already in hand, so an admin can tab-complete the player immediately instead of waiting onPlayerSettingsCache.preloadSettings(java.util.UUID, java.lang.String)'s round trip (or losing the name entirely if the startup index load failed). - init() - Method in class com.enhancedechest.crossserver.RedisCoordinator
-
Verifies the connection (PING), then starts the pub/sub subscriber thread and the heartbeat.
- init() - Method in class com.enhancedechest.storage.CachedStorage
-
Initializes the SQL backend (schema + migrations).
- init() - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Creates schema and prepares connections.
- init() - Method in class com.enhancedechest.storage.sql.AbstractSqlStorage
- init() - Method in interface com.enhancedechest.storage.StorageBackend
-
Creates schema, runs schema migrations, and prepares connections.
- INVENTORY - Enum constant in enum class com.enhancedechest.config.PluginConfig.ListMenuType
-
A plain 27-slot inventory chooser: clicking a chest opens it; no management actions.
- isActivityRecording() - Method in class com.enhancedechest.service.ChestSessionManager
-
Marks a chest as edited during its current session, from the click/drag listener on the viewer's own thread.
- isGlobalTickThread() - Method in class com.enhancedechest.scheduler.Scheduler
-
True if the current thread is the global bookkeeping thread (main on Paper, global region on Folia).
- isHeld(UUID) - Method in interface com.enhancedechest.crossserver.CrossServerCoordinator
-
Whether this server currently holds
owner's lock (cheap, local — no network I/O). - isHeld(UUID) - Method in class com.enhancedechest.crossserver.RedisCoordinator
- isHeldElsewhere(UUID) - Method in interface com.enhancedechest.crossserver.CrossServerCoordinator
-
Whether
owner's lock is currently held by a different server (network read). - isHeldElsewhere(UUID) - Method in class com.enhancedechest.crossserver.RedisCoordinator
- isMigrated(UUID) - Method in class com.enhancedechest.storage.CachedStorage
- isMigrated(UUID) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Returns true if the player's chest #1 has its migrated flag set.
- isNameBlocked(String) - Method in class com.enhancedechest.config.PluginConfig
-
True when a proposed custom chest name is disallowed by
enderchest.features.rename-blacklist. - isPinned(UUID) - Method in class com.enhancedechest.storage.CachedStorage
-
Whether an owner is currently pinned (online here).
- isPrimary() - Method in record class com.enhancedechest.storage.EnderChestStorage.RawChestRow
-
Returns the value of the
isPrimaryrecord component. - isSqlite() - Method in record class com.enhancedechest.migration.SourceSpec
-
True when this spec describes a file-based SQLite source.
- isValidSize(int) - Static method in class com.enhancedechest.config.PluginConfig
-
True if size is a positive multiple of 9 and at most 54.
- item(String) - Static method in class com.enhancedechest.gui.dialog.IconCatalog
-
A real item icon for the detail-dialog body, or null if the key is null/unknown/not an item.
- items() - Method in record class com.enhancedechest.migration.AxVaultsReader.VaultRow
-
Returns the value of the
itemsrecord component. - items() - Method in record class com.enhancedechest.migration.CustomEnderChestReader.PlayerData
-
Returns the value of the
itemsrecord component. - items() - Method in record class com.enhancedechest.migration.PlayerVaultsXReader.VaultRow
-
Returns the value of the
itemsrecord component.
J
- JoinMigrationListener - Class in com.enhancedechest.listener
-
Auto-migrates un-migrated players on join when migration mode is ON.
- JoinMigrationListener() - Constructor for class com.enhancedechest.listener.JoinMigrationListener
K
- key() - Method in record class com.enhancedechest.gui.dialog.IconCatalog.Entry
-
Returns the value of the
keyrecord component. - kind() - Method in record class com.enhancedechest.model.ChestSummary
-
Returns the value of the
kindrecord component. - kind() - Method in record class com.enhancedechest.model.EnderChestData
-
Returns the value of the
kindrecord component. - kind() - Method in record class com.enhancedechest.storage.EnderChestStorage.ExpiredRef
-
Returns the value of the
kindrecord component. - kind() - Method in record class com.enhancedechest.storage.EnderChestStorage.RawChestRow
-
Returns the value of the
kindrecord component. - kind() - Method in record class com.enhancedechest.storage.StorageBackend.ExpiredKey
-
Returns the value of the
kindrecord component.
L
- LanguageManager - Class in com.enhancedechest.lang
-
Loads the plugin's language files and exposes them as Adventure
Components. - LanguageManager(JavaPlugin, PluginConfig, String) - Constructor for class com.enhancedechest.lang.LanguageManager
- lastOnline() - Method in record class com.enhancedechest.service.PlayerNameIndex.NameEntry
-
Returns the value of the
lastOnlinerecord component. - lastOnline() - Method in record class com.enhancedechest.storage.EnderChestStorage.PlayerNameRecord
-
Returns the value of the
lastOnlinerecord component. - lastOnline() - Method in record class com.enhancedechest.storage.EnderChestStorage.RawPlayerRow
-
Returns the value of the
lastOnlinerecord component. - lastUpdated() - Method in record class com.enhancedechest.storage.EnderChestStorage.RawChestRow
-
Returns the value of the
lastUpdatedrecord component. - listChests(UUID) - Method in class com.enhancedechest.storage.CachedStorage
- listChests(UUID) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Returns the player's chests ordered by index.
- listChestsAsync(UUID) - Method in class com.enhancedechest.service.StorageGateway
- listDialog(Locale, List<ChestSummary>, boolean, Location, boolean) - Method in class com.enhancedechest.gui.dialog.ChestDialogs
-
Top-level list: one button per chest, plus an in-dialog "edit mode" checkbox.
- listOwners() - Method in class com.enhancedechest.migration.CustomEnderChestReader
-
Returns the owner UUIDs of every readable player file in
playerdata, skipping bad names. - listOwners() - Method in class com.enhancedechest.migration.PlayerVaultsXReader
-
Returns the owner UUIDs of every readable vault file in
newvaults, skipping bad names. - loadAll() - Method in class com.enhancedechest.service.PlayerNameIndex
-
Loads every known (uuid, username, last-seen) triple from the DB once.
- loadAllPlayerNames() - Method in class com.enhancedechest.storage.CachedStorage
- loadAllPlayerNames() - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Returns every recorded player with a non-null username, with the epoch-ms they were last seen (
0when never recorded). - loadAllPlayerNamesAsync() - Method in class com.enhancedechest.service.StorageGateway
-
Loads every recorded (uuid, username, last-seen) triple once, to populate
PlayerNameIndexat startup. - loadAllPlayers() - Method in class com.enhancedechest.storage.sql.AbstractSqlStorage
- loadAllPlayers() - Method in interface com.enhancedechest.storage.StorageBackend
-
Reads every
playersrow verbatim. - loadChest(UUID, int) - Method in class com.enhancedechest.storage.CachedStorage
- loadChest(UUID, int) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Loads a single chest, or null if no such (owner, index) row exists.
- loadOwner(String) - Method in class com.enhancedechest.storage.sql.AbstractSqlStorage
- loadOwner(String) - Method in interface com.enhancedechest.storage.StorageBackend
-
Reads one player's
enderchestsrows andplayersrow verbatim in a single connection acquisition (lazy cache load on first touch — the hottest backend read, so it must not pay for two pool round-trips). - loadSettings(UUID) - Method in class com.enhancedechest.storage.CachedStorage
- loadSettings(UUID) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Loads the player's settings, or
PlayerSettings.defaults()if they have no row yet. - loadSettingsAsync(UUID) - Method in class com.enhancedechest.service.PlayerSettingsCache
-
Returns the player's settings, served from the cache when present (the common case for an online player).
- locale() - Method in record class com.enhancedechest.gui.dialog.ChestDialogs.DetailContext
-
Returns the value of the
localerecord component. - lowerName() - Method in record class com.enhancedechest.gui.dialog.IconCatalog.Entry
-
Returns the value of the
lowerNamerecord component.
M
- markSeenAsync(UUID, String) - Method in class com.enhancedechest.service.PlayerSettingsCache
-
Records that the player is here now: their in-game name (offline
/ee viewresolution) andlast_online, which decides how long they keep showing up in admin name suggestions. - markTouched(UUID, int) - Method in class com.enhancedechest.service.ChestSessionManager
- material() - Method in record class com.enhancedechest.gui.dialog.IconCatalog.Entry
-
Returns the value of the
materialrecord component. - material(String) - Static method in class com.enhancedechest.gui.dialog.IconCatalog
-
Resolves a material key string (e.g.
- MAX_CHESTS - Static variable in class com.enhancedechest.gui.ChestListMenu
-
Largest chest count the inventory chooser can show: the 54-slot menu's 4 inner rows × 7 columns = 28.
- MAX_SIZE - Static variable in class com.enhancedechest.serialization.ContainerCodec
-
Maximum slot count of any ender chest (vanilla double-chest size).
- MESSAGES - Static variable in class com.enhancedechest.config.ConfigMigrations
-
Renames applied to
language/<locale>/messages.yml. - migrate(File, InputStream, List<YamlMigrator.Rename>, Logger) - Static method in class com.enhancedechest.config.YamlMigrator
-
Migrates
fileagainstdefaultStream. - migrateAll() - Method in class com.enhancedechest.migration.AxVaultsMigrationService
-
Migrates every player found in the AxVaults database.
- migrateAll() - Method in class com.enhancedechest.migration.CustomEnderChestMigrationService
-
Migrates every player found in the CustomEnderChest playerdata folder.
- migrateAll() - Method in class com.enhancedechest.migration.PlayerVaultsXMigrationService
-
Migrates every player found in the PlayerVaultsX vault folder.
- MigrateAxVaultsCommand - Class in com.enhancedechest.command.admin
-
/enhancedechest migrate axvaults [all|<player>]— imports vaults from an AxVaults database into EnhancedEchest. - MigrateCustomEnderChestCommand - Class in com.enhancedechest.command.admin
-
/enhancedechest migrate customenderchest [all|<player>]— imports ender chests from a CustomEnderChest installation into EnhancedEchest. - migrated() - Method in record class com.enhancedechest.storage.EnderChestStorage.RawChestRow
-
Returns the value of the
migratedrecord component. - migrateOnline(Player) - Method in class com.enhancedechest.migration.MigrationService
-
Migrates a live online player's vanilla enderchest into their chest #1, in three phases: Entity thread — snapshot the vanilla contents (cloned, so the stacks can safely cross threads); Exclusive DB phase — force-close any live session of chest #1, then (behind its save) re-check the migrated flag, ensure chest #1 exists, merge the snapshot into the chest's current contents (never resizing it — overflow spills to a temp chest), and commit contents + overflow + migrated flag in one atomic transaction.
- migratePlayer(UUID) - Method in class com.enhancedechest.migration.AxVaultsMigrationService
-
Migrates a single player by UUID.
- migratePlayer(UUID) - Method in class com.enhancedechest.migration.CustomEnderChestMigrationService
-
Migrates a single player by UUID.
- migratePlayer(UUID) - Method in class com.enhancedechest.migration.PlayerVaultsXMigrationService
-
Migrates a single player by UUID.
- MigratePlayerVaultsXCommand - Class in com.enhancedechest.command.admin
-
/enhancedechest migrate playervaultsx [all|<player>]— imports vaults from a PlayerVaultsX installation into EnhancedEchest. - MigrateVanillaCommand - Class in com.enhancedechest.command.admin
-
/enhancedechest migrate vanilla [all|<player>]— migrates online players' vanilla ender chests into their EnhancedEchest chest #1. - MigrationService - Class in com.enhancedechest.migration
-
Orchestrates migration of vanilla enderchest data into the plugin's storage.
- MigrationService(EnderChestStorage, ContainerCodec, Logger, ChestSessionManager, Scheduler, Telemetry, long) - Constructor for class com.enhancedechest.migration.MigrationService
- MODRINTH_PAGE - Static variable in class com.enhancedechest.update.UpdateChecker
- MysqlStorage - Class in com.enhancedechest.storage.sql
- MysqlStorage(PluginConfig) - Constructor for class com.enhancedechest.storage.sql.MysqlStorage
N
- name() - Method in record class com.enhancedechest.gui.dialog.IconCatalog.Entry
-
Returns the value of the
namerecord component. - name() - Method in class com.enhancedechest.lang.EnhancedEchestTranslator
- NameEntry(UUID, String, long) - Constructor for record class com.enhancedechest.service.PlayerNameIndex.NameEntry
-
Creates an instance of a
NameEntryrecord class. - newPath() - Method in record class com.enhancedechest.config.YamlMigrator.Rename
-
Returns the value of the
newPathrecord component. - NOOP - Static variable in interface com.enhancedechest.crossserver.CrossServerCoordinator
-
Single-server no-op: acquires always succeed, nothing is ever released.
- NOOP - Static variable in interface com.enhancedechest.telemetry.Telemetry
-
Shared inert instance used when telemetry is disabled.
- NORMAL - Enum constant in enum class com.enhancedechest.model.ChestKind
- notifyReclaimed(UUID, int) - Method in class com.enhancedechest.service.TempReclaimNotifier
-
Called from the DB executor the moment a reclaim reports success.
O
- oldPath() - Method in record class com.enhancedechest.config.YamlMigrator.Rename
-
Returns the value of the
oldPathrecord component. - ON_CONFLICT - Enum constant in enum class com.enhancedechest.storage.sql.AbstractSqlStorage.UpsertSyntax
-
SQLite and PostgreSQL:
ON CONFLICT (keys) DO UPDATE SET col = excluded.col. - ON_DUPLICATE_KEY - Enum constant in enum class com.enhancedechest.storage.sql.AbstractSqlStorage.UpsertSyntax
-
MySQL and MariaDB:
ON DUPLICATE KEY UPDATE col = VALUES(col). - onClick(InventoryClickEvent) - Method in class com.enhancedechest.listener.ChestListMenuListener
-
Cancels every click while the chooser is open (whichever inventory was clicked, so shift-click and double-click-collect can't pull the player's own items into it either) and, when the click landed on a chest icon in the menu itself, opens that chest.
- onClick(InventoryClickEvent) - Method in class com.enhancedechest.listener.EnderChestGuiListener
-
Guards item moves on an open chest GUI: Read-only viewers — an admin viewing someone else's chest without the edit permission — cannot change the shared contents at all; any action touching the top inventory is cancelled (they still see live updates). Temporary chests are take-only for everyone: deposits into the top inventory are cancelled, take-outs left untouched.
- onClickMarkTouched(InventoryClickEvent) - Method in class com.enhancedechest.listener.EnderChestGuiListener
-
Records that the shared chest was actually edited, for the activity log.
- onClose(InventoryCloseEvent) - Method in class com.enhancedechest.listener.EnderChestGuiListener
-
Detaches the closing player from the shared session on every close, regardless of reason.
- onDisable() - Method in class com.enhancedechest.EnhancedEchestPlugin
- onDrag(InventoryDragEvent) - Method in class com.enhancedechest.listener.ChestListMenuListener
-
Rejects any drag on the chooser — nothing may be placed into it.
- onDrag(InventoryDragEvent) - Method in class com.enhancedechest.listener.EnderChestGuiListener
-
Cancels any drag that would spread items into the top inventory slots — rejected outright for a read-only viewer, and for everyone on a temporary (take-only) chest.
- onDragMarkTouched(InventoryDragEvent) - Method in class com.enhancedechest.listener.EnderChestGuiListener
-
Same as
EnderChestGuiListener.onClickMarkTouched(org.bukkit.event.inventory.InventoryClickEvent)for a drag that spreads items into the chest. - onEnable() - Method in class com.enhancedechest.EnhancedEchestPlugin
- onInteract(PlayerInteractEvent) - Method in class com.enhancedechest.listener.VanillaEnderChestListener
- onJoin(PlayerJoinEvent) - Method in class com.enhancedechest.listener.JoinMigrationListener
- onJoin(PlayerJoinEvent) - Method in class com.enhancedechest.listener.PlayerSettingsListener
- onJoin(PlayerJoinEvent) - Method in class com.enhancedechest.listener.TempChestJoinNotifyListener
- onJoin(PlayerJoinEvent) - Method in class com.enhancedechest.update.UpdateNotifyListener
- onQuit(PlayerQuitEvent) - Method in class com.enhancedechest.listener.EnderChestGuiListener
-
Backstop cleanup for
EnderChestGuiListener.lastDenySoundAt: unconditional, since a quitting player might not have had a chest open (nothing to do) or might have closed without firingEnderChestGuiListener.onClose(org.bukkit.event.inventory.InventoryCloseEvent)(the same edge casePlayerQuitListenerbackstops for sessions). - onQuit(PlayerQuitEvent) - Method in class com.enhancedechest.listener.PlayerQuitListener
- onQuit(PlayerQuitEvent) - Method in class com.enhancedechest.listener.PlayerSettingsListener
- open(SourceSpec, Path, Logger, String) - Static method in class com.enhancedechest.migration.SourceDatabaseReader
-
Opens the source database described by
spec, read-only. - open(Path, Logger) - Static method in class com.enhancedechest.migration.AxVaultsReader
-
Opens the AxVaults SQLite database (
data.db) found inaxVaultsFolder(typicallyplugins/AxVaults). - open(Player, UUID, int, Location) - Method in class com.enhancedechest.service.ChestSessionManager
-
The single funnel through which every chest open passes.
- open(Player, Location) - Method in class com.enhancedechest.service.ChestOpener
-
Default open entry point for
/enderchestand right-click: 0 or 1 normal chest and no temp chest — opens that chest directly (creating chest #1 if the player owns none); 2+ normal chests, no temp chest, an explicit main is set and the player may use it — opens the main directly; otherwise — opens the management list dialog so the player picks (or sets a main). - open(Player, Location) - Static method in class com.enhancedechest.gui.EnderChestAnimator
-
Plays the open animation and sound on the ender chest at
blockLoc. - openAdminClearConfirm(Player, String, UUID, int) - Method in class com.enhancedechest.service.ChestOpener
-
Shows the "are you sure?" confirmation before an admin clears a chest (guards the destructive wipe).
- openAdminDetail(Player, String, UUID, int) - Method in class com.enhancedechest.service.ChestOpener
-
Shows the per-chest detail dialog for the target's chest, in an admin context: same menu the owner sees, but mutations target the owner's chest.
- openAdminViewList(Player, String, UUID) - Method in class com.enhancedechest.service.ChestOpener
-
Reloads the target's chests and shows the admin view-list dialog (used for Back from a detail dialog).
- openByQuery(Player, String) - Method in class com.enhancedechest.service.ChestOpener
-
Opens a chest selected by a free-text query from
/ec <chest>:#N(or a bare positive integer) opens the chest with that index; anything else is matched case-insensitively against players' custom chest names. A miss reportschest.not-foundrather than silently opening the primary chest. - openChest(Player, int, Location) - Method in class com.enhancedechest.service.ChestOpener
-
Opens a specific chest by index (from the management dialog), sharing the live session.
- openDetailDialog(Player, int) - Method in class com.enhancedechest.service.ChestOpener
-
Shows the per-chest detail dialog for the player's own chest (Open / Rename / Icon / Sort / Set-main / Back).
- openDetailDialog(Player, ChestDialogs.DetailContext, int) - Method in class com.enhancedechest.service.ChestOpener
-
Re-shows the detail dialog in an explicit context (own or admin), reloading the chest first.
- opened(String, UUID, UUID, int, ItemStack[]) - Method in class com.enhancedechest.service.ChestActivityLogger
-
Captures OPEN on the Bukkit-owned thread.
- openListDialog(Player) - Method in class com.enhancedechest.service.ChestOpener
-
Loads the player's chests and shows the /eclist management dialog, seeding edit mode from their saved preference.
- openListDialog(Player, boolean, Location) - Method in class com.enhancedechest.service.ChestOpener
-
Loads the player's chests and shows the management dialog with the edit-mode checkbox in the given starting state.
- openListDialog(Player, Location) - Method in class com.enhancedechest.service.ChestOpener
-
Same as
ChestOpener.openListDialog(Player), but remembers the ender chest block the list was opened from (shift + right-click) so a chest picked from it still animates that block's lid. - openRenameDialog(Player, int) - Method in class com.enhancedechest.service.ChestOpener
-
Shows the dedicated rename dialog for the player's own chest.
- OVERRIDE - Enum constant in enum class com.enhancedechest.service.ChestTransferService.ConflictPolicy
-
Discard the destination's existing items.
- owner() - Method in record class com.enhancedechest.gui.dialog.ChestDialogs.DetailContext
-
Returns the value of the
ownerrecord component. - owner() - Method in record class com.enhancedechest.migration.AxVaultsReader.VaultRow
-
Returns the value of the
ownerrecord component. - owner() - Method in record class com.enhancedechest.migration.CustomEnderChestReader.PlayerData
-
Returns the value of the
ownerrecord component. - owner() - Method in record class com.enhancedechest.migration.PlayerVaultsXReader.VaultRow
-
Returns the value of the
ownerrecord component. - owner() - Method in record class com.enhancedechest.model.EnderChestData
-
Returns the value of the
ownerrecord component. - owner() - Method in record class com.enhancedechest.service.ChestSessionManager.ChestRef
-
Returns the value of the
ownerrecord component. - owner() - Method in record class com.enhancedechest.storage.EnderChestStorage.ExpiredRef
-
Returns the value of the
ownerrecord component. - ownerName() - Method in record class com.enhancedechest.gui.dialog.ChestDialogs.DetailContext
-
Returns the value of the
ownerNamerecord component. - OwnerRows(List<EnderChestStorage.RawChestRow>, EnderChestStorage.RawPlayerRow) - Constructor for record class com.enhancedechest.storage.StorageBackend.OwnerRows
-
Creates an instance of a
OwnerRowsrecord class.
P
- parse(String) - Static method in class com.enhancedechest.util.DurationFormat
-
Parses a duration string into milliseconds.
- Part(long, String) - Constructor for record class com.enhancedechest.util.DurationFormat.Part
-
Creates an instance of a
Partrecord class. - password() - Method in record class com.enhancedechest.migration.SourceSpec
-
Returns the value of the
passwordrecord component. - performImport(Player, SourceSpec) - Method in class com.enhancedechest.service.ChestOpener
-
Validates the submitted source connection form, runs the pre-flight guards, and — if they pass — copies the source database into the active backend off the region thread, reporting the result.
- PERM - Enum constant in enum class com.enhancedechest.model.ChestKind
- PermissionChestService - Class in com.enhancedechest.service
-
Grants and revokes ender chests based on a player's permissions.
- PermissionChestService(StorageGateway, ChestSpillService, int) - Constructor for class com.enhancedechest.service.PermissionChestService
- PermissionChestService.PermTargets - Record Class in com.enhancedechest.service
-
Both permission-derived targets, resolved together: the PERM-chest target as
size → countand the base-chest size override (the largest validdefault_sizepermission held, or0for none). - PermTargets(Map<Integer, Integer>, int) - Constructor for record class com.enhancedechest.service.PermissionChestService.PermTargets
-
Creates an instance of a
PermTargetsrecord class. - pin(UUID) - Method in class com.enhancedechest.storage.CachedStorage
-
Marks an owner online: their rows survive every eviction until
CachedStorage.unpin(java.util.UUID). - plainChestName(String) - Method in class com.enhancedechest.lang.LanguageManager
-
The plain, formatting-stripped text a chest name would display as — used to match against the rename blacklist so colour codes or MiniMessage tags can't be used to smuggle a banned word past the filter (e.g.
- player() - Method in record class com.enhancedechest.storage.StorageBackend.OwnerRows
-
Returns the value of the
playerrecord component. - PlayerData(UUID, ItemStack[]) - Constructor for record class com.enhancedechest.migration.CustomEnderChestReader.PlayerData
-
Creates an instance of a
PlayerDatarecord class. - PlayerNameIndex - Class in com.enhancedechest.service
-
In-memory index of every player name the plugin has ever recorded (the
players.usernamecolumn — seePlayerSettingsCache#markSeenAsync), used to answer offline-player tab-completion and name resolution from memory instead of hitting the DB on every keystroke. - PlayerNameIndex(StorageGateway, Logger, Telemetry, long) - Constructor for class com.enhancedechest.service.PlayerNameIndex
- PlayerNameIndex.NameEntry - Record Class in com.enhancedechest.service
-
One recorded player: their current known name, UUID, and the epoch-ms they were last seen (
0when never recorded — a row that predates last-online tracking). - PlayerNameRecord(UUID, String, long) - Constructor for record class com.enhancedechest.storage.EnderChestStorage.PlayerNameRecord
-
Creates an instance of a
PlayerNameRecordrecord class. - PlayerQuitListener - Class in com.enhancedechest.listener
-
Backstop detach when the player disconnects while the custom GUI is open.
- PlayerQuitListener() - Constructor for class com.enhancedechest.listener.PlayerQuitListener
- PlayerResolver - Class in com.enhancedechest.command.admin
-
Resolves a player name to a UUID for admin commands, working for offline players.
- players() - Method in record class com.enhancedechest.migration.DatabaseImportService.Result
-
Returns the value of the
playersrecord component. - players() - Method in record class com.enhancedechest.migration.SourceDatabaseReader.Data
-
Returns the value of the
playersrecord component. - PlayerSettings - Record Class in com.enhancedechest.model
-
Per-player state, persisted one row per player in
players. - PlayerSettings(boolean, int, String) - Constructor for record class com.enhancedechest.model.PlayerSettings
-
Creates an instance of a
PlayerSettingsrecord class. - PlayerSettingsCache - Class in com.enhancedechest.service
-
Write-through read cache of per-player settings, keyed by UUID.
- PlayerSettingsCache(EnderChestStorage, DbExecutor, Logger, PlayerNameIndex, Telemetry) - Constructor for class com.enhancedechest.service.PlayerSettingsCache
- PlayerSettingsListener - Class in com.enhancedechest.listener
-
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
loadSettingscall 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: stamplast_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. - PlayerSettingsListener() - Constructor for class com.enhancedechest.listener.PlayerSettingsListener
- playersFailed() - Method in record class com.enhancedechest.migration.AxVaultsMigrationService.Result
-
Returns the value of the
playersFailedrecord component. - playersFailed() - Method in record class com.enhancedechest.migration.CustomEnderChestMigrationService.Result
-
Returns the value of the
playersFailedrecord component. - playersFailed() - Method in record class com.enhancedechest.migration.PlayerVaultsXMigrationService.Result
-
Returns the value of the
playersFailedrecord component. - playersMigrated() - Method in record class com.enhancedechest.migration.AxVaultsMigrationService.Result
-
Returns the value of the
playersMigratedrecord component. - playersMigrated() - Method in record class com.enhancedechest.migration.CustomEnderChestMigrationService.Result
-
Returns the value of the
playersMigratedrecord component. - playersMigrated() - Method in record class com.enhancedechest.migration.PlayerVaultsXMigrationService.Result
-
Returns the value of the
playersMigratedrecord component. - playersSkipped() - Method in record class com.enhancedechest.migration.CustomEnderChestMigrationService.Result
-
Returns the value of the
playersSkippedrecord component. - playerUuid() - Method in record class com.enhancedechest.storage.EnderChestStorage.RawChestRow
-
Returns the value of the
playerUuidrecord component. - playerUuid() - Method in record class com.enhancedechest.storage.EnderChestStorage.RawPlayerRow
-
Returns the value of the
playerUuidrecord component. - playerUuid() - Method in record class com.enhancedechest.storage.StorageBackend.ChestKey
-
Returns the value of the
playerUuidrecord component. - playerUuid() - Method in record class com.enhancedechest.storage.StorageBackend.ExpiredKey
-
Returns the value of the
playerUuidrecord component. - PlayerVaultsXMigrationService - Class in com.enhancedechest.migration
-
Migrates vaults from a PlayerVaultsX installation into EnhancedEchest's storage.
- PlayerVaultsXMigrationService() - Constructor for class com.enhancedechest.migration.PlayerVaultsXMigrationService
- PlayerVaultsXMigrationService.Result - Record Class in com.enhancedechest.migration
-
Outcome of a migration run.
- PlayerVaultsXReader - Class in com.enhancedechest.migration
-
Reads a PlayerVaultsX installation's flat-file vault data and decodes it into Bukkit
ItemStackarrays, ready to be re-encoded into EnhancedEchest's own storage. - PlayerVaultsXReader(Path, Logger) - Constructor for class com.enhancedechest.migration.PlayerVaultsXReader
- PlayerVaultsXReader.VaultRow - Record Class in com.enhancedechest.migration
-
A single PlayerVaultsX vault as decoded for migration.
- PluginConfig - Class in com.enhancedechest.config
- PluginConfig(FileConfiguration) - Constructor for class com.enhancedechest.config.PluginConfig
- PluginConfig.DbSslMode - Enum Class in com.enhancedechest.config
-
TLS mode for a remote database connection, mirroring the drivers' own
sslMode/sslmodelevels. - PluginConfig.ListMenuType - Enum Class in com.enhancedechest.config
-
How the
/eclistchest list is rendered. - pointsAtActiveDatabase(SourceSpec) - Method in class com.enhancedechest.migration.DatabaseImportService
-
True if
specpoints at the very database the plugin is actively running on — importing from the destination into itself makes no sense (and would trip the empty-destination guard), so the caller refuses it up front. - port() - Method in record class com.enhancedechest.migration.SourceSpec
-
Returns the value of the
portrecord component. - PostgresStorage - Class in com.enhancedechest.storage.sql
- PostgresStorage(PluginConfig) - Constructor for class com.enhancedechest.storage.sql.PostgresStorage
- prefixMatches(String, int) - Method in class com.enhancedechest.service.PlayerNameIndex
-
Returns up to
limitknown names starting withlowerPrefix(already lower-cased by the caller), ascending, skipping players last seen longer ago than the suggest window. - preloadSettings(UUID, String) - Method in class com.enhancedechest.service.PlayerSettingsCache
-
Loads a player's settings into the cache on join.
- primary() - Method in record class com.enhancedechest.model.ChestSummary
-
Returns the value of the
primaryrecord component. - put(UUID, String, long) - Method in class com.enhancedechest.service.PlayerNameIndex
-
Records or updates one player's name and last-seen time.
R
- RawChestRow(String, int, int, String, int, byte[], int, long, int, Long, String) - Constructor for record class com.enhancedechest.storage.EnderChestStorage.RawChestRow
-
Creates an instance of a
RawChestRowrecord class. - RawPlayerRow(String, String, int, int, long) - Constructor for record class com.enhancedechest.storage.EnderChestStorage.RawPlayerRow
-
Creates an instance of a
RawPlayerRowrecord class. - read(UUID) - Method in class com.enhancedechest.migration.AxVaultsReader
-
Reads and decodes a single player's vaults, ordered by vault id.
- read(UUID) - Method in class com.enhancedechest.migration.CustomEnderChestReader
-
Reads and decodes a single player's ender chest, or null if they have no file.
- read(UUID) - Method in class com.enhancedechest.migration.PlayerVaultsXReader
-
Reads and decodes a single player's vaults, ordered by vault number.
- readAll() - Method in class com.enhancedechest.migration.AxVaultsReader
-
Reads and decodes every player's vaults, keyed by owner UUID and ordered by vault id.
- readAll() - Method in class com.enhancedechest.migration.SourceDatabaseReader
-
Reads both tables in two forward-only queries — no per-player N+1.
- reclaimTemp(UUID, int, int) - Method in class com.enhancedechest.storage.CachedStorage
- reclaimTemp(UUID, int, int) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Moves a temp chest's contents into an empty chest and deletes the temp row, in one transaction — the inverse of a spill, used when a player is granted a new chest that can hold a temp chest whole (see
ChestSpillService#reclaimTempInto). - reclaimTempInto(UUID, int) - Method in class com.enhancedechest.service.ChestSpillService
-
The inverse of a spill: moves one temp chest's items whole into the freshly created, still-empty chest at
targetIndex, then deletes the temp chest. - reconcile(UUID, Map<Integer, Integer>, int, int, List<ChestSummary>) - Method in class com.enhancedechest.service.PermissionChestService
-
Reconciles both the player's PERM chests (against their permission-derived
desiredtarget) and the base NORMAL chest's size (against thedefault_sizepermission), then completes with the up-to-date chest list. - recordPlayerSeen(UUID, String, long) - Method in class com.enhancedechest.storage.CachedStorage
- recordPlayerSeen(UUID, String, long) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Records that a player was seen: their current in-game name against their UUID (so name→UUID resolution works for offline players from the plugin's own data, with no server usercache or Mojang lookup), and
lastOnlineas epoch-ms. - RedisCoordinator - Class in com.enhancedechest.crossserver
-
Redis implementation of
CrossServerCoordinator: one lock key per owner (<prefix>lock:<uuid>holding this server's id, TTL-protected and heartbeat-extended) plus one pub/sub channel (<prefix>events) used to hand owners over quickly. - RedisCoordinator(String, int, String, boolean, int, String, String, Scheduler, Logger, Telemetry) - Constructor for class com.enhancedechest.crossserver.RedisCoordinator
- reload() - Method in class com.enhancedechest.EnhancedEchestPlugin
- reload(String) - Method in class com.enhancedechest.lang.LanguageManager
- reload(FileConfiguration) - Method in class com.enhancedechest.config.PluginConfig
- ReloadCommand - Class in com.enhancedechest.command.admin
- reloadLocaleNames() - Static method in class com.enhancedechest.gui.dialog.IconCatalog
-
Drops every cached locale-name table so the next search re-reads from disk/classpath, picking up any file added or edited since the server started.
- remainingParts(long) - Static method in class com.enhancedechest.util.DurationFormat
-
Breaks a remaining duration into the two most significant non-zero units, e.g.
- removeChest(UUID, int, boolean) - Method in class com.enhancedechest.service.ChestSpillService
-
Removes a chest.
- removeNewestChests(UUID, int, boolean) - Method in class com.enhancedechest.service.ChestSpillService
-
Bulk-removes the
counthighest-numbered NORMAL chests a player owns, spilling (or force-discarding) each, and completes with the number actually removed. - Rename(String, String) - Constructor for record class com.enhancedechest.config.YamlMigrator.Rename
-
Creates an instance of a
Renamerecord class. - renameAsync(UUID, int, String) - Method in class com.enhancedechest.service.StorageGateway
- renameChest(UUID, int, String) - Method in class com.enhancedechest.storage.CachedStorage
- renameChest(UUID, int, String) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Sets or clears a chest's custom display name (null resets to the default numbered title).
- renameDialog(ChestSummary, ChestDialogs.DetailContext) - Method in class com.enhancedechest.gui.dialog.ChestDialogs
-
Dedicated rename dialog: a single text input plus Save / Cancel.
- REQUIRE - Enum constant in enum class com.enhancedechest.config.PluginConfig.DbSslMode
- reschedule(boolean, long, int) - Method in class com.enhancedechest.backup.BackupService
-
Re-applies possibly-changed backup settings after a
/ee reload. - reschedule(long) - Method in class com.enhancedechest.expiry.ExpirySweeper
-
Re-applies a possibly-changed sweep interval after a
/ee reload. - reschedule(long) - Method in class com.enhancedechest.storage.AutosaveService
-
Re-applies a possibly-changed interval after a
/ee reload(restarts the timer). - resize(CommandSourceStack, String, int, int) - Static method in class com.enhancedechest.command.admin.ChestAdminCommand
- resizeChest(UUID, int, int) - Method in class com.enhancedechest.storage.CachedStorage
- resizeChest(UUID, int, int) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Changes a chest's slot count.
- resizeOrSpill(UUID, int, int) - Method in class com.enhancedechest.service.ChestSpillService
-
Resizes a chest, spilling any cut-off items into a temp chest if it is shrunk below its used slots.
- resolveAsync(StorageGateway, DbExecutor, String) - Static method in class com.enhancedechest.command.admin.PlayerResolver
- resolveTargets(Player) - Method in class com.enhancedechest.service.PermissionChestService
-
Resolves both permission-derived targets in a single pass over the player's effective permissions.
- Result(int, int) - Constructor for record class com.enhancedechest.migration.DatabaseImportService.Result
-
Creates an instance of a
Resultrecord class. - Result(int, int, int) - Constructor for record class com.enhancedechest.migration.CustomEnderChestMigrationService.Result
-
Creates an instance of a
Resultrecord class. - Result(int, int, int, int) - Constructor for record class com.enhancedechest.migration.AxVaultsMigrationService.Result
-
Creates an instance of a
Resultrecord class. - Result(int, int, int, int) - Constructor for record class com.enhancedechest.migration.PlayerVaultsXMigrationService.Result
-
Creates an instance of a
Resultrecord class. - run(Runnable) - Method in class com.enhancedechest.service.DbExecutor
- runAsync(Consumer<ScheduledTask>) - Method in class com.enhancedechest.scheduler.Scheduler
-
Runs once, off the region/main thread, as soon as possible.
- runAtEntity(Entity, Consumer<ScheduledTask>) - Method in class com.enhancedechest.scheduler.Scheduler
-
Runs once on the thread that owns
entity(its region on Folia; main thread on Paper). - runAtEntityLater(Entity, Runnable, long, TimeUnit) - Method in class com.enhancedechest.scheduler.Scheduler
-
Runs once on the entity's own thread after
delay. - runAtLocation(Location, Consumer<ScheduledTask>) - Method in class com.enhancedechest.scheduler.Scheduler
-
Runs once on the thread that owns
location's region (main thread on Paper). - runExclusive(UUID, int, Supplier<T>) - Method in class com.enhancedechest.service.ChestSessionManager
-
Serializes arbitrary DB work for one (owner, index) behind any in-flight save/op for that key, registering it in
pendingSavesso a concurrentopenwaits for it. - runExclusiveAcross(List<ChestSessionManager.ChestRef>, Supplier<T>) - Method in class com.enhancedechest.service.ChestSessionManager
-
Like
ChestSessionManager.runExclusive(java.util.UUID, int, java.util.function.Supplier<T>)but spanning several chests at once: chainsdbWorkbehind the in-flight save/op of everyref, and registers a marker for each so a concurrentopenof any of them waits for the work to finish. - runForPlayer(Player, Runnable) - Method in class com.enhancedechest.service.ChestOpener
-
Runs the given action on the player's entity thread (helper for command/dialog callbacks).
- runLaterAsync(Runnable, long, TimeUnit) - Method in class com.enhancedechest.scheduler.Scheduler
-
Runs once, off-thread, after
delay. - runNextTick(Consumer<ScheduledTask>) - Method in class com.enhancedechest.scheduler.Scheduler
-
Runs once on the global bookkeeping thread, next tick.
- runTimerAsync(Runnable, long, long, TimeUnit) - Method in class com.enhancedechest.scheduler.Scheduler
-
Repeating off-thread timer; cancel it via the returned
ScheduledTask.
S
- sanitizeSize(int) - Static method in class com.enhancedechest.config.PluginConfig
-
Clamps an arbitrary configured size to the nearest valid value (9..54, multiple of 9).
- saveChest(UUID, int, byte[]) - Method in class com.enhancedechest.storage.CachedStorage
- saveChest(UUID, int, byte[]) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Updates the container bytes of an existing chest.
- saveSettings(UUID, PlayerSettings) - Method in class com.enhancedechest.storage.CachedStorage
- saveSettings(UUID, PlayerSettings) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Upserts the player's
editMode/appliedDefaultSize(whole-object save): updates the existing row, or inserts one if none exists. - Scheduler - Class in com.enhancedechest.scheduler
-
Task scheduler built directly on Paper's own region-aware scheduler API (
io.papermc.paper.threadedregions.scheduler.*). - Scheduler(Plugin) - Constructor for class com.enhancedechest.scheduler.Scheduler
- search(String, Locale) - Static method in class com.enhancedechest.gui.dialog.IconCatalog
-
Filters the catalog by a case-insensitive substring, matched against the server-derived English name and — when a bundled lang table exists for
viewerLocale— the item's client-localized name too (blank query = full list). - self() - Method in record class com.enhancedechest.gui.dialog.ChestDialogs.DetailContext
-
Returns the value of the
selfrecord component. - serverId() - Method in class com.enhancedechest.crossserver.RedisCoordinator
- setAppliedDefaultSize(UUID, int) - Method in class com.enhancedechest.storage.CachedStorage
- setAppliedDefaultSize(UUID, int) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Targeted single-field upsert of just the
applied_default_sizebaseline (no preceding read), leaving every other setting untouched. - setAppliedDefaultSizeAsync(UUID, int) - Method in class com.enhancedechest.service.PlayerSettingsCache
-
Persists the base-chest size baseline the default-size reconcile just applied, with a single targeted upsert (no preceding read), leaving edit-mode untouched.
- setChestContents(boolean) - Method in class com.enhancedechest.service.ChestActivityLogger
-
When true, each entry also carries a HAVE line under both headers listing what the chest held at that moment.
- setConfig(int) - Method in class com.enhancedechest.service.PermissionChestService
-
Re-applies the runtime-tunable values after a
/ee reload. - setContainerContents(boolean) - Method in class com.enhancedechest.service.ChestActivityLogger
-
When true, a shulker box's line also spells out what it holds.
- setDefaultSize(int) - Method in class com.enhancedechest.service.ChestOpener
-
Re-applies the runtime-tunable default chest size after a
/ee reload. - setEditMode(UUID, boolean) - Method in class com.enhancedechest.storage.CachedStorage
- setEditMode(UUID, boolean) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Targeted single-field upsert of just the edit-mode preference.
- setEditModeAsync(UUID, boolean) - Method in class com.enhancedechest.service.PlayerSettingsCache
-
Persists the player's edit-mode preference with a single targeted upsert (no preceding read), leaving every other setting untouched.
- setEnabled(boolean) - Method in class com.enhancedechest.service.ChestActivityLogger
- setExternalLangDir(Path, Logger) - Static method in class com.enhancedechest.gui.dialog.IconCatalog
-
Points locale-name lookups at an on-disk override directory (an admin/dev drop-in folder), checked before the bundled classpath resource for each locale.
- setIcon(UUID, int, String) - Method in class com.enhancedechest.storage.CachedStorage
- setIcon(UUID, int, String) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Sets or clears a chest's icon (material key, e.g.
- setIconAsync(UUID, int, String) - Method in class com.enhancedechest.service.StorageGateway
-
Sets or clears a chest's icon (material key, or null to reset to the default icon).
- setLogUnchanged(boolean) - Method in class com.enhancedechest.service.ChestActivityLogger
-
When false, a visit whose CLOSE contents are identical to its OPEN contents is discarded instead of written.
- setMigrated(UUID, boolean) - Method in class com.enhancedechest.storage.CachedStorage
- setMigrated(UUID, boolean) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Updates the migrated flag on the player's chest #1.
- setPrimary(UUID, int) - Method in class com.enhancedechest.storage.CachedStorage
- setPrimary(UUID, int) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Makes the given chest the player's primary, clearing the flag from all others.
- setPrimaryAsync(UUID, int) - Method in class com.enhancedechest.service.StorageGateway
- setReleaseRequestHandler(Consumer<UUID>) - Method in class com.enhancedechest.crossserver.RedisCoordinator
-
Wires the handler invoked when another server asks for an owner this server holds.
- setSuggestWindowMillis(long) - Method in class com.enhancedechest.service.PlayerNameIndex
-
Re-applies
commands.suggest-offline-withinafter a reload. - setTempConfig(long, boolean) - Method in class com.enhancedechest.service.ChestSpillService
-
Re-applies the runtime-tunable temp-chest settings after a
/ee reload. - setTempExpiry(long) - Method in class com.enhancedechest.migration.MigrationService
-
Re-applies the runtime-tunable temp-chest lifetime after a
/ee reload. - setTempExpiry(long) - Method in class com.enhancedechest.service.ChestTransferService
-
Re-applies the runtime-tunable temp-chest lifetime after a
/ee reload. - Shared live inventory (concurrent-edit) model - Search tag in class com.enhancedechest.service.ChestSessionManager
- Section
- showAdminViewList(Player, String, UUID, List<ChestSummary>) - Method in class com.enhancedechest.service.ChestOpener
-
Shows the admin "view another player's chests" list dialog.
- showImportDialog(Player) - Method in class com.enhancedechest.service.ChestOpener
-
Shows the DB→DB import dialog (source connection form) to the admin.
- shutdown() - Method in class com.enhancedechest.service.ChestActivityLogger
-
Stops accepting new cycles, drains the bounded queue, flushes and closes the active log.
- shutdown() - Method in class com.enhancedechest.service.ChestSessionManager
-
Flushes all live sessions and waits for their writes before the plugin disables.
- shutdown() - Method in class com.enhancedechest.service.DbExecutor
- shutdown() - Method in class com.enhancedechest.telemetry.FastStatsTelemetry
- shutdown() - Method in interface com.enhancedechest.telemetry.Telemetry
-
Flushes and stops the backing service.
- size() - Method in record class com.enhancedechest.model.ChestSummary
-
Returns the value of the
sizerecord component. - size() - Method in record class com.enhancedechest.model.EnderChestData
-
Returns the value of the
sizerecord component. - size() - Method in record class com.enhancedechest.storage.EnderChestStorage.RawChestRow
-
Returns the value of the
sizerecord component. - SLOT_STEP - Static variable in class com.enhancedechest.serialization.ContainerCodec
-
All chest sizes must be a positive multiple of this.
- sortChest(UUID, int) - Method in class com.enhancedechest.service.ChestSpillService
-
Sorts a chest's contents in place: identical items are merged into full stacks and everything is reordered by item type (then by descending stack size), packed from the first slot.
- sortChest(Player, ChestDialogs.DetailContext, int) - Method in class com.enhancedechest.service.ChestOpener
-
Sorts a chest's contents (the Sort button), then re-shows the detail dialog.
- sourceAvailable() - Method in class com.enhancedechest.migration.AxVaultsMigrationService
-
True if an AxVaults database file is present to migrate from.
- sourceAvailable() - Method in class com.enhancedechest.migration.CustomEnderChestMigrationService
-
True if CustomEnderChest YAML player data is present to migrate from.
- sourceAvailable() - Method in class com.enhancedechest.migration.CustomEnderChestReader
-
True if CustomEnderChest YAML player data is present (the
playerdatafolder holds at least one file). - sourceAvailable() - Method in class com.enhancedechest.migration.PlayerVaultsXMigrationService
-
True if a PlayerVaultsX vault-data folder with at least one player file is present to migrate from.
- sourceAvailable() - Method in class com.enhancedechest.migration.PlayerVaultsXReader
-
True if PlayerVaultsX vault data is present (the
newvaultsfolder holds at least one file). - sourceBlock() - Method in record class com.enhancedechest.gui.dialog.ChestDialogs.DetailContext
-
Returns the value of the
sourceBlockrecord component. - SourceDatabaseReader - Class in com.enhancedechest.migration
-
Opens an EnhancedEchest database of any supported dialect read-only and reads its
playersandendercheststables (under the active install'sdatabase.table-prefix) verbatim, for the/ee importDB→DB copy. - SourceDatabaseReader.Data - Record Class in com.enhancedechest.migration
-
The two tables read from the source, kept in memory (data is modest — see the import plan).
- SourceSpec - Record Class in com.enhancedechest.migration
-
Connection details for the source database of a
/ee importDB→DB conversion, as filled in by the import dialog. - SourceSpec(String, String, String, int, String, String, String) - Constructor for record class com.enhancedechest.migration.SourceSpec
-
Creates an instance of a
SourceSpecrecord class. - spillRemove(UUID, int, byte[], int, long) - Method in class com.enhancedechest.storage.CachedStorage
- spillRemove(UUID, int, byte[], int, long) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Deletes a chest, optionally spilling its items into a new temp chest, in one transaction.
- spillShrink(UUID, int, int, byte[], byte[], int, long) - Method in class com.enhancedechest.storage.CachedStorage
- spillShrink(UUID, int, int, byte[], byte[], int, long) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Shrinks a chest and spills any cut-off items into a new temp chest, in one transaction.
- sprite() - Method in record class com.enhancedechest.gui.dialog.IconCatalog.Entry
-
Returns the value of the
spriterecord component. - sprite(String) - Static method in class com.enhancedechest.gui.dialog.IconCatalog
-
Sprite object component for a stored icon key, or null if the key is null/unknown/unrenderable.
- sqliteFile() - Method in record class com.enhancedechest.migration.SourceSpec
-
Returns the value of the
sqliteFilerecord component. - SqliteStorage - Class in com.enhancedechest.storage.sql
- SqliteStorage(Path, String, String) - Constructor for class com.enhancedechest.storage.sql.SqliteStorage
- start() - Method in class com.enhancedechest.backup.BackupService
-
Starts the repeating async backup, if enabled and the backend supports file snapshots.
- start() - Method in class com.enhancedechest.expiry.ExpirySweeper
-
Starts the repeating async sweep.
- start() - Method in class com.enhancedechest.storage.AutosaveService
-
Starts the repeating async autosave.
- stop() - Method in class com.enhancedechest.backup.BackupService
-
Cancels the repeating backup.
- stop() - Method in class com.enhancedechest.expiry.ExpirySweeper
-
Cancels the repeating sweep.
- stop() - Method in class com.enhancedechest.storage.AutosaveService
-
Cancels the repeating autosave.
- StorageBackend - Interface in com.enhancedechest.storage
-
The SQL half of the lazy-load + write-back cache model: the narrow contract
CachedStorageneeds from a database backend. - StorageBackend.ChestKey - Record Class in com.enhancedechest.storage
-
Primary key of one
enderchestsrow, used to flush a deletion. - StorageBackend.ExpiredKey - Record Class in com.enhancedechest.storage
-
Primary key + kind of one expired
enderchestsrow, returned byStorageBackend.findExpired(long). - StorageBackend.OwnerRows - Record Class in com.enhancedechest.storage
-
One player's full cache-miss load: their
enderchestsrows plus their (nullable)playersrow. - StorageFactory - Class in com.enhancedechest.storage
- StorageGateway - Class in com.enhancedechest.service
-
Thin async wrapper over
EnderChestStorage: every method dispatches a single synchronous storage call onto the sharedDbExecutor. - StorageGateway(EnderChestStorage, DbExecutor) - Constructor for class com.enhancedechest.service.StorageGateway
- supply(Supplier<T>) - Method in class com.enhancedechest.service.DbExecutor
- supportsBackup() - Method in class com.enhancedechest.storage.CachedStorage
- supportsBackup() - Method in interface com.enhancedechest.storage.EnderChestStorage
-
True if this backend can produce a file snapshot via
EnderChestStorage.backup(Path). - supportsBackup() - Method in class com.enhancedechest.storage.sql.SqliteStorage
- supportsBackup() - Method in interface com.enhancedechest.storage.StorageBackend
-
True if this backend can produce a file snapshot via
StorageBackend.backup(Path).
T
- tablePrefix - Variable in class com.enhancedechest.storage.sql.AbstractSqlStorage
-
Prepended to every table name (see
PluginConfig.getTablePrefix()). - Telemetry - Interface in com.enhancedechest.telemetry
-
Plugin-facing telemetry facade.
- TEMP - Enum constant in enum class com.enhancedechest.model.ChestKind
- TEMP - Enum constant in enum class com.enhancedechest.service.ChestTransferService.ConflictPolicy
-
Move the destination's existing items into recoverable temporary storage.
- TempChestJoinNotifyListener - Class in com.enhancedechest.listener
-
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). - TempChestJoinNotifyListener() - Constructor for class com.enhancedechest.listener.TempChestJoinNotifyListener
- TempReclaimNotifier - Class in com.enhancedechest.service
-
Tells a player where their temporary-chest items went when
ChestSpillService.reclaimTempInto(java.util.UUID, int)moved them into a newly granted chest (temp-enderchest.reclaim-notify, default on). - TempReclaimNotifier(PluginConfig, LanguageManager, Scheduler, Logger, Telemetry) - Constructor for class com.enhancedechest.service.TempReclaimNotifier
- toString() - Method in record class com.enhancedechest.config.YamlMigrator.Rename
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.gui.dialog.ChestDialogs.DetailContext
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.gui.dialog.IconCatalog.Entry
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.migration.AxVaultsMigrationService.Result
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.migration.AxVaultsReader.VaultRow
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.migration.CustomEnderChestMigrationService.Result
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.migration.CustomEnderChestReader.PlayerData
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.migration.DatabaseImportService.Result
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.migration.PlayerVaultsXMigrationService.Result
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.migration.PlayerVaultsXReader.VaultRow
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.migration.SourceDatabaseReader.Data
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.migration.SourceSpec
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.model.ChestSummary
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.model.EnderChestData
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.model.PlayerSettings
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.service.ChestSessionManager.ChestRef
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.service.PermissionChestService.PermTargets
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.service.PlayerNameIndex.NameEntry
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.storage.EnderChestStorage.ExpiredRef
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.storage.EnderChestStorage.PlayerNameRecord
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.storage.EnderChestStorage.RawChestRow
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.storage.EnderChestStorage.RawPlayerRow
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.storage.StorageBackend.ChestKey
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.storage.StorageBackend.ExpiredKey
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.storage.StorageBackend.OwnerRows
-
Returns a string representation of this record class.
- toString() - Method in record class com.enhancedechest.util.DurationFormat.Part
-
Returns a string representation of this record class.
- transfer(CommandSourceStack, String, String, String) - Static method in class com.enhancedechest.command.admin.ChestTransferCommand
- transfer(CommandSender, String, UUID, String, UUID, String, ChestTransferService.ConflictPolicy) - Method in class com.enhancedechest.service.ChestTransferService
-
Runs a transfer and reports the outcome to
sender. - transferChests(UUID, UUID, Integer, Set<Integer>, long) - Method in class com.enhancedechest.storage.CachedStorage
- transferChests(UUID, UUID, Integer, Set<Integer>, long) - Method in interface com.enhancedechest.storage.EnderChestStorage
-
Moves a player's NORMAL chests onto another player in a single transaction (the account-switch primitive behind
/ee transfer). - translator() - Method in class com.enhancedechest.lang.LanguageManager
-
The Adventure translator to register on the
GlobalTranslator(once, in the plugin). - type() - Method in record class com.enhancedechest.migration.SourceSpec
-
Returns the value of the
typerecord component.
U
- unit() - Method in record class com.enhancedechest.util.DurationFormat.Part
-
Returns the value of the
unitrecord component. - unpin(UUID) - Method in class com.enhancedechest.storage.CachedStorage
-
Unmarks an owner as online.
- UpdateChecker - Class in com.enhancedechest.update
- UpdateChecker(String, Logger) - Constructor for class com.enhancedechest.update.UpdateChecker
- UpdateNotifyListener - Class in com.enhancedechest.update
- UpdateNotifyListener() - Constructor for class com.enhancedechest.update.UpdateNotifyListener
- username() - Method in record class com.enhancedechest.migration.SourceSpec
-
Returns the value of the
usernamerecord component. - username() - Method in record class com.enhancedechest.model.PlayerSettings
-
Returns the value of the
usernamerecord component. - username() - Method in record class com.enhancedechest.storage.EnderChestStorage.PlayerNameRecord
-
Returns the value of the
usernamerecord component. - username() - Method in record class com.enhancedechest.storage.EnderChestStorage.RawPlayerRow
-
Returns the value of the
usernamerecord component. - uuid() - Method in record class com.enhancedechest.service.PlayerNameIndex.NameEntry
-
Returns the value of the
uuidrecord component. - uuid() - Method in record class com.enhancedechest.storage.EnderChestStorage.PlayerNameRecord
-
Returns the value of the
uuidrecord component.
V
- valueOf(String) - Static method in enum class com.enhancedechest.config.PluginConfig.DbSslMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.enhancedechest.config.PluginConfig.ListMenuType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.enhancedechest.model.ChestKind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.enhancedechest.service.ChestTransferService.ConflictPolicy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.enhancedechest.storage.sql.AbstractSqlStorage.UpsertSyntax
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.enhancedechest.config.PluginConfig.DbSslMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.enhancedechest.config.PluginConfig.ListMenuType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.enhancedechest.model.ChestKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.enhancedechest.service.ChestTransferService.ConflictPolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.enhancedechest.storage.sql.AbstractSqlStorage.UpsertSyntax
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VanillaEnderChestListener - Class in com.enhancedechest.listener
- VanillaEnderChestListener() - Constructor for class com.enhancedechest.listener.VanillaEnderChestListener
- VaultRow(UUID, int, ItemStack[]) - Constructor for record class com.enhancedechest.migration.PlayerVaultsXReader.VaultRow
-
Creates an instance of a
VaultRowrecord class. - VaultRow(UUID, int, ItemStack[], String) - Constructor for record class com.enhancedechest.migration.AxVaultsReader.VaultRow
-
Creates an instance of a
VaultRowrecord class. - vaultsMigrated() - Method in record class com.enhancedechest.migration.AxVaultsMigrationService.Result
-
Returns the value of the
vaultsMigratedrecord component. - vaultsMigrated() - Method in record class com.enhancedechest.migration.PlayerVaultsXMigrationService.Result
-
Returns the value of the
vaultsMigratedrecord component. - vaultsSkipped() - Method in record class com.enhancedechest.migration.AxVaultsMigrationService.Result
-
Returns the value of the
vaultsSkippedrecord component. - vaultsSkipped() - Method in record class com.enhancedechest.migration.PlayerVaultsXMigrationService.Result
-
Returns the value of the
vaultsSkippedrecord component. - VERIFY_FULL - Enum constant in enum class com.enhancedechest.config.PluginConfig.DbSslMode
- view(CommandSourceStack, String) - Static method in class com.enhancedechest.command.admin.ChestAdminCommand
- view(CommandSourceStack, String, int) - Static method in class com.enhancedechest.command.admin.ChestAdminCommand
- viewList(CommandSourceStack, String) - Static method in class com.enhancedechest.command.admin.ChestAdminCommand
W
- withAppliedDefaultSize(int) - Method in record class com.enhancedechest.model.PlayerSettings
-
Returns a copy with
appliedDefaultSizechanged, leaving every other setting untouched. - withEditMode(boolean) - Method in record class com.enhancedechest.model.PlayerSettings
-
Returns a copy with
editModechanged, leaving every other setting untouched. - withUsername(String) - Method in record class com.enhancedechest.model.PlayerSettings
-
Returns a copy with
usernamechanged, leaving every other setting untouched.
Y
- YamlMigrator - Class in com.enhancedechest.config
-
Generic YAML migrator that runs on startup for every config/language file.
- YamlMigrator.Rename - Record Class in com.enhancedechest.config
-
A key rename for one specific version upgrade.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form