Pular para o conteúdo principal

corpse_settings

Corpse Global Settings — misc entry.

Entry Information

PropertyValue
Entry IDcorpse_settings
TypeMisc
ColorRed
Iconmdi:skull

Fields

FieldTypeDescription
durationIntDuration in seconds before the corpse disappears. 0 = never expire.
dropOnInteractBooleanWhether right-clicking the corpse drops the player's inventory.
glowEffectBooleanWhether the corpse glows with a red tint.
onlyOwnerCanLootBooleanIf true, only the dead player can loot their own corpse.
spawnParticlesBooleanSpawn blood and soul particles when the corpse appears.
lootSoundStringSound played when the corpse is looted.
notifyOnRespawnBooleanWhether to notify the dead player of their corpse location on respawn.
renderArmorBooleanKeep armor on the corpse visible (renders armor items).
enableInventoryGUIBooleanEnable GUI inventory viewer (sneak + right-click to view before looting).
spawnSoundStringSound played when the corpse spawns.

Usage Example

- entry: corpse_settings
name: "Corpse Global Settings"
duration: 0
dropOnInteract: false
glowEffect: false
onlyOwnerCanLoot: false
spawnParticles: false
lootSound: ""
notifyOnRespawn: false
renderArmor: false
enableInventoryGUI: false
spawnSound: ""