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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe new UUID that should be used to obtain skin data.getName()The name that should be displayed in the voice chat system.inthashCode()voidsetDisplayUuid(UUID displayUuid) The new UUID that should be used to obtain skin data.voidThe 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
-