Features
- Remove building blocks
- Remove deployables
- Scheduled cleanup
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>.To use command entitycleanup user must have permission entitycleanup.use
Commands
This plugin provides both chat and console commands using the same syntax. When using a command in chat, prefix it with a forward slash: `/`.- entitycleanup - launches cleanup on demand, regardless of configured schedule
Configuration
The settings and options can be configured in the EntityCleanup file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.Explanation
- Interval - Sets interval in seconds to perform cleanups (set to 0 to disable scheduled cleanup)
- CleanupBuildings - Should cleanup affect building blocks
- CleanupDeployables - Should cleanup affect deployables
- RemoveOutsidePrivilege - Should cleanup affect entities outside any cupboard range
- OutsideHealthFractionTheshold - Max health fraction of entities to cleanup if they are outside TC range
- RemoveInsidePrivilege - Should cleanup affect entities inside any cupboard range
- InsideHealthFractionTheshold - Max health fraction of entities to cleanup if they are inside TC range
- CheckOwnerIdPrivilegeAuthorized - If set to true - cleanup will only affect entities inside TC range which were placed by player who is not authorized in TC (works only if RemoveInsidePrivilege is true)
- Whitelist - List of (short)prefabnames to ignore during cleanup