corpse_settings
Server-wide corpse behaviour. One entry of this type configures every corpse on the server.
Most fields are dynamic values, so they can be driven by placeholders and facts instead of a single constant — protection time can depend on rank, the loot GUI can be limited to a permission, and a dangerous world can expire corpses faster than a safe one.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
duration | Var<Int> | 300 | Seconds before the corpse disappears. 0 = never expire. |
dropOnInteract | Var<Bool> | true | Right-clicking loots the corpse directly. When false, the interaction opens the GUI instead. |
glowEffect | Var<Bool> | true | Draw a glowing outline around the corpse. |
glowColor | Color | white | Colour of the glow outline. |
onlyOwnerCanLoot | Var<Bool> | false | Only the dead player may ever loot their own corpse. |
ownerProtectionSeconds | Var<Int> | 0 | Seconds during which only the owner may loot, after which the corpse opens to everyone. 0 = no protection. |
spawnParticles | Var<Bool> | true | Spawn blood and soul particles when the corpse appears. |
lootSound | Sound | empty | Sound played to nearby players when the corpse is looted. |
spawnSound | Sound | empty | Sound played to nearby players when the corpse spawns. |
notifyOnRespawn | Var<Bool> | true | Tell the dead player where their corpse is when they respawn. |
renderArmor | Var<Bool> | true | Render the armour the player was wearing on the corpse. |
enableInventoryGUI | Var<Bool> | false | Enable the inventory GUI, opened by sneak + right-click. |
Notes
- This is a Manifest entry — only one instance is needed. If none exists, the defaults above apply.
durationcan be overridden per corpse type viacorpse_definition.overrideDuration.- The access rule (
onlyOwnerCanLootandownerProtectionSeconds) is captured when the corpse is created. Changing it later does not unlock corpses that died under stricter rules. glowColoris rendered by the client as an entity outline. It is applied by backends that consume the glow property; model backends that ignore it simply render without an outline.