Bed-Respawning

If you liked this item, please rate it up on Steam Workshop page.

Author: MKA0207

Last revision: 15 Jan, 2025 at 21:33 UTC (1)

File size: 3.39 MB

On Steam Workshop

Description:

Allows you to spawn on a placed sleeping bag after dying.
If you enjoyed this mod be sure to Rate and Favorite!

Compatible with the DayZ 1.26 Update!

https://forums.dayz.com/topic/257986-stable-update-123/

Bed-Respawning-V2 Trailer :


https://youtube.com/shorts/c_xefkvow8c

How to Configure :

The default settings can be located inside your server’s profile folder after you’ve loaded the mod for the first time.
Locate the generated folder named "BedRespawn2" and you should see a Config.json inside, you can edit this.

or

You can configure the mod settings before loading by simply opening this mod’s folder and copying the folder named "BedRespawn2" to your server’s profile folder. This method can also be used to update the config if I ever add anything new so be sure to check the Change Notes.

Packed Class Name :

br_sleepingbag

Deployed Class Name :

br_sleepingbag_deployed

Central Economy Data : https://pastebin.com/V5Ap8EpD ( Also included with the mod files )

Use something like COT to spawn it or add the CE data above to your server’s central loot economy files.

SETTING
DEFAULT
DESCRIPTION

MaxRespawnsBeforeRemoval
0
Number of Respawns until the bag is destroyed.

BedRespawnTimeMinutes
45
Minutes spawning on the bag / bed is blocked after spawning on it.

EnableOpBaseItemSupport
1
Controls if sleeping bags from OP_BaseItems function spawn points.

HealthPercentage
100
Percentage of Health the player has after spawning on a bag.

EnergyPercentage
100
Percentage of Food the player has after spawning on a bag.

WaterPercentage
100
Percentage of Thirst the player has after spawning on a bag.

DisableAutoSpawnCall
0
Disables the default spawn function in this mod, useful for spawn selection integration. ( FOR MODDERS ONLY )

EnableBBP
1
Controls if bed kits from BaseBuildingPlus function spawn points.

EnableMung
1
Controls if sleeping bags from MunghardsItempack function spawn points.

If you run into any issues related to my mod, please feel free to contact me.

Supported Bed / Sleeping Bag Mods :
Known Mod Compatibility Issues :
  • SpawnLoadouts[github.com] doesn’t work until you use this version forked here.[github.com]
  • OP_BaseItems isn’t using collision checking for deployment, resulting in bags that can be placed in terrain objects.
  • This mod is not compatible with most spawn selection systems, I will look into adding support for some later.

Note to Modders :

if you want to integrate this mod into a spawn selection system, you can use the config DisableAutoSpawnCall to disable the spawn call in Bed-Respawning.
Somewhere in the server realm, invoke this method below when wanting a player to spawn on a bag / bed :

BedFrameWork.OnEquipCharacter( PlayerBase player );

Developer Note : OnEquipCharacter only accepts PlayerBase type objects!

Monetization Rules :

Allowed to be used on monetized servers as long as you have monetization approval from Bohemia Interactive.[www.bohemia.net]

Can I repack this mod into my server’s modpack? :

Yes, but only if you’ve donated $15 here and put a note that links to your repack page : https://www.paypal.com/paypalme/fwkzt

I will then add that workshop link to my database of authorized re-uploads.

Anyone who isn’t on that list is subject to DMCA for unauthorized re-uploading!

Contact me via friend request on Steam to inquiry about further permissions.

©Copyright 2025 by https://fwkzt.com/

Download
Required items:

Click the title to search on this site.


CFSteam Workshop
Revisions:

Old revisions of this mod are available below. Click the link to download.