SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Vintage Story

BedSpawn

IBy ilan

Sets your "return point" when you sleep in a bed. Resets when the bed is destroyed.

BedSpawn

Description

A simple mod that sets your spawn point when you use a bed. The spawn point is reset when the bed is destroyed.

Includes a command called /set-fatigue to allow you to set your player's "tiredness" (requires admin).

Configuration

 

The configuration file is located at <data>/ModConfig/BedSpawn.json

<pre class="language-javascript">{ // A list of blacklisted bed codes that won't set your spawn. // Useful if you want to take a hay bed for exploration, for example. In that case, the value should look like: // ["bed-hay"] "BlacklistedBeds": [],

// If true, will only set the spawn if the player is sneaking when using the bed "RequireSneaking": false,

"Rooms": { // If true, will require the bed to be in a valid room to set your spawn "Enabled": false,

// A list of bed codes that will set your spawn that ignore the room requirement "BedsThatDontRequireRooms": [] },

// If true, will tell you in chat why the bed isn't setting your spawn "EnableDebugMessages": true,

// If true, you will be notified when you respawn and your bed's been destroyed "NotifyPlayerOnBedDestroyed": false,

// If true, requires the bed to be above sea level to set your spawn "DisableBelowSeaLevel": true,

"Cooldown": { // If true, will force you to wait before you can set your spawn again "Enabled": true,

// The number of days you have to wait before you can set your spawn again. Can be fractional i.e. 0.5 = half a day "CooldownDays": 0.5 } }</pre>

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.