Class TownyObjectFormattedNameEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.TownyObjectFormattedNameEvent
public class TownyObjectFormattedNameEvent
extends org.bukkit.event.Event
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionTownyObjectFormattedNameEvent
(TownyObject object, String prefix, String postfix) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
boolean
isNation()
boolean
boolean
isTown()
void
setPostfix
(String postfix) void
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
TownyObjectFormattedNameEvent
-
-
Method Details
-
getPrefix
-
setPrefix
-
getPostfix
-
setPostfix
-
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 classorg.bukkit.event.Event
-