This plugin simply does protect sleepers from being killed by animals. The attacking animal will turn into "Flee"-mode once it attacks.
Per default this is activated for all players. This can be changed in config-file by setting Use Permissions to 'true'. The check for sleeping on top of foundation can be activated with "Required to sleep ON foundation > true". After a change run in console 'reload SleeperAnimalProtection'.
Enable OnNpcTarget hookit is possible to disable this hook in the plugin. TruePVE as a similar function to avoid animal attack on sleepers.AnimalsIgnoreSleepers flag
this is to avoid a warning because between this plugin and TruePVE.changing the config parameter OnNpcTarget return code to false will also avoid the warning message.
Per default this is activated for all players. This can be changed in config-file by setting Use Permissions to 'true'. The check for sleeping on top of foundation can be activated with "Required to sleep ON foundation > true". After a change run in console 'reload SleeperAnimalProtection'.
Permissions
This plugin uses the permission system. To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>. To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.- sleeperanimalprotection.active -- Enables protection for player (if permissions enabled)
Configuration
The settings and options can be configured in the SleeperAnimalProtection file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.Enable OnNpcTarget hookit is possible to disable this hook in the plugin. TruePVE as a similar function to avoid animal attack on sleepers.AnimalsIgnoreSleepers flag
this is to avoid a warning because between this plugin and TruePVE.changing the config parameter OnNpcTarget return code to false will also avoid the warning message.