Skip to main content

Module profile

Module profile 

Source
Expand description

This module contains the GameProfile struct, which is used to store information about a player’s profile.

Re-exports§

pub use known_players::KnownPlayer;
pub use known_players::KnownPlayers;
pub use lookup::ProfileLookupError;

Modules§

known_players 🔒
Player profiles known to this server.
lookup 🔒
Online player name-to-identity lookup.

Structs§

GameProfile
A struct representing a player’s game profile.

Enums§

GameProfileAction
An enum representing a profile action.

Functions§

is_valid_player_name
Returns whether a name is valid for online login and profile lookup.
offline_uuid
Generates vanilla’s deterministic offline-mode UUID for a player name.