Util
Hierarchy
- Base
- Util
Index
Constructors
Methods
Constructors
publicconstructor
Methods
publicstaticgetUUID
Get the UUID of a player by providing their name
Parameters
name: string
The name of the player
Returns Promise<string>
publicstaticgetUsername
Get player's name from their UUID
Parameters
uuid: string
The uuid of the player
Returns Promise<string>
publicstaticisUUID
Check whether the provided UUID is a valid UUID or not
Parameters
uuid: string
The UUID to check
Returns boolean
Utility functions