Skip to main content

ResurrectionChest Config And Permissions

Permissions

PermissionPurposeDefault
resurrectionchest.*Gives admins access to the setup, initialize, Nightbreak content, and reload commandsop
resurrectionchest.setupGives admins access to the /resurrectionchest setup commandop
resurrectionchest.initializeGives admins access to the /resurrectionchest initialize commandop
resurrectionchest.useLets a player register a chest and have death drops routed into ittrue
resurrectionchest.model.freeLets a player use the free FreeMinecraftModels chest visualstrue
resurrectionchest.model.premiumLets a player use the premium FreeMinecraftModels chest visualsop

resurrectionchest.use is the important one for actual chest behavior. The admin and model permissions only affect commands and optional visuals respectively.

Config Surface

config.yml currently exposes these user-facing settings:

Config KeyTypeDefault
setupDonebooleanfalse
Input name for death cheststring[DeathChest]
Enable high compatibility / low security mode for plugin conflictsbooleanfalse
Lower worn armor's durability on deathbooleantrue
Amount of durability to lower on deathint100
Chest creation messagestring&8[ResurrectionChest] &aYou've created your Death Chest!
Chest destruction messagestring&8[ResurrectionChest] &cYour Death Chest has been destroyed!
Chest missing messagestring&8[ResurrectionChest] &4Your Death Chest is missing!
Death messagestring&8[ResurrectionChest] &aYour items have been moved to your Death Chest!
deathChestRemovedMessagestring&8[ResurrectionChest] &cYour Death Chest has been removed!
Enable particle effects for death chestsbooleantrue
Particle effect 1stringENCHANTMENT_TABLE
Particle effect 2stringENCHANTMENT_TABLE
Particle effect 3stringPORTAL
blacklistedWorldslist[none]
storeXPbooleantrue
xpPercentageKeptdouble0.75
deathChestNameTagstring$playerName's &fResurrection Chest
freeSingleDeathChestModelNamestringresurrectionchest_free_single
freeDoubleDeathChestModelNamestringresurrectionchest_free_double
premiumSingleDeathChestModelNamestringresurrectionchest_angelic_single
premiumDoubleDeathChestModelNamestringresurrectionchest_angelic_double

XP Handling

When storeXP is enabled:

  • ResurrectionChest tracks the player's current total XP during play
  • on death, it stores tracked total XP * xpPercentageKept
  • it sets dropped XP to 0
  • it gives the stored XP back when the owner next opens their registered chest

Important exceptions:

  • If keepInventory is active, ResurrectionChest does nothing.
  • If keepLevel is active, the XP-storage branch exits early and leaves vanilla level handling alone.

Overflow Handling

If the chest has no free slot for an item:

  • that item stays in the normal death-drop list
  • the player gets a warning that the chest was full

FreeMinecraftModels Integration

If FreeMinecraftModels is installed, ResurrectionChest can spawn a visual chest prop on top of the real chest.

Current behavior:

  • premium visuals are preferred when the player has resurrectionchest.model.premium
  • otherwise the free visual is used when the player has resurrectionchest.model.free
  • the visual model switches between single and double variants based on chest size
  • the real chest is still the storage backend

When a custom model prop is active, players can interact with it directly:

  • right-click the prop to open the underlying chest inventory
  • sneak + left-click the prop to destroy the registration (only the owner can do this)
  • left-clicking without sneaking shows a warning instead of destroying the chest

If FreeMinecraftModels is missing or the model cannot be spawned, the underlying chest still works normally.

Source-Backed Caveats

The current source shows a few config entries that are exposed in config.yml but not referenced outside DefaultConfig:

  • Enable high compatibility / low security mode for plugin conflicts
  • Lower worn armor's durability on death and Amount of durability to lower on death
  • Particle effect 1
  • Particle effect 2

By contrast, Particle effect 3 is the particle setting with an obvious live use in the current code (spawned every tick while the chest's chunk is loaded).