java.lang.Object
net.ME1312.SubServers.Velocity.Library.Fallback.FallbackState

public class FallbackState extends Object
Fallback Player State Class
  • Field Details

  • Constructor Details

    • FallbackState

      public FallbackState(UUID player, Map<String,RegisteredServer> servers, net.kyori.adventure.text.Component reason)
      Smart Fallback State Container
      Parameters:
      player - Player
      servers - Fallback Servers
      reason - Original Disconnect Reason
  • Method Details

    • remove

      public void remove(String name)
      Use a server
      Parameters:
      name - Server name to remove
    • remove

      public void remove(RegisteredServer server)
      Use a server
      Parameters:
      server - Server to remove
    • done

      public void done(Runnable callback, long delay)
      Finish the process
      Parameters:
      callback - Finishing callback
      delay - Delay for determining stability