corpse_admin_command
Registers a staff command to inspect and clear the corpses currently in the world.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
command | String | corpses | Command to register, without the leading slash. |
permission | String | typewriter.corpse.admin | Permission required to run it. |
Subcommands
| Subcommand | Description |
|---|---|
list | Lists every loaded corpse with its owner, location, item count and stored experience. |
clear | Removes every loaded corpse. |
Notes
clearremoves corpses without firingon_corpse_expire, so cleaning up does not apply death penalties to players.cleardiscards the items the corpses held. Use it on a world that is being reset, not as routine maintenance.
How could this be used?
Check what a player left behind before helping them recover it, or clear corpses stuck in a world that is about to be reset.