Interface BungeeManager
- All Known Implementing Classes:
StargateBungeeManager
public interface BungeeManager
An interface for handling anything related to bungee
-
Method Summary
Modifier and TypeMethodDescriptionvoid
legacyPlayerConnect
(String message) Handle the connection of a player using the legacy Stargate methodvoid
playerConnect
(String message) Handles a player teleport messagepullFromQueue
(String playerName) Gets a portal from the BungeeCord teleportation queuevoid
updateNetwork
(String message) Updates a network according to a "network changed" message
-
Method Details
-
updateNetwork
Updates a network according to a "network changed" message- Parameters:
message
-The network change message to parse and handle
-
playerConnect
Handles a player teleport message- Parameters:
message
-The player teleport message to parse and handle
-
legacyPlayerConnect
Handle the connection of a player using the legacy Stargate methodThis 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
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
-