Interface BungeeManager

All Known Implementing Classes:
StargateBungeeManager

public interface BungeeManager
An interface for handling anything related to bungee
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Handle the connection of a player using the legacy Stargate method
    void
    Handles a player teleport message
    pullFromQueue(String playerName)
    Gets a portal from the BungeeCord teleportation queue
    void
    Updates a network according to a "network changed" message
  • Method Details

    • updateNetwork

      void updateNetwork(String message)
      Updates a network according to a "network changed" message
      Parameters:
      message -

      The network change message to parse and handle

    • playerConnect

      void playerConnect(String message)
      Handles a player teleport message
      Parameters:
      message -

      The player teleport message to parse and handle

    • legacyPlayerConnect

      void legacyPlayerConnect(String message)
      Handle the connection of a player using the legacy Stargate method

      This is done to let servers on any of the old Stargate forks connect to this version.

      Parameters:
      message -

      The legacy connect message to parse and handle

    • pullFromQueue

      Portal pullFromQueue(String playerName)
      Gets a portal from the BungeeCord teleportation queue
      Parameters:
      playerName -

      The player to pull from the queue

      Returns:

      The portal the player should be teleported to