Persistent Corpses

by `impulse

Makes player corpses stay on the map after the player has respawned. Items can also be set to drop into the ragdoll's inventory upon death.

Enabling drops

To allow items to be put into a corpse's inventory when a player dies, you must set the dropItemsOnDeath config to true, and then add ITEM.bDropOnDeath = true to any item that you want to be placed into the inventory.

Servers can customize usage of this plugin with these settings

Corpse Decay Time (default: 60)

How long it takes for a corpse to decay in seconds. Set to 0 to never decay.

Corpse Max (default: 8)

Maximum number of corpses that are allowed to be spawned.

Corpse Search Time (default: 1)

How long it takes to search a corpse.

Drop Items On Death (default: false)

Whether or not to drop specific items on death.

Persistent Corpses (default: true)

Whether or not corpses remain on the map after a player dies and respawns.

Copyright 2018 - 2020 Igor Radovanovic

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.