DayZ
551 ratings
Bed-Respawning
3
3
4
2
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
File Size
Posted
Updated
3.390 MB
May 27, 2020 @ 9:43pm
Nov 11, 2023 @ 3:20pm
49 Change Notes ( view )

Subscribe to download
Bed-Respawning

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.24 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? :
If you haven't gotten permission from me personally, you'll need to.

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

If you want to donate to this mod, you can do so here : https://www.paypal.com/paypalme/fwkzt



©Copyright 2024 by https://fwkzt.com/
Popular Discussions View All (6)
54
Apr 11 @ 7:22pm
PINNED: Report Bugs here
MKA0207
3
May 29 @ 7:51am
Type for CE
Stéphane
4
Mar 3, 2023 @ 2:54am
Despawn after certain ammount of uses for balancing reasons?
Raidace
686 Comments
nomercy Jul 14 @ 2:01am 
can i repack into my server pack? i given to you all credits
Andro ID Gaming Jul 9 @ 7:03am 
Does anyone have the problem that when you place the bed in a building from a kit, the building disappears? For example, in a tree house?
FleOx-FT Jul 4 @ 7:30am 
Hello possible with expansion?
howardjason920 Jun 11 @ 11:40pm 
expansion is bad dont use it
.JOKER. May 29 @ 7:33am 
Mod won't load automatically in launcher, I load it then start game to find I have been kicked for missing PBO
Sam3582 May 22 @ 7:11am 
I have also found this mod is no longer working or its just not working with Banov map perhaps??
Banditas May 12 @ 5:27am 
Hello mod is working , but I get lot of errors:
------------------------------------
WIN-5A5JEDJI1S7, 12.05 2024 13:18:19
[EntityAI::OnStoreLoad] :: [WARNING] :: Scripted variables corrupted upon "MediumTent_Green".
Entity will not be loaded correctly.
Function: 'main'
Stack trace:
$CurrentDir:mpmissions\dayzOffline.chernarusplus\init.c:14
---------------------------------------
Looks like all tents in the crash file. Here posted only first one.
Any fix of it, Thanks
stevenc78 May 11 @ 2:23pm 
No longer working? Our players just respawn at coast even with a bag deployed in their base.
xFellaTV May 8 @ 4:09pm 
Still Working?? Also with Expansion Spawn Selection ????
George7707 Apr 27 @ 4:06pm 
Me too. Expansion mod support would be great.