Class TownyWorldListener
java.lang.Object
com.palmergames.bukkit.towny.listeners.TownyWorldListener
- All Implemented Interfaces:
org.bukkit.event.Listener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onLightningStrike
(org.bukkit.event.weather.LightningStrikeEvent event) void
onPortalCreate
(org.bukkit.event.world.PortalCreateEvent event) void
onStructureGrow
(org.bukkit.event.world.StructureGrowEvent event) Protect trees and mushroom growth transforming neighbouring plots which do not share the same owner.void
onWorldInit
(org.bukkit.event.world.WorldInitEvent event) void
onWorldLoad
(org.bukkit.event.world.WorldLoadEvent event)
-
Constructor Details
-
TownyWorldListener
-
-
Method Details
-
onWorldLoad
public void onWorldLoad(org.bukkit.event.world.WorldLoadEvent event) -
onWorldInit
public void onWorldInit(org.bukkit.event.world.WorldInitEvent event) -
onLightningStrike
public void onLightningStrike(org.bukkit.event.weather.LightningStrikeEvent event) -
onStructureGrow
public void onStructureGrow(org.bukkit.event.world.StructureGrowEvent event) Protect trees and mushroom growth transforming neighbouring plots which do not share the same owner.- Parameters:
event
- - StructureGrowEvent
-
onPortalCreate
public void onPortalCreate(org.bukkit.event.world.PortalCreateEvent event)
-