as the title says, I set it in the config and animals still hoard the sleepers, but if I give the sleeper the sleeperguard.npcignore permission the animals ignore the sleeper and it works like normal!
Animals still attack sleepers
"NPC ignores sleepers (Enabling it can cause server lag)": false, //Enable it?Merged post
Only players in "Damage Protection" status can be ignored by NPC
here's my config, it's enabled and the default group has these permissions, I added sleeperguard.npcignore since it makes it work, but If i don't have it in the oxide group the config file option doesn't work.
sleeperguard.damageprotection, sleeperguard.lootprotection, sleeperguard.npcignore
sleeperguard.damageprotection, sleeperguard.lootprotection, sleeperguard.npcignore
{
"Damage delay (seconds) (0 to disable)": 0.0,
"Damage guard times (seconds) (0 to unlimit)": 0.0,
"Loot delay (seconds) (0 to disable)": 0.0,
"Loot guard times (seconds) (0 to unlimit)": 0.0,
"Notify player (true/false)": false,
"Notification interval (seconds)": 0.0,
"NPC ignores sleepers (Enabling it can cause server lag)": true,
"Chat prefix": "",
"Chat prefix color": "#00FFFF",
"Chat steamID icon": 0
} Can't you hurt and loot sleeping players?
Merged post
In other words, whether the sleeping player is protected
Merged post
In other words, whether the sleeping player is protected
nobody can hurt the sleepers with the way I got it set up "what i posted above", but the issue is that NPCs are attracted to sleepers and they constantly try killing them and never leave.
yes they are protected.
yes they are protected.
What kind of NPC?
animals
Merged post
i know for fact that wolfs are one of them.
Merged post
i know for fact that wolfs are one of them.
Does the console prompt for hook conflicts?
it does not.
All right, I'll check it
yeah, just a suggestion ;) cus it works if I give the permission, but if I don't and rely on the config option it doesn't work.
also a great suggestion for the plugin, it would be great if you can add an option to use permissions or not, and by default have the "permissions" be in the config rather than having server owners have to by default give permissions. just a really nice quality of life improvement :)
also, what do these options in the config do? asking because if by my guess damage delay is a delay to when the protection kicks in? if so then its broken, based on it saying setting it to 0 would disable it meaning that the player would have instant protection, but i have noticed that it actually doesn't work, hence the reason i have given the group the protection permission.
also a great suggestion for the plugin, it would be great if you can add an option to use permissions or not, and by default have the "permissions" be in the config rather than having server owners have to by default give permissions. just a really nice quality of life improvement :)
also, what do these options in the config do? asking because if by my guess damage delay is a delay to when the protection kicks in? if so then its broken, based on it saying setting it to 0 would disable it meaning that the player would have instant protection, but i have noticed that it actually doesn't work, hence the reason i have given the group the protection permission.
"Damage delay (seconds) (0 to disable)": 0.0,
"Damage guard times (seconds) (0 to unlimit)": 0.0,
"Loot delay (seconds) (0 to disable)": 0.0,
"Loot guard times (seconds) (0 to unlimit)": 0.0, I tested it. Animals don't attack sleeping players
Merged post
Make sure the player has permissions
Merged post
I think it would be better to enable permissions
Merged post
Make sure the player has permissions
Merged post
I think it would be better to enable permissions
NPCs, such as Bradley, Scientists still continue on shooting