Class Server

java.lang.Object
net.minestom.server.network.socket.Server

public final class Server extends Object
  • Constructor Details

  • Method Details

    • init

      @Internal public void init(SocketAddress address) throws IOException
      Throws:
      IOException
    • start

      @Internal public void start()
    • isOpen

      public boolean isOpen()
    • stop

      public void stop()
    • packetParser

      @Internal @NotNull public @NotNull PacketParser<ClientPacket> packetParser()
    • socketAddress

      public SocketAddress socketAddress()
    • getAddress

      public String getAddress()
    • getPort

      public int getPort()