Interface AdditionsNameTag
public interface AdditionsNameTag
Custom AdditionsPlus Name Tag class.
Periodically update (animated) name tags based on groups.
Supports Placeholders and HEX colors.
-
Method Summary
Modifier and TypeMethodDescriptiongetGroup()
Get the identifier of this name tag (group).int
getOrder()
Get the server order position of this name tag.Get the permission of this name tag.Get the player name prefix.Get the player name suffix.getTag()
Get the name tag value.long
Get the update interval of this name tag in ticks.boolean
Get whether to change the display name above the player's head.boolean
Get whether to change the chat display name of the player.
-
Method Details
-
getOrder
int getOrder()Get the server order position of this name tag.- Returns:
- Order position of this name tag.
-
getPermission
String getPermission()Get the permission of this name tag.- Returns:
- Permission of this name tag.
-
getTag
AdditionsAnimation getTag()Get the name tag value.- Returns:
AdditionsAnimation
that contains the frames.
-
getGroup
String getGroup()Get the identifier of this name tag (group).- Returns:
- Group identifier of this name tag.
-
getUpdateInterval
long getUpdateInterval()Get the update interval of this name tag in ticks.- Returns:
- Update interval of this name tag in ticks.
-
isChangeDisplayName
boolean isChangeDisplayName()Get whether to change the chat display name of the player.- Returns:
- true when enabled, false otherwise.
-
isChangeAbovePlayerName
boolean isChangeAbovePlayerName()Get whether to change the display name above the player's head.- Returns:
- true when enabled, false otherwise.
-
getPrefix
AdditionsAnimation getPrefix()Get the player name prefix.- Returns:
AdditionsAnimation
that contains the frames.
-
getSuffix
AdditionsAnimation getSuffix()Get the player name suffix.- Returns:
AdditionsAnimation
that contains the frames.
-