JamesHealey94 / SimpleTowns

Simple, chunk-based protection plugin for Bukkit.
http://dev.bukkit.org/bukkit-plugins/simpletowns/
The Unlicense
3 stars 1 forks source link

Add events TownDenyBuildEvent and TownBuildEvent #4

Open markhughes opened 10 years ago

markhughes commented 10 years ago

Add two events that are fired when a player is denied building, and when a player builds.

TownDenyBuildEvent - if canceled, allow building TownBuildEvent - if canceled, deny building

Would be helpful for plugins. :smile:

JamesHealey94 commented 10 years ago

Another nice idea, but perhaps different names?

TownDeniedBuildEvent - if canceled, allow building (place, break, fill, or empty) TownAllowedBuildEvent - if canceled, deny building (place, break, fill, or empty)

Not 100% sure on this, I'll have a closer look tonight and comment again.

markhughes commented 10 years ago

Sounds good!