Interface PlatformPlayer

All Superinterfaces:
PlatformEntity, PlatformLivingEntity, PlatformOfflinePlayer, PlatformRegionHolder

public interface PlatformPlayer extends PlatformLivingEntity, PlatformOfflinePlayer
Represents a player in the underlying platform.

This interface combines the properties of a living entity and an offline player, providing access to player-specific data like name and online status.

Since:
2.0.0
  • Method Details

    • name

      @NotNull @NotNull String name()
      Returns the name of the player.
      Specified by:
      name in interface PlatformOfflinePlayer
      Returns:
      the player name
      Since:
      2.0.0