Interface ProxyFacade


public interface ProxyFacade
Platform-neutral proxy operations used by the Velocity transport agent.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    movePlayer(String playerId, String serverId)
    Requests that a player connect to a backend server.
    int
    Counts connected players.
    void
    setGroupJoins(String group, boolean enabled)
    Publishes or applies the requested join state for a server group.
  • Method Details

    • onlinePlayers

      int onlinePlayers()
      Counts connected players.
      Returns:
      current proxy-wide online player count
    • movePlayer

      void movePlayer(String playerId, String serverId)
      Requests that a player connect to a backend server.
      Parameters:
      playerId - player UUID
      serverId - destination backend name
    • setGroupJoins

      void setGroupJoins(String group, boolean enabled)
      Publishes or applies the requested join state for a server group.
      Parameters:
      group - server group
      enabled - whether the group should accept joins