Interface Connection

All Known Subinterfaces:
GeyserConnection
All Known Implementing Classes:
GeyserSession

@NonNull public interface Connection
Represents a player connection.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the name of the connection.
    Gets the UUID of the connection.
    Gets the XUID of the connection.
  • Method Details

    • name

      String name()
      Gets the name of the connection.
      Returns:
      the name of the connection
    • uuid

      UUID uuid()
      Gets the UUID of the connection.
      Returns:
      the UUID of the connection
    • xuid

      String xuid()
      Gets the XUID of the connection.
      Returns:
      the XUID of the connection