I have pvp disabled for the whole world, but I want a small area to have pvp enabled. Is there a way to do that? Thanks! ;P
do what I did, reverse it. make the whole world pvp, but then cancel all the events unless it's in the area you need it to be defined in.
Possibly wrong section? (I'm not sure if you are talking code or other plugins..) As a side note: Worldguard can do everything you listed above.
As code, I don't know, maybe something like the cords of x 100 z 100 - x 200 z 200 is pvp only? while the rest of the world is non-pvp. Sorry I'm confusing. I don't really like worldguard. :\
My thought when making plugins is why make a plugin that is already out there and works very well. There are a few other plugins out there that will do what you are looking for. I'm assuming you also would not want just one single block to be PvP, so it would just get more complicated than need be. I strongly suggest using worldguard or another substitute for it. Use /rg flag <region> pvp allow/deny to allow or deny pvp in a certain area using worldguard.