classpublicPriority 1
ServerManager
com.hypixel.hytale.server.core.io.ServerManager
extends JavaPlugin
11
Methods
11
Public Methods
4
Fields
1
Constructors
Constants
PluginManifestMANIFEST= PluginManifest.corePlugin(ServerManager.class).build()
NetworkUtil.AddressType[]NON_PUBLIC_ADDRESS_TYPES= <complex>
Constructors
public
ServerManager(JavaPluginInit init)Methods
Public Methods (11)
public
boolean bind(InetSocketAddress address)public
List<Channel> getListeners()@Nonnull
public
InetSocketAddress getLocalOrPublicAddress()throws SocketException
@Nullable
public
InetSocketAddress getNonLoopbackAddress()throws SocketException
@Nullable
public
InetSocketAddress getPublicAddress()throws SocketException
@Nullable
public
void init()public
void populateSubPacketHandlers(GamePacketHandler packetHandler)public
void registerSubPacketHandlers(Function<IPacketHandler, SubPacketHandler> supplier)public
boolean unbind(Channel channel)public
void unbindAllListeners()public
void waitForBindComplete()Fields
Private/Package Fields (4)
private
CompletableFuture<Void> bootFutureprivate
ServerManager instanceprivate
CompletableFuture<Void> registerFutureprivate
Transport transport