Class Server

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

public final class Server extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • init

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

      @Internal public void start()
    • tick

      public void tick()
    • isOpen

      public boolean isOpen()
    • stop

      public void stop()
    • packetProcessor

      @Internal @NotNull public @NotNull PacketProcessor packetProcessor()
    • socketAddress

      public SocketAddress socketAddress()
    • getAddress

      public String getAddress()
    • getPort

      public int getPort()