Contents
Interface AccessProvider
- All Known Subinterfaces:
BanProvider
- All Known Implementing Classes:
ClientDelegatingProvider, HytaleBanProvider, JoinPermissionProvider
public interface AccessProvider
- Since:
- 06.08.2016
-
Method Summary
-
Method Details
-
getDisconnectReason
Returns anOptionalof typeMessagethat provides a disconnect reason.If the
Optionalcontains aMessage, the connection will be terminated with that message as the reason. An emptyOptionalwill be ignored and the connection proceeds.- Parameters:
uuid- TheUUIDof the player to check.- Returns:
- the disconnect reason,
Optional.empty()for no reason.
-