Package net.ME1312.SubServers.Velocity
Class SubAPI
java.lang.Object
net.ME1312.SubServers.Client.Common.ClientAPI
net.ME1312.SubServers.Velocity.SubAPI
SubAPI Class
-
Method Summary
Modifier and TypeMethodDescriptionVersion[]
Get an array of compatible Minecraft Versionsstatic SubAPI
Gets the SubAPI MethodsDeprecated.Use SubAPI Methods when availableGets values from the SubServers LangGets the current SubServers Lang ChannelsgetName()
Get the Proxy NameGets the SubServers Build VersionGets the SubServers VersionGets the BungeeCord VersiongetRemotePlayer
(String name) Gets a player on this network by searching across all known proxies (Cached)getRemotePlayer
(UUID id) Gets a player on this network by searching across all known proxies (Cached)int
Get the number of players on this network across all known proxiesGets players on this network across all known proxies (Cached)getRemotePlayers
(ServerInfo server) Get players on this server across all known proxies (Cached)Gets the Runtime DirectoryGets the SubData Network ConnectionsGets the SubData Network ProtocolMethods inherited from class net.ME1312.SubServers.Client.Common.ClientAPI
addServer, addServer, addServer, addServer, forceRemoveServer, forceRemoveServer, forceRemoveServer, forceRemoveServer, getGroup, getGroups, getHost, getHosts, getLang, getLowercaseGroups, getMasterProxy, getProxies, getProxy, getRemotePlayer, getRemotePlayer, getRemotePlayers, getServer, getServers, getSubServer, getSubServers, removeServer, removeServer, removeServer, removeServer
-
Method Details
-
getInstance
Gets the SubAPI Methods- Returns:
- SubAPI
-
getInternals
Deprecated.Use SubAPI Methods when availableGets the SubServers Internals- Returns:
- SubPlugin Internals
-
getName
Get the Proxy Name -
getRemotePlayerCount
public int getRemotePlayerCount()Get the number of players on this network across all known proxies- Returns:
- Remote Player Count
-
getRemotePlayers
Get players on this server across all known proxies (Cached)- Parameters:
server
- Server to search- Returns:
- Remote Player Map
-
getRemotePlayers
Gets players on this network across all known proxies (Cached)- Returns:
- Remote Player Map
-
getRemotePlayer
Gets a player on this network by searching across all known proxies (Cached)- Parameters:
name
- Player name- Returns:
- Remote Player
-
getRemotePlayer
Gets a player on this network by searching across all known proxies (Cached)- Parameters:
id
- Player UUID- Returns:
- Remote Player
-
getSubDataNetwork
Gets the SubData Network Connections- Specified by:
getSubDataNetwork
in classClientAPI
- Returns:
- SubData Network Connections
-
getSubDataProtocol
Gets the SubData Network Protocol- Specified by:
getSubDataProtocol
in classClientAPI
- Returns:
- SubData Network Protocol
-
getLangChannels
Gets the current SubServers Lang Channels- Specified by:
getLangChannels
in classClientAPI
- Returns:
- SubServers Lang Channel list
-
getLang
Gets values from the SubServers Lang -
getRuntimeDirectory
Gets the Runtime Directory- Returns:
- Directory
-
getPluginVersion
Gets the SubServers Version- Returns:
- SubServers Version
-
getPluginBuild
Gets the SubServers Build Version- Returns:
- SubServers Build Version (or null if unsigned)
-
getProxyVersion
Gets the BungeeCord Version- Returns:
- BungeeCord Version
-
getGameVersion
Get an array of compatible Minecraft Versions- Returns:
- Minecraft Versions
-