DayZ
157 个评价
BodyRemoval
   
奖励
收藏
已收藏
取消收藏
Type: Mod
Mod Type: Mechanics
文件大小
发表于
更新日期
2.666 KB
2021 年 3 月 14 日 下午 2:12
2022 年 9 月 2 日 下午 1:02
5 项改动说明 ( 查看 )

订阅以下载
BodyRemoval

描述
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 ---
33 条留言
MR LORS 2023 年 11 月 17 日 下午 7:17 
Help me set up the removal of bodies from the shore please
BeanMama 2022 年 12 月 9 日 下午 12:00 
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 2022 年 12 月 9 日 上午 11:38 
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 2022 年 8 月 16 日 上午 7:06 
does this mod need to be in both client and server or can be applied on serverisde only?
what? 2022 年 4 月 18 日 下午 3:32 
In my case the Mod works serversided.
Merk 2022 年 2 月 21 日 下午 12:05 
Why does not it work Oldbody?
Merk 2022 年 2 月 21 日 下午 12:04 
QuickBodyCleanupLifetime = 600;
QuickBodyCleanupTime = 60;
OldBodyCleanupEnabled = 1;
OldBodyCleanupTime = 4800;

QuickBody was gone after 1 min.
Oldbody was gone after 30 minutes
Panda 2022 年 1 月 29 日 上午 11:37 
Haha sorry brotha long night of coding.
Sir DannyDoomno1  [作者] 2022 年 1 月 28 日 上午 11:05 
tried reading the mod description? :D
Panda 2022 年 1 月 27 日 下午 5:07 
Hey there awesome mod! Server loves it and helps with performance, mind if I repack the mod?