public class ServerConnectEvent extends Event implements Cancellable
Modifier and Type | Class and Description |
---|---|
static class |
ServerConnectEvent.Reason |
Constructor and Description |
---|
ServerConnectEvent(ProxiedPlayer player,
ServerInfo target)
Deprecated.
|
ServerConnectEvent(ProxiedPlayer player,
ServerInfo target,
ServerConnectEvent.Reason reason) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isCancelled, setCancelled
@Deprecated public ServerConnectEvent(ProxiedPlayer player, ServerInfo target)
public ServerConnectEvent(ProxiedPlayer player, ServerInfo target, ServerConnectEvent.Reason reason)
Copyright © 2012–2019 SpigotMC. All rights reserved.