Class PreNewTownEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.CancellableTownyEvent
com.palmergames.bukkit.towny.event.PreNewTownEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class PreNewTownEvent extends CancellableTownyEvent
  • Constructor Details

    • PreNewTownEvent

      public PreNewTownEvent(org.bukkit.entity.Player player, String townName, org.bukkit.Location spawnLocation, double price)
  • Method Details

    • getPlayer

      public org.bukkit.entity.Player getPlayer()
    • getTownName

      public String getTownName()
    • getTownLocation

      public org.bukkit.Location getTownLocation()
    • getTownWorldCoord

      public WorldCoord getTownWorldCoord()
    • getPrice

      public double getPrice()
    • setPrice

      public void setPrice(double price)
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event