Onyx submitted a new resource:
BuildingProtector - Allows you to protect buildings against player attacks during your desired period every day.
Read more about this resource...
BuildingProtector [Unmaintained]
Discussion in 'Plugin Support' started by Onyx, Jul 4, 2015.
-
Onyx updated BuildingProtector with a new update entry:
Fixing chat prefix.
-
This seems like an awesome plugin. Disallow nightly raiding to protect ppl with jobs.
-
I cant get oxide to recognize the plugin when I'm trying to reload it. I do oxide.reload BuildingProtector and it can't find it, is there another name that it will recognize?
-
No the name is BuildingProtector so it should recognize it ... It's working for me.
When you upload the plugin on your server do you see something like BuildingProtector has been successfully loaded ? -
Nope, when I load the plugin it tells me buildingprotector has been loaded, but if I try to reload it it says no source found for that name. The only way to reload a config file is to delete the plugin and reinstall it. I tried that a few times to get it to work, but in the end it wouldn't. It keeps getting the hours confused. If I tell it to allow raids between 20 and 6 it works for one cycle, then just disables building damage all together.
-
Ok i'll check the config stuff again tonight or tomorrow and i'll let you know.
-
Hey,
After wondering why the plugin didn't work on my server, and snooping thru the code,
i came realize that the timeframe set is not in relation to ingame time, but in relation to realtime.
I think it might be nice to make a comment or so about it in the plugin description - i would not be surprised if others are getting confused about this one too. -
You're right i didn't realize this. I'll do it as soo as ive got a Pc back.
-
Is this the correct format? I'm just a little confused as to how I set it up to work properly. Thanks!
Code:{ "End of raids": { "Hours": 09, "Minutes": 00, "Seconds": 0 }, "Messages": { "InformMessage": "You can't raid between {22:30} and {09:00} !" }, "Options": { "Inform Interval": 10.0, "Inform Player": true }, "Start of raids": { "Hours": 22, "Minutes": 30, "Seconds": 0 } }
Last edited by a moderator: Jul 24, 2015 -
Yes it's good. Raids will be enabled from 22h30 to 9h00. But the message is not good you don't need to edit the {0} and {1} as it automatically displays the hours you defined in the config.
-
Anybody send me IP of servers that are running this? I would like to try it out, i've been thinking about setting up a server with this as one of it's core features.
Would it be possible to include in this mod a way to make raiding possible either during the window, or when a player is online?
My thought was to tie the online status to any toolcubboard they're authorize too. The obvious exploit is to simply logout, so I thought a "war declaration" feature would be cool; Player A is online, Player B War Decs them (a customizable fee option would be nice here to prevent war dec spamming), Player A's buildings are now all vulnerable for the next 60 minutes (this timer should be customizable as well). -
That is a good idea, i'll be thinking about that.
I host a French server with this but it's really not working, but you should try creating one. Let me know if you do so. -
edit: Also, does building protector allow me to set days of the week for raids to be active in the time zone? or is it every day? (and would that be a possibility in the future?)Last edited by a moderator: Aug 3, 2015 -
The plugin is working well, i just mean that French players aren't populating my server ... But it may be because it's French only.
It doesn't allow you to set days of the week at the moment but it's a good idea so i'll be working on that too. -
Onyx updated BuildingProtector with a new update entry:
1.2.0
-
Onyx, it's possible I'm not configuring it right; what I'm looking for is a way to make the raid window open on certain nights. Currently, with the changes made, it looks like it's enabling raids for the entire day.
From the .json
Code:{ "End of raids": { "Hours": 20, "Minutes": 30, "Seconds": 0 }, "Messages": { "InformMessage": "You can only raid between {0} and {1}, on Monday/Wednesday/Thurs/Saturday !" }, "Options": { "Days of the week when Protector is enabled": "Monday,Wednesday,Thursday,Saturday,", "Inform Interval": 10.0, "Inform Player": true }, "Start of raids": { "Hours": 17, "Minutes": 0, "Seconds": 0 } }
Last edited by a moderator: Aug 4, 2015 -
The configuration is good and it's enabling it for the entire day because we are Tuesday and you didn't choose Tuesday in the list. At midnight you should have a message "Raids are disabled, they will be enabled again in XX minutes". Tell me if it's not what u meant.
-
What I want is for raiding to be only available on Mon/Wed/Thurs/Sat between 17h0m and 20h30m.
Choosing the days should choose when Protector is disabled (and only during the specified windows); it should be enabled by default the rest of the time. Currently the opposite is happening (if i'm understanding the code correctly) - did this help clarify? -
In the config file the days you choose are when the protector is enabled so in your case you want it to be enabled on Mon/Wed/Thurs/Sat. Then during this days you choose an hour to start the raids and another to end it. So the config is ok.