carny666 submitted a new resource:
LocalTimeDamageControl - Allows admin to control when damage can be done by non-owners using local server time.
Read more about this resource...

LocalTimeDamageControl
Allows admin to control when damage can be done by non-owner players to using local server time.
Total Downloads: 129 - First Release: Dec 11, 2017 - Last Update: Dec 13, 2017
- 5/5, 2 likes
-
Dont understand????
Does "/ lset on" completely prevent the decay?
Why so complicated? It would be enough for me to have the option ON and OFF or reduce the costs to a quarter.
[DOUBLEPOST=1513015330][/DOUBLEPOST]I believe that if it is time-bound, the building does not always repair itself.
[DOUBLEPOST=1513015508][/DOUBLEPOST]Or did I misunderstand the modification and it is not at all for the decay of buildings? -
This mod disallows damage by players to structures not owned by them during a specified local server time. -
Ok thanks and sorry my English isnt the best one
-
Local time I suppose is actual time of day in real life where server is hosted?
Are there any messages that get sent to players on wielding damage?
Is there a message when this starts and ends? -
No messages.. but I suppose it could be added. -
-
carny666 updated LocalTimeDamageControl with a new update entry:
1.0.1
-
doesnt work for me..
-
-
Code:
{ "LocalTimeDamageControlDuratationMinutes": 540, "LocalTimeDamageControlOn": true, "LocalTimeDamageControlStart": "1:00" }
I've tried /lset start 01:00
I've tried /lset start 1:00
I even tried the on/off command and tested damaging buildings, but no effect at all. -
This plugin uses the local server time, whatever that may be.
I know your asked for 24 hour time (HH:mm) whilst entering the time.
i.e: 12:30
Yet the 'LocalTimeDamageControlStart' value should use 12 hour time format (hh:mm AM) including AM/PM specifier.
i.e: 10:30 PM
Setting the time by using '/lset start 01:00' should have saved it as 1:00 AM, not just 1:00.
/lset on and /lset off just enables/disables the plugin when it's running.
Code:{ "LocalTimeDamageControlDuratationMinutes": 540, "LocalTimeDamageControlOn": true, "LocalTimeDamageControlStart": "1:00 AM" }
I believe you may have changed the config file by hand (which is ok of course) and omitted the AM/PM specifier (not so ok), please add that and retry it.
Q: Do you think the plugin should have a setting to turn the protection off/on (at any time) at the will of the admin? -
I cant get it to work whatever i try.
-
I wonder if anyone else has this issue. I don't use it generally speaking but all testing I have done says that it works, in my case the server's time is a few hours ahead of my own so I have to adjust for that. I think you're aware of that.
Saying "I cant get it to work whatever i try.", is not extremely helpful, maybe you can provide some more information, anything, like are there errors in the log or anything?
One other thing, you CAN damage your own (owned) entities no matter what. I felt that restricting one from damaging their own property would be maddening. Of course I can add this as an option, why one would choose that is beyond me though. In case you're testing this on stuff you've made yourself...
I am happy to help, please help me, help you. -
Ive added a set time
Ive tried enabling it with the /command and all it does is display a message in chat of current time.
I use the console command and get "LocalTimeDamageControl 1.0.1 initialized @ the current time" message in chat
Ive got players to place a test base and i tried damaging it
Ive placed test bases myself and asked players to damage it
Not a single thing gave a message of 'no raid' nor did it stop the damage. All bases were completely destroyed.Last edited by a moderator: Dec 18, 2017 -
There are no console commands for this plugin.
To use the LSET command you must grant yourself admin privs for the plugin, not admin privs on the server per se:
Code:oxide.grant user <username> LocalTimeDamageControl.admin
Code:oxide.grant group <admingroupname> LocalTimeDamageControl.admin
Please repost your config. -
I meant 'oxide.reload LocalTimeDamageControl' when i said "console command"
I wouldnt need the perms to make the config work, but I'm pretty sure I did the perms when I installed it.
My config is the same as the one i posted previously.
I've used 'NoRaid' with 'TimedExecute' instead. That worked for me. -
You MUST supply a 12 hour format time including the AM/PM specifier.
I am unsure how many different ways I can say this. -
I see now
The plugin information regarding time isn't consistant. It's /lset start 08:00 (24hr clock format) yet the config needs 8:00 AM format
It'd be more simple if it was using 24 hour clock like all the other plugins do. -
Love this mod. Only issue I'm having is I can't do damage to animals and barrels while on.