SimpleTowns

SimpleTowns

5.5k Downloads

Add events TownDenyBuildEvent and TownBuildEvent

markhughes opened this issue ยท 2 comments

commented

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. ๐Ÿ˜„

commented

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.

commented

Sounds good!