API
The API methods are used to get information directly from the player servers API documented at https://api.playerservers.com/
The API section is used to make API requests to the public CubedCraft/Player Servers API.
Methods (Click a method to view documentation for the method)
Properties (Click a property to view documentation for the method)
You can find the official CubedCraft API documentation at https://api.playerservers.com/. This will show example responses as well.
If you are making a request where you require the player's UUID you can use .utils.playerUUID(playerName) to get a player's UUID.
Documentation: https://pondwadermc.gitbook.io/cubed-api/documentation/utils/playeruuid
Example:
It will return an error if the player is not an actual player so you should catch the error!
Last updated
Was this helpful?