@tryforge/forge.minecraft
    Preparing search index...

    Interface IManagementServerOptions

    interface IManagementServerOptions {
        host: string;
        maxReconnectAttempts?: number;
        port: number;
        reconnect?: boolean;
        reconnectInterval?: number;
        token: string;
    }
    Index

    Properties

    host: string

    The host domain of the server.

    maxReconnectAttempts?: number

    The maximum number of times to attempt to reconnect to the server. Set to 0 for infinite attempts.

    5
    
    port: number

    The port for the host connection.

    reconnect?: boolean

    Whether to automatically reconnect to the server if the connection is lost.

    true
    
    reconnectInterval?: number

    The interval in ms used to reconnect to the server.

    1000
    
    token: string

    The token needed to connect to the server.