Package net.ME1312.SubServers.Bungee
Interface BungeeAPI
public interface BungeeAPI
SubAPI BungeeCord Common Class
-
Method Summary
Modifier and TypeMethodDescriptionVersion[]
Get an array of compatible Minecraft Versionsstatic BungeeAPI
Gets the SubAPI BungeeCord Common MethodsDeprecated.Use BungeeAPI Methods when availableGets values from the SubServers Langdefault String
Gets a value from the SubServers LangGets the current SubServers Lang ChannelsGets the BungeeCord VersiongetRemotePlayer
(String name) Get a player on this network by searching across all known proxiesgetRemotePlayer
(UUID id) Get a player on this network by searching across all known proxiesint
Get the number of players on this network across all known proxiesMap<UUID,
? extends RemotePlayer> Get players on this network across all known proxiesMap<UUID,
? extends RemotePlayer> getRemotePlayers
(ServerInfo server) Get players on this server across all known proxiesGets the Runtime DirectoryGets the SubServers Build VersionGets the SubServers Version
-
Method Details
-
getInstance
Gets the SubAPI BungeeCord Common Methods- Returns:
- SubAPI BungeeCord Common
-
getInternals
Deprecated.Use BungeeAPI Methods when availableGets the BungeeCommon Internals- Returns:
- BungeeCommon Internals
-
getRemotePlayerCount
int getRemotePlayerCount()Get the number of players on this network across all known proxies- Returns:
- Remote Player Collection
-
getRemotePlayers
Get players on this server across all known proxies- Parameters:
server
- Server to search- Returns:
- Remote Player Map
-
getRemotePlayers
Map<UUID,? extends RemotePlayer> getRemotePlayers()Get players on this network across all known proxies- Returns:
- Remote Player Map
-
getRemotePlayer
Get a player on this network by searching across all known proxies- Parameters:
name
- Player name- Returns:
- Remote Player
-
getRemotePlayer
Get a player on this network by searching across all known proxies- Parameters:
id
- Player UUID- Returns:
- Remote Player
-
getLangChannels
Collection<String> getLangChannels()Gets the current SubServers Lang Channels- Returns:
- SubServers Lang Channel list
-
getLang
Gets values from the SubServers Lang- Parameters:
channel
- Lang Channel- Returns:
- Lang Value
-
getLang
Gets a value from the SubServers Lang- Parameters:
channel
- Lang Channelkey
- Key- Returns:
- Lang Values
-
getRuntimeDirectory
File getRuntimeDirectory()Gets the Runtime Directory- Returns:
- Directory
-
getWrapperVersion
Version getWrapperVersion()Gets the SubServers Version- Returns:
- SubServers Version
-
getWrapperBuild
Version getWrapperBuild()Gets the SubServers Build Version- Returns:
- SubServers Build Version (or null if unsigned)
-
getProxyVersion
Version getProxyVersion()Gets the BungeeCord Version- Returns:
- BungeeCord Version
-
getGameVersion
Version[] getGameVersion()Get an array of compatible Minecraft Versions- Returns:
- Minecraft Versions
-