Hello. I'm trying to make a plugin which disables raiding entirely via a command e.g '/purge raiding off/on'
I have EntityOwner, and would like to use it's API.
My idea is to intercept when the player damages a block by any means, and check if he or she is the owner, and if they are not cancel the damage and send a message. How would I do this using OnConditionLose, or is there a different thing I must use? Thanks.
Solved OnConditionLose ... or ?
Discussion in 'Rust Development' started by Captain. Knee Gell, Aug 3, 2015.
-
Dude everything that you want is here http://oxidemod.org/plugins/the-purge.1102/
-
-
Dont care about the other stuff.. just open it and search for the thingy that you want.\
About the hook.. i think you should use OnEntityHealthChange.