LocalTimeDamageControl Allows admin to control when damage can be done by non-owner players to structures using the local server's time.
/lset start 8:30 AM/lset hours 12/lset on
If you want to protect buildings from being raided/damaged until such time you turn it off:
/lset activate
If you want to stop protecting buildings from being raided/damaged until such time as you turn it on, or if the cvonfig says so:
/lset deactivate/lset on
If you want to stop protecting buildings from being raided/damaged until such time as you turn it on:
/lset deactivate
clear as mud?
-Set admin permission ie: oxide.grant user username LocalTimeDamageControl.admin
-set start time i.e: /lset start 8:00 PM-set duration i.e: /lset minutes 120
If you insist on manually editing the config file please make sure the start time is formated properly, for example:
"08:30 PM"
or
"11:15 AM"
TODO: further testing...
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: `/`.- /lset start 08:00 -- sets start time at 8 am
- /lset minutes 160 -- sets duration for 160 minutes
- /lset hours 2 -- sets duration for 120 minutes
- /lset on -- turns plugin on. (During set times)
- /lset off -- turns plugin off. (ALWAYS)
- /lset activate -- Activate protection, disregard config.
- /lset deactivate -- Regard config.
/lset start 8:30 AM/lset hours 12/lset on
If you want to protect buildings from being raided/damaged until such time you turn it off:
/lset activate
If you want to stop protecting buildings from being raided/damaged until such time as you turn it on, or if the cvonfig says so:
/lset deactivate/lset on
If you want to stop protecting buildings from being raided/damaged until such time as you turn it on:
/lset deactivate
clear as mud?
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>.- LocalTimeDamageControl.admin
Installation
-Install Mod-Set admin permission ie: oxide.grant user username LocalTimeDamageControl.admin
-set start time i.e: /lset start 8:00 PM-set duration i.e: /lset minutes 120
Configuration
The settings and options can be configured in the LocalTimeDamageControl file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.If you insist on manually editing the config file please make sure the start time is formated properly, for example:
"08:30 PM"
or
"11:15 AM"
TODO: further testing...