Interface PlatformOfflinePlayer

All Known Subinterfaces:
PlatformPlayer

public interface PlatformOfflinePlayer
Represents an offline player in the underlying platform.

This interface provides access to basic player identification data, such as UUID and name, without requiring the player to be online.

Since:
2.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    Returns the name of the player, if known.
    @NotNull UUID
    Returns the unique identifier of the player.
  • Method Details

    • uuid

      @NotNull @NotNull UUID uuid()
      Returns the unique identifier of the player.
      Returns:
      the UUID
      Since:
      2.0.0
    • name

      @Nullable @Nullable String name()
      Returns the name of the player, if known.
      Returns:
      the player name, or null if unknown
      Since:
      2.0.0