1. 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.
     
  2. What I want is different. PvP is always allowed, however on Wednesday, Friday and Saturday you're allowed to RAID and Kill on Sight. This does it just after sunset and also disabled pvp.
     
  3. 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.