facepunch auto kills sleepers in safe zones after 20 minutes, and they seem to wake up naked on beach after this when normally all the stuff is given back. my guess is the method of death is not accounted for in the plugin and being skipped as result.
is this fixable?
Items not restoring, if death is inside safe zone for sleeperFixed
Death by sleeping in a safe zone is dealt as suicide damage. If you have configured suicide to not restore, then this result is expected.
I have also encountered such situations, but my configuration settings are like this. May I ask if it is correct?
yeah mine had the config correct, not sure why it happens unless its something strange when the player is disconnected and later it makes them suicide and it gets confused. below is my config- player suicides return all stuff to them, they do it like 20 times a day.
{
"Give default items upon respawn if the players is having items restored": false,
"Can drop active item on death": false,
"Can drop backpack on death": false,
"Don't restore items if player commited suicide": false,
"Wipe stored data when the map wipes": true,
"Percentage of total items lost (Permission Name | Percentage (0 - 100))": {
"restoreupondeath.default": {
"Belt": 0,
"Wear": 0,
"Main": 0
},
"restoreupondeath.beltonly": {
"Belt": 0,
"Wear": 0,
"Main": 0
},
"restoreupondeath.admin": {
"Belt": 100,
"Wear": 100,
"Main": 100
}
},
"Version": {
"Major": 0,
"Minor": 6,
"Patch": 0
}
}
this is still an issue, i can recreate it at will, and sadly some players are getting timed out or otherwise kicked while in a safe zone, coming back and not happy waking up naked on beach
Fix:
Add this to server.cfg and change value to "100000" seconds, which is more than 2 months of time to ensure players will never die sleeping in safe zones during a wipe.
npcautoturret.sleeperhostiledelay "1200" (default)
(How many seconds until a sleeping player is considered hostile)
Merged post
I just realized that the time would reset per server restart. So having a value of 1-2 months time is irrelevant/unnecessary if you restart once every 24 hours.
Merged post
even with npcautoturret.sleeperhostiledelay, players are still waking up naked even though not being killed by safezone turrets.
so this appears to be truth, its not just me, please dev, find a fix for us.
Merged post
I will likely just create a zone around the safe zones that ejects sleepers for now.
bump and bump
phatblinkiebump and bump
The issue was fixed in v0.6.1 a week ago.
oof, tysm