Class TeamSpeakServer

Hierarchy

  • Abstract<ServerEntry>
    • TeamSpeakServer

Constructors

Accessors

Methods

  • deletes the server

    Returns Promise<[]>

  • retrieves the namespace of this class

    Returns string

  • retrieves a single property value by the given name

    Type Parameters

    • Y extends keyof ServerEntry

    Parameters

    • name: Y

      the name from where the value should be retrieved

    Returns ServerEntry[Y]

  • Starts the virtual server. Depending on your permissions, you're able to start either your own virtual server only or all virtual servers in the server instance.

    Returns Promise<[]>

  • Stops the virtual server. Depending on your permissions, you're able to stop either your own virtual server only or all virtual servers in the server instance.

    Parameters

    • Optional msg: string

      specifies a text message that is sent to the clients before the client disconnects (requires TeamSpeak Server 3.2.0 or newer).

    Returns Promise<[]>

  • returns JSONifyable data

    Parameters

    • includeNameSpace: boolean = true

    Returns Record<string, any>

  • selects a virtual server

    Parameters

    • Optional clientNickname: string

    Returns Promise<[]>

  • retrieves the client id from a string or teamspeak client

    Type Parameters

    Parameters

    • Optional server: T

    Returns T extends undefined
        ? undefined
        : string

Generated using TypeDoc