Skip to Content
⚠ Under Construction
ReferenceC++ APIPlayerBanEntry

endstone::PlayerBanEntry

Bases: endstone::BanEntry

Functions:

NameDescription
PlayerBanEntry
getNameGets the banned player’s name.
getUniqueIdGets the banned player’s unique id.
getXuidGets the banned player’s xbox user id (xuid).

PlayerBanEntry

PlayerBanEntry(std::string name, std::optional<UUID> uuid = std::nullopt, std::optional<std::string> xuid = std::nullopt)

getName

std::string getName() const

Gets the banned player’s name.

Returns:

the player name

getUniqueId

std::optional<UUID> getUniqueId() const

Gets the banned player’s unique id.

Returns:

the player’s unique id, or std::nullopt if not available

getXuid

std::optional<std::string> getXuid() const

Gets the banned player’s xbox user id (xuid).

Returns:

the player’s xbox user id (xuid), or std::nullopt if not available

Last updated on