Class PlayerChangedServerNetworkEvent

java.lang.Object
net.md_5.bungee.api.plugin.Event
com.imaginarycode.minecraft.redisbungee.events.PlayerChangedServerNetworkEvent

public class PlayerChangedServerNetworkEvent extends net.md_5.bungee.api.plugin.Event
This event is sent when a player connects to a new server. RedisBungee sends the event only when the proxy the player has been connected to is different than the local proxy.

This event corresponds to ServerConnectedEvent, and is fired asynchronously.

Since:
0.3.4
  • Constructor Details

    • PlayerChangedServerNetworkEvent

      public PlayerChangedServerNetworkEvent(UUID uuid, String previousServer, String server)
  • Method Details

    • getUuid

      public UUID getUuid()
    • getServer

      public String getServer()
    • getPreviousServer

      public String getPreviousServer()