Interface BungeeAPI

All Known Implementing Classes:
SubAPI

public interface BungeeAPI
SubAPI BungeeCord Common Class
  • Method Details

    • getInstance

      static BungeeAPI getInstance()
      Gets the SubAPI BungeeCord Common Methods
      Returns:
      SubAPI BungeeCord Common
    • getInternals

      @Deprecated BungeeCommon getInternals()
      Deprecated.
      Use BungeeAPI Methods when available
      Gets 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

      Map<UUID,? extends RemotePlayer> getRemotePlayers(ServerInfo server)
      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

      RemotePlayer getRemotePlayer(String name)
      Get a player on this network by searching across all known proxies
      Parameters:
      name - Player name
      Returns:
      Remote Player
    • getRemotePlayer

      RemotePlayer getRemotePlayer(UUID id)
      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

      Map<String,String> getLang(String channel)
      Gets values from the SubServers Lang
      Parameters:
      channel - Lang Channel
      Returns:
      Lang Value
    • getLang

      default String getLang(String channel, String key)
      Gets a value from the SubServers Lang
      Parameters:
      channel - Lang Channel
      key - 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