Class TownyObjectFormattedNameEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.TownyObjectFormattedNameEvent

public class TownyObjectFormattedNameEvent extends org.bukkit.event.Event
  • Constructor Details

    • TownyObjectFormattedNameEvent

      public TownyObjectFormattedNameEvent(TownyObject object, String prefix, String postfix)
  • Method Details

    • getPrefix

      public String getPrefix()
    • setPrefix

      public void setPrefix(String prefix)
    • getPostfix

      public String getPostfix()
    • setPostfix

      public void setPostfix(String postfix)
    • getTownyObject

      public TownyObject getTownyObject()
    • isResident

      public boolean isResident()
    • isTown

      public boolean isTown()
    • isNation

      public boolean isNation()
    • getHandlerList

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

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