mcpwn API
    Preparing search index...

    Function parseListen

    • Parse "host:port", ":port" or "port". Host defaults to 127.0.0.1.

      Parameters

      • spec: string

      Returns { host: string; port: number }