The Action Manager of the Query instance.
The Ban Manager of the Query instance.
The Channel Group Manager of the Query instance.
The Channel Manager of the Query instance.
The Query Client of the Query instance. Will be null until the client is logged in.
The Client Manager of the Query instance.
The Command Manager of the Query instance.
The Instance of the Query instance. Needs to be fetched first using fetchInstance().
The Notification Manager of the Query instance.
The Permission Manager of the Query instance.
The Privilege Key Manager of the Query instance.
The Server Group Manager of the Query instance.
The Virtual Server Manager of the Query instance.
Connect to the Host and wait until the ServerQuery welcome message is received. Resolves when the underlying transport emits 'ready'.
Create a new API key.
scope: Scope of the API key (required).
lifetime: Lifetime in days (optional, default: 14). Use 0 for no expiration.
cldbid: Client Database ID of the client the key should be assigned to (optional). Otherwise, the invoker will be used.
Create a new complain.
The client database ID of the complained about client.
The message of the complain.
Create a new privilege key.
tokentype: 0 = group, 1 = channel
tokenid1: Group ID
tokenid2: Channel ID (if tokentype is 1). Must be set to 0 if tokentype is 0.
tokendescription: Description of the privilege key (optional)
customset: Custom set of the privilege key (optional)
The parameters for the privilege key.
The created privilege key.
Create a new query login for the current virtual server. If no virtual server is selected, the login will be created globally.
The name of the query login.
The ID of the client to login as.
Create a new server snapshot.
Create a new server temporary password.
The parameters for the server temporary password.
pw: The password to create.
desc: The description of the server temporary password.
duration: The duration of the server temporary password IN SECONDS.
tcid: The channel ID to create the server temporary password for. (optional, defaults to the default channel)
tcpw: The channel password to create the server temporary password for. (optional)
Delete an API key by its ID.
The ID of the API key to delete.
Delete a complain by its IDs.
The client database ID of the complained about client.
The client database ID of the complainee.
Delete all complains by the complainee's ID.
The client database ID of the complained about client.
Delete a query login by its client database ID.
The ID of the client to delete the login for.
Delete a server temporary password by its password.
The password of the server temporary password to delete.
Deploy a server snapshot.
The version of the server snapshot.
The data of the server snapshot.
Close the connection and destroy the Query instance.
Get a list of API keys.
cldbid: Client Database ID or "*" to get all keys.
start: Starting index (optional, default: 0).
duration: Maximum number of keys to return (optional, default: 100).
count: Include total count (optional, default: false).
Get a list of bindings.
Optional
subsystem: "query" | "voice" | "filetransfer"The subsystem of the binding.
Get a list of channel permissions.
The ID of the channel.
Get the raw client database ID from its unique identifier.
The unique identifier of the client.
Get a list of client database properties.
The ID of the client.
Get the client IDs and nicknames by their unique identifier.
The unique identifier of the client.
Get the raw client name from its database ID.
The database ID of the client.
Get the raw client name from its unique identifier.
The unique identifier of the client.
Get a list of client permissions.
The ID of the client.
Get a list of client unique IDs from their client IDs.
The ID of the client.
Get a list of complains.
Optional
tcldbid: numberThe client database ID of the complained about client. (optional, otherwise all complains will be returned)
Get a list of database clients.
Get the raw ServerQuery host information.
Get a list of permissions on the TeamSpeak 3 Server instance.
Get a list of privilege keys.
Get a list of query logins of the current virtual server. If no virtual server is selected, global logins will be returned as well.
Get the raw server connection info.
Get the raw Server information.
Get a list of server temporary passwords.
Get the raw ServerQuery version information.
Login to the ServerQuery.
The username to login with.
The password to login with.
Logout from the ServerQuery.
Sends a message to the current channel.
The message content.
Sends a server message to virtual servers in the TeamSpeak 3 Server instance.
The message to send.
Sends a server message to the current virtual server.
The message to send.
Stop the whole TeamSpeak 3 Server instance.
Optional
reason: stringThe reason for stopping the server process. (optional)
Update the login credentials for the current ServerQuery. You can only pass the username, the password will be generated automatically.
The username to set.
The generated password.
Represents a ServerQuery connection.