Interface ProxyFacade
public interface ProxyFacade
Platform-neutral proxy operations used by the Velocity transport agent.
-
Method Summary
Modifier and TypeMethodDescriptionvoidmovePlayer(String playerId, String serverId) Requests that a player connect to a backend server.intCounts connected players.voidsetGroupJoins(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
-
setGroupJoins
Publishes or applies the requested join state for a server group.- Parameters:
group- server groupenabled- whether the group should accept joins
-