Class TownListDisplayedNumResidentsCalculationEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.town.TownListDisplayedNumResidentsCalculationEvent

public class TownListDisplayedNumResidentsCalculationEvent extends org.bukkit.event.Event
Used to alter how many residents a town appears to have in the /town list pages.
Since:
0.100.1.8.
Author:
LlmDl
  • Constructor Details

    • TownListDisplayedNumResidentsCalculationEvent

      public TownListDisplayedNumResidentsCalculationEvent(int displayedValue, Town town)
  • Method Details

    • getTown

      public Town getTown()
    • setDisplayedValue

      public void setDisplayedValue(int value)
    • getDisplayedValue

      public int getDisplayedValue()
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

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