Zum Hauptinhalt springen

corpse_settings

Global settings entry for the Corpse extension. A single entry of this type defines the behavior for all corpses on the server.

Fields

FieldTypeDefaultDescription
durationInt300Duration in seconds before the corpse disappears. 0 = never expire.
dropOnInteractBooltrueWhether right-clicking the corpse drops the player's inventory.
glowEffectBooltrueWhether the corpse emits red dust particles.
onlyOwnerCanLootBoolfalseIf true, only the dead player can loot their own corpse.
spawnParticlesBooltrueSpawn blood and soul particles when the corpse appears.
lootSoundStringentity.item.pickupSound played when the corpse is looted.
notifyOnRespawnBooltrueWhether to notify the dead player of their corpse location on respawn.
renderArmorBooltrueKeep armor on the corpse visible.
enableInventoryGUIBoolfalseEnable GUI inventory viewer (sneak + right-click to view before looting).
spawnSoundStringentity.player.deathSound played when the corpse spawns.

Notes

  • This is a Manifest entry — only one instance is needed.
  • The duration can be overridden per corpse type via corpse_definition.overrideDuration.
  • If no corpse_settings entry exists, all defaults are used.