Class DisplayOverride
java.lang.Object
com.craftmend.openaudiomc.api.voice.DisplayOverride
This class is used to override the display name of a player in the voice chat system.
This is useful for when you want to display a different name than the player's actual name,
to add compatibility for bedrock players or display game ranks.
- Since:
- 6.10.2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
@Nullable UUID
The new UUID that should be used to obtain skin data.@Nullable String
getName()
The name that should be displayed in the voice chat system.int
hashCode()
void
setDisplayUuid
(@Nullable UUID displayUuid) The new UUID that should be used to obtain skin data.void
The name that should be displayed in the voice chat system.toString()
-
Constructor Details
-
DisplayOverride
public DisplayOverride()
-
-
Method Details
-
getName
The name that should be displayed in the voice chat system. MUST be 32 characters or less. -
getDisplayUuid
The new UUID that should be used to obtain skin data. -
setName
The name that should be displayed in the voice chat system. MUST be 32 characters or less. -
setDisplayUuid
The new UUID that should be used to obtain skin data. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-