Interface PlayerConfigurationConnection

All Superinterfaces:
PlayerCommonConnection, PlayerConnection, ReadablePlayerCookieConnection, WritablePlayerCookieConnection

public interface PlayerConfigurationConnection extends PlayerCommonConnection
  • Method Details

    • getAudience

      Audience getAudience()
      Returns the audience representing the player in configuration mode. This can be used to interact with the Adventure API during the configuration stage. This is guaranteed to be an instance of PlayerConfigurationConnection
      Returns:
      the configuring player audience
    • getProfile

      PlayerProfile getProfile()
      Gets the profile for this connection.
      Returns:
      profile
    • clearChat

      void clearChat()
      Clears the players chat history and their local chat.
    • completeReconfiguration

      void completeReconfiguration()
      Completes the configuration for this player, which will cause this player to reenter the game.

      Note, this should be only be called if you are reconfiguring the player.