Class FallbackState
java.lang.Object
net.ME1312.SubServers.Velocity.Library.Fallback.FallbackState
Fallback Player State Class
-
Field Summary
Modifier and TypeFieldDescriptionfinal LinkedList<String>
final UUID
final net.kyori.adventure.text.Component
final LinkedList<RegisteredServer>
-
Constructor Summary
ConstructorDescriptionFallbackState
(UUID player, Map<String, RegisteredServer> servers, net.kyori.adventure.text.Component reason) Smart Fallback State Container -
Method Summary
-
Field Details
-
player
-
names
-
servers
-
reason
public final net.kyori.adventure.text.Component reason
-
-
Constructor Details
-
FallbackState
public FallbackState(UUID player, Map<String, RegisteredServer> servers, net.kyori.adventure.text.Component reason) Smart Fallback State Container- Parameters:
player
- Playerservers
- Fallback Serversreason
- Original Disconnect Reason
-
-
Method Details
-
remove
Use a server- Parameters:
name
- Server name to remove
-
remove
Use a server- Parameters:
server
- Server to remove
-
done
Finish the process- Parameters:
callback
- Finishing callbackdelay
- Delay for determining stability
-