Allows admin to control when damage can be done by non-owner players to using the local server time.

Supported Games
GameServerKingsGameServerKings

LocalTimeDamageControl Allows admin to control when damage can be done by non-owner players to structures using the local server's time.

Commands

  • /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.

If you want to automatically protect buildings from being raided/damaged from 8:30 am to 8:30 pm (Server Time), peform the following commands:

/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

  • 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

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...

This plugin is unlicensed and the original author reserves all rights to it.

The original author may request that this plugin be removed and there is a risk that the plugin may be unavailable in the future.

Note that the current maintainer may not have permission to assign a license to the plugin if they are not the original author, so explicit permission would need to be obtained from the original author in order for the plugin to remain openly available and guarantee that it will be around for all to enjoy going forward.