I would like something to be able to prevent raiding between the hours 1am and 9am when i have no admins on, just so people can build between this time.
Reign of Kings Something to prevent raiding
Discussion in 'Plugin Requests' started by will mcmanus, May 22, 2015.
-
WarTime mod sounds like it may be what you are looking for.
http://oxidemod.org/plugins/wartime.1012/ -
no m8 wartime doesnt do this, i want a plugin that prevent damage to bases that plugin doesnt, but big thx for your fast reply though.
-
private void OnCubeTakeDamage(CubeDamageEvent cubeDamageEvent)
{
}
With this hook it is 100% possible to do what you want. Maybe if you could provide more of your idea, I can help you craft a script. -
I was considering of closing the servr because my community were getting annoyed because they would come on the next day and there bases were destroyed, now if i could leave my server on and no ones base could be destroyed between the hours i chose it would be fantastic. that way people who came on during them hours would only be able to build
-
It would be ashamed for you to lose your buddies. Here ya go! Let me know if you have any questions.
Moderator edit: Please use the Plugins section for sharing plugins.Last edited by a moderator: May 24, 2015 -
Add this under "OnEntityHealthChange":
Code:if(e.Damage.Amount > 0 && (e.Entity.name.Contains("Sleep") || e.Entity.name.Contains("Crest"))) e.Damage.Amount = 0;
You can also disable ballista or trebuchet damage by
Code:if(e.Damage.Damager.name.Contains("Trebuchet") || e.Damage.Damager.name.Contains("Ballista")) e.Damage.Amount = 0;
-
Thanks Sydney, feel free to add and repost as WIP. thanks!
-
-
Here is an update, this has more options such as Gametime vs Servertime attackng, and actions on rule break (warn,kick ban) with a warning counter to trigger the ban.
Moderator edit: Please use the Plugins section for sharing plugins.Last edited by a moderator: May 24, 2015 -
Thank you very much
-
how i make area where no one cant set crest or block.thx to you now i have base what cant destroy.but i want to make no crest arena
and shop
[DOUBLEPOST=1448123623,1447886858][/DOUBLEPOST] -
Hmm, where can I find this plugin which Hawthrone is talking about? he gave link here but moderator deleted it :/