playerUUID
.playerUUID() is used to get the UUID of a player, this can be used to then getting information about that player.
const CubedCraft = require('cubed-api');
const player = 'PLAYER_NAME';
CubedCraft.utils.playerUUID(player).then(uuid => {
console.log(uuid);
})
.catch(error => {})Last updated