DayZ
121 ratings
BodyRemoval
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod Type: Mechanics
File Size
Posted
Updated
0.003 MB
Mar 14, 2021 @ 2:12pm
Sep 2, 2022 @ 1:02pm
5 Change Notes ( view )

Subscribe to download
BodyRemoval

Description
This mod causes fresh player bodies to be deleted if they are killed within a configurable amount of time, for example if they suicide straight away, we dont need to keep them there.
You can also enable the cleanup of older player bodies after a configurable amount of time so that they are auto deleted after that set time.

Adding this mod will significantly help with server FPS as it removes the resource hogging player bodies.

Configuration:

In ServerDZ.cfg add:

QuickBodyCleanupLifetime = 120; // Body will be deleted if the player spawned less than [QuickBodyCleanupLifetime] seconds ago. (spawned <> logged in)
QuickBodyCleanupTime = 60; // Time in seconds before freshie bodies are cleaned up.
OldBodyCleanupEnabled = 1; // 1 = Body will be cleaned up after OldBodyCleanupTime. // 0 = Older Bodies will cleaned up as vanilla.
OldBodyCleanupTime = 2700; // Time in seconds before older bodies are cleaned up if enabled.

-- Support on all of my mods can be found on discord at: https://discord.gg/2T33rgJNVC --

Usage & Terms
- You are permitted to unpack, repack and edit any files from this mod.
- This item is not authorized for posting on Steam, except under the Steam account of DannyDoomno1
- Permissions is granted to use this mod for server monetization under the conditions that you follow the DayZ Server Monetization agreement and have obtained permission from Bohemia through Bohemia[www.bohemia.net]

If you like my mods and wish to support me any donations are much appreciated!!
--- Paypal.me/DannyDoomno1 ---
< >
32 Comments
BeanMama Dec 9, 2022 @ 12:00pm 
IGNORE ME I AM SO GOOFY. The tombstone mod. I forgot, this is already a thing. Glad I found your library xD carry on
BeanMama Dec 9, 2022 @ 11:38am 
Hello, Sir Danny!

I'm not sure if you're still interested in working on this mod or expanding it, but would it be possible to make a configuration for gear to be dropped and remain in world (for item/type lifetimes, ideally) while player body is removed?

I know this is probably a strange ask, because this *wont* improve server performance really, but it would be super useful for RP servers, where someone's character often doesn't "die" when their toon does.

Just a suggestion/question!
Sotie_24 Aug 16, 2022 @ 7:06am 
does this mod need to be in both client and server or can be applied on serverisde only?
what? Apr 18, 2022 @ 3:32pm 
In my case the Mod works serversided.
Merk Feb 21, 2022 @ 12:05pm 
Why does not it work Oldbody?
Merk Feb 21, 2022 @ 12:04pm 
QuickBodyCleanupLifetime = 600;
QuickBodyCleanupTime = 60;
OldBodyCleanupEnabled = 1;
OldBodyCleanupTime = 4800;

QuickBody was gone after 1 min.
Oldbody was gone after 30 minutes
Panda Jan 29, 2022 @ 11:37am 
Haha sorry brotha long night of coding.
Sir DannyDoomno1  [author] Jan 28, 2022 @ 11:05am 
tried reading the mod description? :D
Panda Jan 27, 2022 @ 5:07pm 
Hey there awesome mod! Server loves it and helps with performance, mind if I repack the mod?
즐겜 Dec 13, 2021 @ 10:09pm 
player body or zombie body? or both?