@honeybbq/teamspeak 0.0.1 → 1.0.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +726 -2
- package/dist/client/abort.d.ts +5 -0
- package/dist/client/abort.d.ts.map +1 -0
- package/dist/client/abort.js +23 -0
- package/dist/client/abort.js.map +1 -0
- package/dist/client/address.d.ts +17 -0
- package/dist/client/address.d.ts.map +1 -0
- package/dist/client/address.js +66 -0
- package/dist/client/address.js.map +1 -0
- package/dist/client/api/voice.d.ts +24 -0
- package/dist/client/api/voice.d.ts.map +1 -0
- package/dist/client/api/voice.js +33 -0
- package/dist/client/api/voice.js.map +1 -0
- package/dist/client/capabilities.d.ts +68 -0
- package/dist/client/capabilities.d.ts.map +1 -0
- package/dist/client/capabilities.js +59 -0
- package/dist/client/capabilities.js.map +1 -0
- package/dist/client/client.d.ts +196 -0
- package/dist/client/client.d.ts.map +1 -0
- package/dist/client/client.js +1523 -0
- package/dist/client/client.js.map +1 -0
- package/dist/client/commands.d.ts +66 -0
- package/dist/client/commands.d.ts.map +1 -0
- package/dist/client/commands.js +162 -0
- package/dist/client/commands.js.map +1 -0
- package/dist/client/crypto/crypt-ops.d.ts +7 -0
- package/dist/client/crypto/crypt-ops.d.ts.map +1 -0
- package/dist/client/crypto/crypt-ops.js +2 -0
- package/dist/client/crypto/crypt-ops.js.map +1 -0
- package/dist/client/crypto/crypt.d.ts +37 -0
- package/dist/client/crypto/crypt.d.ts.map +1 -0
- package/dist/client/crypto/crypt.js +203 -0
- package/dist/client/crypto/crypt.js.map +1 -0
- package/dist/client/crypto/eax.d.ts +12 -0
- package/dist/client/crypto/eax.d.ts.map +1 -0
- package/dist/client/crypto/eax.js +118 -0
- package/dist/client/crypto/eax.js.map +1 -0
- package/dist/client/crypto/identity.d.ts +97 -0
- package/dist/client/crypto/identity.d.ts.map +1 -0
- package/dist/client/crypto/identity.js +412 -0
- package/dist/client/crypto/identity.js.map +1 -0
- package/dist/client/crypto/index.d.ts +7 -0
- package/dist/client/crypto/index.d.ts.map +1 -0
- package/dist/client/crypto/index.js +5 -0
- package/dist/client/crypto/index.js.map +1 -0
- package/dist/client/crypto/primitives.d.ts +43 -0
- package/dist/client/crypto/primitives.d.ts.map +1 -0
- package/dist/client/crypto/primitives.js +116 -0
- package/dist/client/crypto/primitives.js.map +1 -0
- package/dist/client/diagnostics.d.ts +45 -0
- package/dist/client/diagnostics.d.ts.map +1 -0
- package/dist/client/diagnostics.js +30 -0
- package/dist/client/diagnostics.js.map +1 -0
- package/dist/client/discovery/index.d.ts +2 -0
- package/dist/client/discovery/index.d.ts.map +1 -0
- package/dist/client/discovery/index.js +2 -0
- package/dist/client/discovery/index.js.map +1 -0
- package/dist/client/discovery/resolver.d.ts +26 -0
- package/dist/client/discovery/resolver.d.ts.map +1 -0
- package/dist/client/discovery/resolver.js +275 -0
- package/dist/client/discovery/resolver.js.map +1 -0
- package/dist/client/errors.d.ts +82 -0
- package/dist/client/errors.d.ts.map +1 -0
- package/dist/client/errors.js +201 -0
- package/dist/client/errors.js.map +1 -0
- package/dist/client/events.d.ts +3 -0
- package/dist/client/events.d.ts.map +1 -0
- package/dist/client/events.js +8 -0
- package/dist/client/events.js.map +1 -0
- package/dist/client/handshake/crypt-handshake.d.ts +17 -0
- package/dist/client/handshake/crypt-handshake.d.ts.map +1 -0
- package/dist/client/handshake/crypt-handshake.js +128 -0
- package/dist/client/handshake/crypt-handshake.js.map +1 -0
- package/dist/client/handshake/crypt-init2.d.ts +7 -0
- package/dist/client/handshake/crypt-init2.d.ts.map +1 -0
- package/dist/client/handshake/crypt-init2.js +37 -0
- package/dist/client/handshake/crypt-init2.js.map +1 -0
- package/dist/client/handshake/index.d.ts +4 -0
- package/dist/client/handshake/index.d.ts.map +1 -0
- package/dist/client/handshake/index.js +4 -0
- package/dist/client/handshake/index.js.map +1 -0
- package/dist/client/handshake/license.d.ts +35 -0
- package/dist/client/handshake/license.d.ts.map +1 -0
- package/dist/client/handshake/license.js +169 -0
- package/dist/client/handshake/license.js.map +1 -0
- package/dist/client/handshake.d.ts +27 -0
- package/dist/client/handshake.d.ts.map +1 -0
- package/dist/client/handshake.js +126 -0
- package/dist/client/handshake.js.map +1 -0
- package/dist/client/helpers.d.ts +6 -0
- package/dist/client/helpers.d.ts.map +1 -0
- package/dist/client/helpers.js +13 -0
- package/dist/client/helpers.js.map +1 -0
- package/dist/client/hooks.d.ts +7 -0
- package/dist/client/hooks.d.ts.map +1 -0
- package/dist/client/hooks.js +28 -0
- package/dist/client/hooks.js.map +1 -0
- package/dist/client/index.d.ts +26 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +28 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/reconnect.d.ts +12 -0
- package/dist/client/reconnect.d.ts.map +1 -0
- package/dist/client/reconnect.js +44 -0
- package/dist/client/reconnect.js.map +1 -0
- package/dist/client/throttle.d.ts +20 -0
- package/dist/client/throttle.d.ts.map +1 -0
- package/dist/client/throttle.js +83 -0
- package/dist/client/throttle.js.map +1 -0
- package/dist/client/trace.d.ts +223 -0
- package/dist/client/trace.d.ts.map +1 -0
- package/dist/client/trace.js +13 -0
- package/dist/client/trace.js.map +1 -0
- package/dist/client/transfer.d.ts +111 -0
- package/dist/client/transfer.d.ts.map +1 -0
- package/dist/client/transfer.js +243 -0
- package/dist/client/transfer.js.map +1 -0
- package/dist/client/transport/generation-window.d.ts +30 -0
- package/dist/client/transport/generation-window.d.ts.map +1 -0
- package/dist/client/transport/generation-window.js +97 -0
- package/dist/client/transport/generation-window.js.map +1 -0
- package/dist/client/transport/handler.d.ts +61 -0
- package/dist/client/transport/handler.d.ts.map +1 -0
- package/dist/client/transport/handler.js +793 -0
- package/dist/client/transport/handler.js.map +1 -0
- package/dist/client/transport/index.d.ts +6 -0
- package/dist/client/transport/index.d.ts.map +1 -0
- package/dist/client/transport/index.js +5 -0
- package/dist/client/transport/index.js.map +1 -0
- package/dist/client/transport/packet.d.ts +36 -0
- package/dist/client/transport/packet.d.ts.map +1 -0
- package/dist/client/transport/packet.js +55 -0
- package/dist/client/transport/packet.js.map +1 -0
- package/dist/client/transport/quicklz.d.ts +24 -0
- package/dist/client/transport/quicklz.d.ts.map +1 -0
- package/dist/client/transport/quicklz.js +179 -0
- package/dist/client/transport/quicklz.js.map +1 -0
- package/dist/client/types.d.ts +226 -0
- package/dist/client/types.d.ts.map +1 -0
- package/dist/client/types.js +39 -0
- package/dist/client/types.js.map +1 -0
- package/dist/core/api/channels.d.ts +182 -0
- package/dist/core/api/channels.d.ts.map +1 -0
- package/dist/core/api/channels.js +155 -0
- package/dist/core/api/channels.js.map +1 -0
- package/dist/core/api/clients.d.ts +304 -0
- package/dist/core/api/clients.d.ts.map +1 -0
- package/dist/core/api/clients.js +260 -0
- package/dist/core/api/clients.js.map +1 -0
- package/dist/core/api/command.d.ts +305 -0
- package/dist/core/api/command.d.ts.map +1 -0
- package/dist/core/api/command.js +363 -0
- package/dist/core/api/command.js.map +1 -0
- package/dist/core/api/files.d.ts +153 -0
- package/dist/core/api/files.d.ts.map +1 -0
- package/dist/core/api/files.js +181 -0
- package/dist/core/api/files.js.map +1 -0
- package/dist/core/api/groups.d.ts +248 -0
- package/dist/core/api/groups.d.ts.map +1 -0
- package/dist/core/api/groups.js +271 -0
- package/dist/core/api/groups.js.map +1 -0
- package/dist/core/api/moderation.d.ts +205 -0
- package/dist/core/api/moderation.d.ts.map +1 -0
- package/dist/core/api/moderation.js +209 -0
- package/dist/core/api/moderation.js.map +1 -0
- package/dist/core/api/parse.d.ts +16 -0
- package/dist/core/api/parse.d.ts.map +1 -0
- package/dist/core/api/parse.js +40 -0
- package/dist/core/api/parse.js.map +1 -0
- package/dist/core/api/server.d.ts +310 -0
- package/dist/core/api/server.d.ts.map +1 -0
- package/dist/core/api/server.js +290 -0
- package/dist/core/api/server.js.map +1 -0
- package/dist/core/command/command.d.ts +20 -0
- package/dist/core/command/command.d.ts.map +1 -0
- package/dist/core/command/command.js +112 -0
- package/dist/core/command/command.js.map +1 -0
- package/dist/core/command/ids.d.ts +125 -0
- package/dist/core/command/ids.d.ts.map +1 -0
- package/dist/core/command/ids.js +85 -0
- package/dist/core/command/ids.js.map +1 -0
- package/dist/core/command/parser.d.ts +17 -0
- package/dist/core/command/parser.d.ts.map +1 -0
- package/dist/core/command/parser.js +65 -0
- package/dist/core/command/parser.js.map +1 -0
- package/dist/core/command/request.d.ts +61 -0
- package/dist/core/command/request.d.ts.map +1 -0
- package/dist/core/command/request.js +64 -0
- package/dist/core/command/request.js.map +1 -0
- package/dist/core/command/responses.d.ts +59 -0
- package/dist/core/command/responses.d.ts.map +1 -0
- package/dist/core/command/responses.js +74 -0
- package/dist/core/command/responses.js.map +1 -0
- package/dist/core/command-name.d.ts +333 -0
- package/dist/core/command-name.d.ts.map +1 -0
- package/dist/core/command-name.js +331 -0
- package/dist/core/command-name.js.map +1 -0
- package/dist/core/enums.d.ts +146 -0
- package/dist/core/enums.d.ts.map +1 -0
- package/dist/core/enums.js +132 -0
- package/dist/core/enums.js.map +1 -0
- package/dist/core/errorcode.d.ts +413 -0
- package/dist/core/errorcode.d.ts.map +1 -0
- package/dist/core/errorcode.js +410 -0
- package/dist/core/errorcode.js.map +1 -0
- package/dist/core/errors.d.ts +111 -0
- package/dist/core/errors.d.ts.map +1 -0
- package/dist/core/errors.js +233 -0
- package/dist/core/errors.js.map +1 -0
- package/dist/core/events.d.ts +207 -0
- package/dist/core/events.d.ts.map +1 -0
- package/dist/core/events.js +6 -0
- package/dist/core/events.js.map +1 -0
- package/dist/core/helpers.d.ts +42 -0
- package/dist/core/helpers.d.ts.map +1 -0
- package/dist/core/helpers.js +156 -0
- package/dist/core/helpers.js.map +1 -0
- package/dist/core/index.d.ts +35 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +34 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/internal.d.ts +23 -0
- package/dist/core/internal.d.ts.map +1 -0
- package/dist/core/internal.js +20 -0
- package/dist/core/internal.js.map +1 -0
- package/dist/core/middleware.d.ts +14 -0
- package/dist/core/middleware.d.ts.map +1 -0
- package/dist/core/middleware.js +18 -0
- package/dist/core/middleware.js.map +1 -0
- package/dist/core/notification-name.d.ts +154 -0
- package/dist/core/notification-name.d.ts.map +1 -0
- package/dist/core/notification-name.js +152 -0
- package/dist/core/notification-name.js.map +1 -0
- package/dist/core/notifications.d.ts +43 -0
- package/dist/core/notifications.d.ts.map +1 -0
- package/dist/core/notifications.js +116 -0
- package/dist/core/notifications.js.map +1 -0
- package/dist/core/permission-name.d.ts +533 -0
- package/dist/core/permission-name.d.ts.map +1 -0
- package/dist/core/permission-name.js +531 -0
- package/dist/core/permission-name.js.map +1 -0
- package/dist/core/permission.d.ts +31 -0
- package/dist/core/permission.d.ts.map +1 -0
- package/dist/core/permission.js +20 -0
- package/dist/core/permission.js.map +1 -0
- package/dist/core/property-name.d.ts +403 -0
- package/dist/core/property-name.d.ts.map +1 -0
- package/dist/core/property-name.js +405 -0
- package/dist/core/property-name.js.map +1 -0
- package/dist/core/reason.d.ts +39 -0
- package/dist/core/reason.d.ts.map +1 -0
- package/dist/core/reason.js +36 -0
- package/dist/core/reason.js.map +1 -0
- package/dist/core/reconnect.d.ts +59 -0
- package/dist/core/reconnect.d.ts.map +1 -0
- package/dist/core/reconnect.js +55 -0
- package/dist/core/reconnect.js.map +1 -0
- package/dist/core/types.d.ts +110 -0
- package/dist/core/types.d.ts.map +1 -0
- package/dist/core/types.js +27 -0
- package/dist/core/types.js.map +1 -0
- package/dist/query/client.d.ts +194 -0
- package/dist/query/client.d.ts.map +1 -0
- package/dist/query/client.js +967 -0
- package/dist/query/client.js.map +1 -0
- package/dist/query/errors.d.ts +61 -0
- package/dist/query/errors.d.ts.map +1 -0
- package/dist/query/errors.js +100 -0
- package/dist/query/errors.js.map +1 -0
- package/dist/query/index.d.ts +36 -0
- package/dist/query/index.d.ts.map +1 -0
- package/dist/query/index.js +34 -0
- package/dist/query/index.js.map +1 -0
- package/dist/query/knownhosts.d.ts +61 -0
- package/dist/query/knownhosts.d.ts.map +1 -0
- package/dist/query/knownhosts.js +223 -0
- package/dist/query/knownhosts.js.map +1 -0
- package/dist/query/lines.d.ts +14 -0
- package/dist/query/lines.d.ts.map +1 -0
- package/dist/query/lines.js +29 -0
- package/dist/query/lines.js.map +1 -0
- package/dist/query/options.d.ts +187 -0
- package/dist/query/options.d.ts.map +1 -0
- package/dist/query/options.js +213 -0
- package/dist/query/options.js.map +1 -0
- package/dist/query/reconnect.d.ts +29 -0
- package/dist/query/reconnect.d.ts.map +1 -0
- package/dist/query/reconnect.js +87 -0
- package/dist/query/reconnect.js.map +1 -0
- package/dist/query/ssh.d.ts +345 -0
- package/dist/query/ssh.d.ts.map +1 -0
- package/dist/query/ssh.js +241 -0
- package/dist/query/ssh.js.map +1 -0
- package/dist/query/stream.d.ts +38 -0
- package/dist/query/stream.d.ts.map +1 -0
- package/dist/query/stream.js +70 -0
- package/dist/query/stream.js.map +1 -0
- package/dist/query/tcp.d.ts +38 -0
- package/dist/query/tcp.d.ts.map +1 -0
- package/dist/query/tcp.js +53 -0
- package/dist/query/tcp.js.map +1 -0
- package/dist/query/transport.d.ts +36 -0
- package/dist/query/transport.d.ts.map +1 -0
- package/dist/query/transport.js +2 -0
- package/dist/query/transport.js.map +1 -0
- package/dist/query/web.d.ts +54 -0
- package/dist/query/web.d.ts.map +1 -0
- package/dist/query/web.js +146 -0
- package/dist/query/web.js.map +1 -0
- package/dist/versions/index.d.ts +3094 -0
- package/dist/versions/index.d.ts.map +1 -0
- package/dist/versions/index.js +9237 -0
- package/dist/versions/index.js.map +1 -0
- package/package.json +118 -4
- package/src/client/abort.ts +24 -0
- package/src/client/address.ts +74 -0
- package/src/client/api/voice.ts +61 -0
- package/src/client/capabilities.ts +106 -0
- package/src/client/client.ts +1809 -0
- package/src/client/commands.ts +193 -0
- package/src/client/crypto/crypt-ops.ts +6 -0
- package/src/client/crypto/crypt.ts +275 -0
- package/src/client/crypto/eax.ts +152 -0
- package/src/client/crypto/identity.ts +484 -0
- package/src/client/crypto/index.ts +21 -0
- package/src/client/crypto/primitives.ts +141 -0
- package/src/client/diagnostics.ts +58 -0
- package/src/client/discovery/index.ts +1 -0
- package/src/client/discovery/resolver.ts +325 -0
- package/src/client/errors.ts +217 -0
- package/src/client/events.ts +12 -0
- package/src/client/handshake/crypt-handshake.ts +157 -0
- package/src/client/handshake/crypt-init2.ts +48 -0
- package/src/client/handshake/index.ts +3 -0
- package/src/client/handshake/license.ts +208 -0
- package/src/client/handshake.ts +150 -0
- package/src/client/helpers.ts +10 -0
- package/src/client/hooks.ts +30 -0
- package/src/client/index.ts +93 -0
- package/src/client/reconnect.ts +43 -0
- package/src/client/throttle.ts +92 -0
- package/src/client/trace.ts +237 -0
- package/src/client/transfer.ts +436 -0
- package/src/client/transport/generation-window.ts +108 -0
- package/src/client/transport/handler.ts +926 -0
- package/src/client/transport/index.ts +14 -0
- package/src/client/transport/packet.ts +69 -0
- package/src/client/transport/quicklz.ts +209 -0
- package/src/client/types.ts +268 -0
- package/src/core/api/channels.ts +396 -0
- package/src/core/api/clients.ts +654 -0
- package/src/core/api/command.ts +563 -0
- package/src/core/api/files.ts +405 -0
- package/src/core/api/groups.ts +622 -0
- package/src/core/api/moderation.ts +525 -0
- package/src/core/api/parse.ts +52 -0
- package/src/core/api/server.ts +709 -0
- package/src/core/command/command.ts +125 -0
- package/src/core/command/ids.ts +149 -0
- package/src/core/command/parser.ts +68 -0
- package/src/core/command/request.ts +119 -0
- package/src/core/command/responses.ts +114 -0
- package/src/core/command-name.ts +334 -0
- package/src/core/enums.ts +167 -0
- package/src/core/errorcode.ts +412 -0
- package/src/core/errors.ts +258 -0
- package/src/core/events.ts +219 -0
- package/src/core/helpers.ts +161 -0
- package/src/core/index.ts +126 -0
- package/src/core/internal.ts +23 -0
- package/src/core/middleware.ts +24 -0
- package/src/core/notification-name.ts +155 -0
- package/src/core/notifications.ts +157 -0
- package/src/core/permission-name.ts +538 -0
- package/src/core/permission.ts +34 -0
- package/src/core/property-name.ts +411 -0
- package/src/core/reason.ts +38 -0
- package/src/core/reconnect.ts +98 -0
- package/src/core/types.ts +138 -0
- package/src/query/client.ts +1132 -0
- package/src/query/errors.ts +108 -0
- package/src/query/index.ts +65 -0
- package/src/query/knownhosts.ts +257 -0
- package/src/query/lines.ts +28 -0
- package/src/query/options.ts +388 -0
- package/src/query/reconnect.ts +84 -0
- package/src/query/ssh.ts +614 -0
- package/src/query/stream.ts +91 -0
- package/src/query/tcp.ts +85 -0
- package/src/query/transport.ts +35 -0
- package/src/query/web.ts +195 -0
- package/src/versions/index.ts +10774 -0
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The properties a TeamSpeak server reports, by name: the keys of the records
|
|
3
|
+
* `getServerInfo`, `getInstanceInfo`, `getHostInfo` and `getClientProperties` return,
|
|
4
|
+
* and of the settings `editServer` and `editInstance` take:
|
|
5
|
+
*
|
|
6
|
+
* ```ts
|
|
7
|
+
* const info = await getServerInfo(client);
|
|
8
|
+
* console.log(info[PropertyName.VirtualServerName]);
|
|
9
|
+
* ```
|
|
10
|
+
*
|
|
11
|
+
* They are grouped by the command that reports them, and a property that
|
|
12
|
+
* several report is listed under the first. These are the names measured on
|
|
13
|
+
* TeamSpeak 3.13 and 6; the ones marked TeamSpeak 3 only or TeamSpeak 6 only
|
|
14
|
+
* are missing on the other. A server may send keys this table does not name.
|
|
15
|
+
*/
|
|
16
|
+
const propertyNameValues = {
|
|
17
|
+
// Virtual server: serverinfo, and serveredit for those marked editable.
|
|
18
|
+
/** `virtualserver_unique_identifier`: The server's unique id, a base64 string that stays the same when the server moves. */
|
|
19
|
+
VirtualServerUniqueIdentifier: "virtualserver_unique_identifier",
|
|
20
|
+
/** `virtualserver_name`: The name of the virtual server. Editable. */
|
|
21
|
+
VirtualServerName: "virtualserver_name",
|
|
22
|
+
/** `virtualserver_welcomemessage`: The welcome message of the server. Editable. */
|
|
23
|
+
VirtualServerWelcomeMessage: "virtualserver_welcomemessage",
|
|
24
|
+
/** `virtualserver_platform`: Operating system the server runs on, such as Linux. */
|
|
25
|
+
VirtualServerPlatform: "virtualserver_platform",
|
|
26
|
+
/** `virtualserver_version`: Server version and build, for example 3.13.8 [Build: 1779874471]. */
|
|
27
|
+
VirtualServerVersion: "virtualserver_version",
|
|
28
|
+
/** `virtualserver_maxclients`: The maximum number of clients to allow. Editable. */
|
|
29
|
+
VirtualServerMaxClients: "virtualserver_maxclients",
|
|
30
|
+
/** `virtualserver_password`: The password required to enter. Editable. */
|
|
31
|
+
VirtualServerPassword: "virtualserver_password",
|
|
32
|
+
/** `virtualserver_clientsonline`: Number of clients online, voice and ServerQuery clients together. */
|
|
33
|
+
VirtualServerClientsOnline: "virtualserver_clientsonline",
|
|
34
|
+
/** `virtualserver_channelsonline`: Number of channels on the server. */
|
|
35
|
+
VirtualServerChannelsOnline: "virtualserver_channelsonline",
|
|
36
|
+
/** `virtualserver_created`: When the virtual server was created, as a Unix timestamp in seconds. */
|
|
37
|
+
VirtualServerCreated: "virtualserver_created",
|
|
38
|
+
/** `virtualserver_uptime`: Seconds since the virtual server started. */
|
|
39
|
+
VirtualServerUptime: "virtualserver_uptime",
|
|
40
|
+
/** `virtualserver_codec_encryption_mode`: The global codec encryption mode of the virtual server. Editable. */
|
|
41
|
+
VirtualServerCodecEncryptionMode: "virtualserver_codec_encryption_mode",
|
|
42
|
+
/** `virtualserver_hostmessage`: The host message of the server. Editable. */
|
|
43
|
+
VirtualServerHostMessage: "virtualserver_hostmessage",
|
|
44
|
+
/** `virtualserver_hostmessage_mode`: The host message mode of the server (0 for None, 1 for message in chatlog, 2 for message as a modal, 3 for modal dialog and then quit). Editable. */
|
|
45
|
+
VirtualServerHostMessageMode: "virtualserver_hostmessage_mode",
|
|
46
|
+
/** `virtualserver_filebase`: Path of the server's file storage, relative to the server's working directory. */
|
|
47
|
+
VirtualServerFileBase: "virtualserver_filebase",
|
|
48
|
+
/** `virtualserver_default_server_group`: The default server group to use. Editable. */
|
|
49
|
+
VirtualServerDefaultServerGroup: "virtualserver_default_server_group",
|
|
50
|
+
/** `virtualserver_default_channel_group`: The default channel group to use. Editable. */
|
|
51
|
+
VirtualServerDefaultChannelGroup: "virtualserver_default_channel_group",
|
|
52
|
+
/** `virtualserver_flag_password`: 1 if the server has a password, 0 if it does not. */
|
|
53
|
+
VirtualServerFlagPassword: "virtualserver_flag_password",
|
|
54
|
+
/** `virtualserver_default_channel_admin_group`: The default channel administrator group to use. Editable. */
|
|
55
|
+
VirtualServerDefaultChannelAdminGroup: "virtualserver_default_channel_admin_group",
|
|
56
|
+
/** `virtualserver_max_download_total_bandwidth`: The max bandwidth for outgoing file transfers on the virtual server (Bytes/s). Editable. */
|
|
57
|
+
VirtualServerMaxDownloadTotalBandwidth: "virtualserver_max_download_total_bandwidth",
|
|
58
|
+
/** `virtualserver_max_upload_total_bandwidth`: The max bandwidth for incoming file transfers on the virtual server (Bytes/s). Editable. */
|
|
59
|
+
VirtualServerMaxUploadTotalBandwidth: "virtualserver_max_upload_total_bandwidth",
|
|
60
|
+
/** `virtualserver_hostbanner_url`: URL for the host banner. Editable. */
|
|
61
|
+
VirtualServerHostBannerURL: "virtualserver_hostbanner_url",
|
|
62
|
+
/** `virtualserver_hostbanner_gfx_url`: URL for the host banner image. Editable. */
|
|
63
|
+
VirtualServerHostBannerGFXURL: "virtualserver_hostbanner_gfx_url",
|
|
64
|
+
/** `virtualserver_hostbanner_gfx_interval`: Refresh time for the host banner image on the client side (in seconds). Editable. */
|
|
65
|
+
VirtualServerHostBannerGFXInterval: "virtualserver_hostbanner_gfx_interval",
|
|
66
|
+
/** `virtualserver_complain_autoban_count`: The number of complaints about a client we will tolerate before a ban. Editable. */
|
|
67
|
+
VirtualServerComplainAutoBanCount: "virtualserver_complain_autoban_count",
|
|
68
|
+
/** `virtualserver_complain_autoban_time`: The amount of time (in seconds) an autobanned client will be banned for. Editable. */
|
|
69
|
+
VirtualServerComplainAutoBanTime: "virtualserver_complain_autoban_time",
|
|
70
|
+
/** `virtualserver_complain_remove_time`: The amount of time (in seconds) before a complaint is deleted automatically. Editable. */
|
|
71
|
+
VirtualServerComplainRemoveTime: "virtualserver_complain_remove_time",
|
|
72
|
+
/** `virtualserver_min_clients_in_channel_before_forced_silence`: Number of clients in the same channel needed to force silence. Editable. */
|
|
73
|
+
VirtualServerMinClientsInChannelBeforeForcedSilence: "virtualserver_min_clients_in_channel_before_forced_silence",
|
|
74
|
+
/** `virtualserver_priority_speaker_dimm_modificator`: Client volume lowered automatically while a priority speaker is talking. Editable. */
|
|
75
|
+
VirtualServerPrioritySpeakerDimmModificator: "virtualserver_priority_speaker_dimm_modificator",
|
|
76
|
+
/** `virtualserver_id`: The virtual server's id, as used by use sid=. */
|
|
77
|
+
VirtualServerID: "virtualserver_id",
|
|
78
|
+
/** `virtualserver_antiflood_points_tick_reduce`: Anti-flood points removed from a client for being good. Editable. */
|
|
79
|
+
VirtualServerAntiFloodPointsTickReduce: "virtualserver_antiflood_points_tick_reduce",
|
|
80
|
+
/** `virtualserver_antiflood_points_needed_command_block`: Anti-flood points needed to block commands being executed by the client. Editable. */
|
|
81
|
+
VirtualServerAntiFloodPointsNeededCommandBlock: "virtualserver_antiflood_points_needed_command_block",
|
|
82
|
+
/** `virtualserver_antiflood_points_needed_ip_block`: Anti-flood points needed to block incoming connections from the client. Editable. */
|
|
83
|
+
VirtualServerAntiFloodPointsNeededIPBlock: "virtualserver_antiflood_points_needed_ip_block",
|
|
84
|
+
/** `virtualserver_client_connections`: Number of voice client connections made since the server started. */
|
|
85
|
+
VirtualServerClientConnections: "virtualserver_client_connections",
|
|
86
|
+
/** `virtualserver_query_client_connections`: Number of ServerQuery connections made since the server started. */
|
|
87
|
+
VirtualServerQueryClientConnections: "virtualserver_query_client_connections",
|
|
88
|
+
/** `virtualserver_hostbutton_tooltip`: Text used for the tooltip of the host button on client-side. Editable. */
|
|
89
|
+
VirtualServerHostButtonTooltip: "virtualserver_hostbutton_tooltip",
|
|
90
|
+
/** `virtualserver_hostbutton_url`: URL opened on click on the host button. Editable. */
|
|
91
|
+
VirtualServerHostButtonURL: "virtualserver_hostbutton_url",
|
|
92
|
+
/** `virtualserver_hostbutton_gfx_url`: URL for the host button on client-side. Editable. */
|
|
93
|
+
VirtualServerHostButtonGFXURL: "virtualserver_hostbutton_gfx_url",
|
|
94
|
+
/** `virtualserver_queryclientsonline`: Number of ServerQuery clients online. */
|
|
95
|
+
VirtualServerQueryClientsOnline: "virtualserver_queryclientsonline",
|
|
96
|
+
/** `virtualserver_download_quota`: Download quota for the virtual server (MByte). Editable. */
|
|
97
|
+
VirtualServerDownloadQuota: "virtualserver_download_quota",
|
|
98
|
+
/** `virtualserver_upload_quota`: Upload quota for the virtual server (MByte). Editable. */
|
|
99
|
+
VirtualServerUploadQuota: "virtualserver_upload_quota",
|
|
100
|
+
/** `virtualserver_month_bytes_downloaded`: Bytes of file transfer downloads this month. */
|
|
101
|
+
VirtualServerMonthBytesDownloaded: "virtualserver_month_bytes_downloaded",
|
|
102
|
+
/** `virtualserver_month_bytes_uploaded`: Bytes of file transfer uploads this month. */
|
|
103
|
+
VirtualServerMonthBytesUploaded: "virtualserver_month_bytes_uploaded",
|
|
104
|
+
/** `virtualserver_total_bytes_downloaded`: Bytes of file transfer downloads in total. */
|
|
105
|
+
VirtualServerTotalBytesDownloaded: "virtualserver_total_bytes_downloaded",
|
|
106
|
+
/** `virtualserver_total_bytes_uploaded`: Bytes of file transfer uploads in total. */
|
|
107
|
+
VirtualServerTotalBytesUploaded: "virtualserver_total_bytes_uploaded",
|
|
108
|
+
/** `virtualserver_port`: UDP port the virtual server is listening on. Editable. */
|
|
109
|
+
VirtualServerPort: "virtualserver_port",
|
|
110
|
+
/** `virtualserver_autostart`: 1 if started automatically with the instance, or 0 otherwise. Editable. */
|
|
111
|
+
VirtualServerAutoStart: "virtualserver_autostart",
|
|
112
|
+
/** `virtualserver_machine_id`: Machine id that tells servers on one machine apart when they share a database; empty if unset. */
|
|
113
|
+
VirtualServerMachineID: "virtualserver_machine_id",
|
|
114
|
+
/** `virtualserver_needed_identity_security_level`: Minimum client identity security level required to connect to the virtual server. Editable. */
|
|
115
|
+
VirtualServerNeededIdentitySecurityLevel: "virtualserver_needed_identity_security_level",
|
|
116
|
+
/** `virtualserver_log_client`: Indicates whether the server logs events related to clients or not. Editable. */
|
|
117
|
+
VirtualServerLogClient: "virtualserver_log_client",
|
|
118
|
+
/** `virtualserver_log_query`: Indicates whether the server logs events related to ServerQuery clients or not. Editable. */
|
|
119
|
+
VirtualServerLogQuery: "virtualserver_log_query",
|
|
120
|
+
/** `virtualserver_log_channel`: Indicates whether the server logs events related to channels or not. Editable. */
|
|
121
|
+
VirtualServerLogChannel: "virtualserver_log_channel",
|
|
122
|
+
/** `virtualserver_log_permissions`: Indicates whether the server logs events related to permissions or not. Editable. */
|
|
123
|
+
VirtualServerLogPermissions: "virtualserver_log_permissions",
|
|
124
|
+
/** `virtualserver_log_server`: Indicates whether the server logs events related to server changes or not. Editable. */
|
|
125
|
+
VirtualServerLogServer: "virtualserver_log_server",
|
|
126
|
+
/** `virtualserver_log_filetransfer`: Indicates whether the server logs events related to file transfers or not. Editable. */
|
|
127
|
+
VirtualServerLogFileTransfer: "virtualserver_log_filetransfer",
|
|
128
|
+
/** `virtualserver_min_client_version`: Minimal desktop client version required to connect (a build number). Editable. */
|
|
129
|
+
VirtualServerMinClientVersion: "virtualserver_min_client_version",
|
|
130
|
+
/** `virtualserver_name_phonetic`: Phonetic name of the virtual server. Editable. */
|
|
131
|
+
VirtualServerNamePhonetic: "virtualserver_name_phonetic",
|
|
132
|
+
/** `virtualserver_icon_id`: CRC32 checksum of the virtual server icon. Editable. */
|
|
133
|
+
VirtualServerIconID: "virtualserver_icon_id",
|
|
134
|
+
/** `virtualserver_reserved_slots`: Number of reserved slots available on the virtual server. Editable. */
|
|
135
|
+
VirtualServerReservedSlots: "virtualserver_reserved_slots",
|
|
136
|
+
/** `virtualserver_total_packetloss_speech`: Average packet loss of voice packets, as a fraction between 0 and 1. */
|
|
137
|
+
VirtualServerTotalPacketLossSpeech: "virtualserver_total_packetloss_speech",
|
|
138
|
+
/** `virtualserver_total_packetloss_keepalive`: Average packet loss of keepalive packets, as a fraction between 0 and 1. */
|
|
139
|
+
VirtualServerTotalPacketLossKeepAlive: "virtualserver_total_packetloss_keepalive",
|
|
140
|
+
/** `virtualserver_total_packetloss_control`: Average packet loss of control packets, as a fraction between 0 and 1. */
|
|
141
|
+
VirtualServerTotalPacketLossControl: "virtualserver_total_packetloss_control",
|
|
142
|
+
/** `virtualserver_total_packetloss_total`: Average packet loss over all packets, as a fraction between 0 and 1. */
|
|
143
|
+
VirtualServerTotalPacketLossTotal: "virtualserver_total_packetloss_total",
|
|
144
|
+
/** `virtualserver_total_ping`: Average ping of all clients, in milliseconds. */
|
|
145
|
+
VirtualServerTotalPing: "virtualserver_total_ping",
|
|
146
|
+
/** `virtualserver_ip`: IP addresses the virtual server listens on, separated by commas. */
|
|
147
|
+
VirtualServerIP: "virtualserver_ip",
|
|
148
|
+
/** `virtualserver_weblist_enabled`: Indicates whether the server appears in the global web server list or not. Editable. */
|
|
149
|
+
VirtualServerWebListEnabled: "virtualserver_weblist_enabled",
|
|
150
|
+
/** `virtualserver_ask_for_privilegekey`: 1 if clients are asked for a privilege key on their first connection to an unclaimed server, 0 if not. */
|
|
151
|
+
VirtualServerAskForPrivilegeKey: "virtualserver_ask_for_privilegekey",
|
|
152
|
+
/** `virtualserver_hostbanner_mode`: The display mode for the virtual servers hostbanner. Editable. */
|
|
153
|
+
VirtualServerHostBannerMode: "virtualserver_hostbanner_mode",
|
|
154
|
+
/** `virtualserver_channel_temp_delete_delay_default`: Default delay, in seconds, before an empty temporary channel is deleted. */
|
|
155
|
+
VirtualServerChannelTempDeleteDelayDefault: "virtualserver_channel_temp_delete_delay_default",
|
|
156
|
+
/** `virtualserver_min_android_version`: Minimal Android client version required to connect. Editable. */
|
|
157
|
+
VirtualServerMinAndroidVersion: "virtualserver_min_android_version",
|
|
158
|
+
/** `virtualserver_min_ios_version`: Minimal iOS client version required to connect. Editable. */
|
|
159
|
+
VirtualServerMinIOSVersion: "virtualserver_min_ios_version",
|
|
160
|
+
/** `virtualserver_nickname`: Nickname the server uses when it speaks, for example in server messages; empty uses the default. */
|
|
161
|
+
VirtualServerNickname: "virtualserver_nickname",
|
|
162
|
+
/** `virtualserver_antiflood_points_needed_plugin_block`: Anti-flood points needed to block plugin commands from the client; if set to 0, the same as virtualserver_antiflood_points_needed_command_block is used. Editable. */
|
|
163
|
+
VirtualServerAntiFloodPointsNeededPluginBlock: "virtualserver_antiflood_points_needed_plugin_block",
|
|
164
|
+
/** `virtualserver_capability_extensions`: Optional protocol features the server supports, separated by commas. */
|
|
165
|
+
VirtualServerCapabilityExtensions: "virtualserver_capability_extensions",
|
|
166
|
+
/** `virtualserver_file_storage_class`: Storage backend of the server's files; empty for the local disk. TeamSpeak 3 only. */
|
|
167
|
+
VirtualServerFileStorageClass: "virtualserver_file_storage_class",
|
|
168
|
+
/** `virtualserver_status`: Status of the virtual server (online | virtual online | offline | booting up | shutting down). Editable. */
|
|
169
|
+
VirtualServerStatus: "virtualserver_status",
|
|
170
|
+
/** `connection_filetransfer_bandwidth_sent`: Current file transfer upload speed, in bytes per second. Also in hostinfo and clientinfo. */
|
|
171
|
+
ConnectionFileTransferBandwidthSent: "connection_filetransfer_bandwidth_sent",
|
|
172
|
+
/** `connection_filetransfer_bandwidth_received`: Current file transfer download speed, in bytes per second. Also in hostinfo and clientinfo. */
|
|
173
|
+
ConnectionFileTransferBandwidthReceived: "connection_filetransfer_bandwidth_received",
|
|
174
|
+
/** `connection_filetransfer_bytes_sent_total`: Total bytes sent by file transfers since the server started. Also in hostinfo. */
|
|
175
|
+
ConnectionFileTransferBytesSentTotal: "connection_filetransfer_bytes_sent_total",
|
|
176
|
+
/** `connection_filetransfer_bytes_received_total`: Total bytes received by file transfers since the server started. Also in hostinfo. */
|
|
177
|
+
ConnectionFileTransferBytesReceivedTotal: "connection_filetransfer_bytes_received_total",
|
|
178
|
+
/** `connection_packets_sent_speech`: Voice packets sent since the server started. */
|
|
179
|
+
ConnectionPacketsSentSpeech: "connection_packets_sent_speech",
|
|
180
|
+
/** `connection_bytes_sent_speech`: Bytes of voice packets sent since the server started. */
|
|
181
|
+
ConnectionBytesSentSpeech: "connection_bytes_sent_speech",
|
|
182
|
+
/** `connection_packets_received_speech`: Voice packets received since the server started. */
|
|
183
|
+
ConnectionPacketsReceivedSpeech: "connection_packets_received_speech",
|
|
184
|
+
/** `connection_bytes_received_speech`: Bytes of voice packets received since the server started. */
|
|
185
|
+
ConnectionBytesReceivedSpeech: "connection_bytes_received_speech",
|
|
186
|
+
/** `connection_packets_sent_keepalive`: Keepalive packets sent since the server started. */
|
|
187
|
+
ConnectionPacketsSentKeepAlive: "connection_packets_sent_keepalive",
|
|
188
|
+
/** `connection_bytes_sent_keepalive`: Bytes of keepalive packets sent since the server started. */
|
|
189
|
+
ConnectionBytesSentKeepAlive: "connection_bytes_sent_keepalive",
|
|
190
|
+
/** `connection_packets_received_keepalive`: Keepalive packets received since the server started. */
|
|
191
|
+
ConnectionPacketsReceivedKeepAlive: "connection_packets_received_keepalive",
|
|
192
|
+
/** `connection_bytes_received_keepalive`: Bytes of keepalive packets received since the server started. */
|
|
193
|
+
ConnectionBytesReceivedKeepAlive: "connection_bytes_received_keepalive",
|
|
194
|
+
/** `connection_packets_sent_control`: Control (command) packets sent since the server started. */
|
|
195
|
+
ConnectionPacketsSentControl: "connection_packets_sent_control",
|
|
196
|
+
/** `connection_bytes_sent_control`: Bytes of control packets sent since the server started. */
|
|
197
|
+
ConnectionBytesSentControl: "connection_bytes_sent_control",
|
|
198
|
+
/** `connection_packets_received_control`: Control packets received since the server started. */
|
|
199
|
+
ConnectionPacketsReceivedControl: "connection_packets_received_control",
|
|
200
|
+
/** `connection_bytes_received_control`: Bytes of control packets received since the server started. */
|
|
201
|
+
ConnectionBytesReceivedControl: "connection_bytes_received_control",
|
|
202
|
+
/** `connection_packets_sent_total`: All packets sent since the server started. Also in hostinfo and clientinfo. */
|
|
203
|
+
ConnectionPacketsSentTotal: "connection_packets_sent_total",
|
|
204
|
+
/** `connection_bytes_sent_total`: All bytes sent since the server started. Also in hostinfo and clientinfo. */
|
|
205
|
+
ConnectionBytesSentTotal: "connection_bytes_sent_total",
|
|
206
|
+
/** `connection_packets_received_total`: All packets received since the server started. Also in hostinfo and clientinfo. */
|
|
207
|
+
ConnectionPacketsReceivedTotal: "connection_packets_received_total",
|
|
208
|
+
/** `connection_bytes_received_total`: All bytes received since the server started. Also in hostinfo and clientinfo. */
|
|
209
|
+
ConnectionBytesReceivedTotal: "connection_bytes_received_total",
|
|
210
|
+
/** `connection_bandwidth_sent_last_second_total`: Bytes per second sent, averaged over the last second. Also in hostinfo and clientinfo. */
|
|
211
|
+
ConnectionBandwidthSentLastSecondTotal: "connection_bandwidth_sent_last_second_total",
|
|
212
|
+
/** `connection_bandwidth_sent_last_minute_total`: Bytes per second sent, averaged over the last minute. Also in hostinfo and clientinfo. */
|
|
213
|
+
ConnectionBandwidthSentLastMinuteTotal: "connection_bandwidth_sent_last_minute_total",
|
|
214
|
+
/** `connection_bandwidth_received_last_second_total`: Bytes per second received, averaged over the last second. Also in hostinfo and clientinfo. */
|
|
215
|
+
ConnectionBandwidthReceivedLastSecondTotal: "connection_bandwidth_received_last_second_total",
|
|
216
|
+
/** `connection_bandwidth_received_last_minute_total`: Bytes per second received, averaged over the last minute. Also in hostinfo and clientinfo. */
|
|
217
|
+
ConnectionBandwidthReceivedLastMinuteTotal: "connection_bandwidth_received_last_minute_total",
|
|
218
|
+
/** `virtualserver_address`: Public address of the server. TeamSpeak 6 only. */
|
|
219
|
+
VirtualServerAddress: "virtualserver_address",
|
|
220
|
+
/** `virtualserver_administrative_domain`: Administrative domain of the server. TeamSpeak 6 only. */
|
|
221
|
+
VirtualServerAdministrativeDomain: "virtualserver_administrative_domain",
|
|
222
|
+
/** `virtualserver_canonical_name`: Canonical name of the server. TeamSpeak 6 only. */
|
|
223
|
+
VirtualServerCanonicalName: "virtualserver_canonical_name",
|
|
224
|
+
/** `virtualserver_homebase_storage_quota`: Storage quota for homebase data, in bytes; 4294967295 means unlimited. TeamSpeak 6 only. */
|
|
225
|
+
VirtualServerHomeBaseStorageQuota: "virtualserver_homebase_storage_quota",
|
|
226
|
+
/** `virtualserver_homebases`: Number of homebase users on this server. TeamSpeak 6 only. */
|
|
227
|
+
VirtualServerHomeBases: "virtualserver_homebases",
|
|
228
|
+
/** `virtualserver_max_homebases`: Maximum number of homebase users this server accepts. TeamSpeak 6 only. */
|
|
229
|
+
VirtualServerMaxHomeBases: "virtualserver_max_homebases",
|
|
230
|
+
/** `virtualserver_mytsid_connect_only`: 1 if only clients with a MyTeamSpeak id may connect, 0 if not. TeamSpeak 6 only. */
|
|
231
|
+
VirtualServerMyTSIDConnectOnly: "virtualserver_mytsid_connect_only",
|
|
232
|
+
/** `virtualserver_sfu_endpoint`: Address of the server's SFU endpoint; empty if none. TeamSpeak 6 only. */
|
|
233
|
+
VirtualServerSFUEndpoint: "virtualserver_sfu_endpoint",
|
|
234
|
+
/** `virtualserver_storage_quota`: Total file storage quota of the server, in bytes; 4294967295 means unlimited. TeamSpeak 6 only. */
|
|
235
|
+
VirtualServerStorageQuota: "virtualserver_storage_quota",
|
|
236
|
+
/** `virtualserver_version_sign`: Signature that proves the server's version string is genuine, base64. TeamSpeak 6 only. */
|
|
237
|
+
VirtualServerVersionSign: "virtualserver_version_sign",
|
|
238
|
+
// Server instance: instanceinfo, and instanceedit for those marked editable.
|
|
239
|
+
/** `serverinstance_database_version`: Revision of the server database schema. */
|
|
240
|
+
ServerInstanceDatabaseVersion: "serverinstance_database_version",
|
|
241
|
+
/** `serverinstance_filetransfer_port`: TCP port of the file transfer service. Editable. */
|
|
242
|
+
ServerInstanceFileTransferPort: "serverinstance_filetransfer_port",
|
|
243
|
+
/** `serverinstance_max_download_total_bandwidth`: Maximum bandwidth of file transfer downloads for the whole instance, in bytes per second. Editable. */
|
|
244
|
+
ServerInstanceMaxDownloadTotalBandwidth: "serverinstance_max_download_total_bandwidth",
|
|
245
|
+
/** `serverinstance_max_upload_total_bandwidth`: Maximum bandwidth of file transfer uploads for the whole instance, in bytes per second. Editable. */
|
|
246
|
+
ServerInstanceMaxUploadTotalBandwidth: "serverinstance_max_upload_total_bandwidth",
|
|
247
|
+
/** `serverinstance_guest_serverquery_group`: Id of the server group given to ServerQuery clients that have not logged in. Editable. */
|
|
248
|
+
ServerInstanceGuestServerQueryGroup: "serverinstance_guest_serverquery_group",
|
|
249
|
+
/** `serverinstance_serverquery_flood_commands`: Commands a ServerQuery client may send within the flood time before it is banned. Editable. */
|
|
250
|
+
ServerInstanceServerQueryFloodCommands: "serverinstance_serverquery_flood_commands",
|
|
251
|
+
/** `serverinstance_serverquery_flood_time`: Time window, in seconds, in which ServerQuery commands are counted against the flood limit. Editable. */
|
|
252
|
+
ServerInstanceServerQueryFloodTime: "serverinstance_serverquery_flood_time",
|
|
253
|
+
/** `serverinstance_serverquery_ban_time`: How long, in seconds, a ServerQuery client is banned for flooding. Editable. */
|
|
254
|
+
ServerInstanceServerQueryBanTime: "serverinstance_serverquery_ban_time",
|
|
255
|
+
/** `serverinstance_template_serveradmin_group`: Id of the template server group used for server admins of new virtual servers. Editable. */
|
|
256
|
+
ServerInstanceTemplateServerAdminGroup: "serverinstance_template_serveradmin_group",
|
|
257
|
+
/** `serverinstance_template_serverdefault_group`: Id of the template server group used as the default group of new virtual servers. Editable. */
|
|
258
|
+
ServerInstanceTemplateServerDefaultGroup: "serverinstance_template_serverdefault_group",
|
|
259
|
+
/** `serverinstance_template_channeladmin_group`: Id of the template channel group used for channel admins of new virtual servers. Editable. */
|
|
260
|
+
ServerInstanceTemplateChannelAdminGroup: "serverinstance_template_channeladmin_group",
|
|
261
|
+
/** `serverinstance_template_channeldefault_group`: Id of the template channel group used as the default channel group of new virtual servers. Editable. */
|
|
262
|
+
ServerInstanceTemplateChannelDefaultGroup: "serverinstance_template_channeldefault_group",
|
|
263
|
+
/** `serverinstance_permissions_version`: Revision of the permission set the server knows. */
|
|
264
|
+
ServerInstancePermissionsVersion: "serverinstance_permissions_version",
|
|
265
|
+
/** `serverinstance_pending_connections_per_ip`: Connections an IP address may have waiting to finish connecting; 0 means no limit. Editable. */
|
|
266
|
+
ServerInstancePendingConnectionsPerIP: "serverinstance_pending_connections_per_ip",
|
|
267
|
+
/** `serverinstance_serverquery_max_connections_per_ip`: ServerQuery connections one IP address may hold open at the same time. Editable. */
|
|
268
|
+
ServerInstanceServerQueryMaxConnectionsPerIP: "serverinstance_serverquery_max_connections_per_ip",
|
|
269
|
+
/** `serverinstance_max_homebases`: Maximum number of homebase users across the instance; -1 means unlimited. Editable. TeamSpeak 6 only. */
|
|
270
|
+
ServerInstanceMaxHomeBases: "serverinstance_max_homebases",
|
|
271
|
+
// Host: hostinfo.
|
|
272
|
+
/** `instance_uptime`: Seconds since the server instance started. */
|
|
273
|
+
InstanceUptime: "instance_uptime",
|
|
274
|
+
/** `host_timestamp_utc`: The server's current time, as a Unix timestamp in seconds. */
|
|
275
|
+
HostTimestampUTC: "host_timestamp_utc",
|
|
276
|
+
/** `virtualservers_running_total`: Number of virtual servers running. */
|
|
277
|
+
VirtualServersRunningTotal: "virtualservers_running_total",
|
|
278
|
+
/** `virtualservers_total_maxclients`: Sum of the client limits of all running virtual servers. */
|
|
279
|
+
VirtualServersTotalMaxClients: "virtualservers_total_maxclients",
|
|
280
|
+
/** `virtualservers_total_clients_online`: Clients online across all virtual servers. */
|
|
281
|
+
VirtualServersTotalClientsOnline: "virtualservers_total_clients_online",
|
|
282
|
+
/** `virtualservers_total_channels_online`: Channels across all virtual servers. */
|
|
283
|
+
VirtualServersTotalChannelsOnline: "virtualservers_total_channels_online",
|
|
284
|
+
/** `virtualservers_total_homebases`: Number of homebase users across all virtual servers. TeamSpeak 6 only. */
|
|
285
|
+
VirtualServersTotalHomeBases: "virtualservers_total_homebases",
|
|
286
|
+
/** `virtualservers_total_max_homebases`: Maximum number of homebase users across all virtual servers; -1 means unlimited. TeamSpeak 6 only. */
|
|
287
|
+
VirtualServersTotalMaxHomeBases: "virtualservers_total_max_homebases",
|
|
288
|
+
// Client: clientinfo.
|
|
289
|
+
/** `cid`: Id of the channel the client is in. */
|
|
290
|
+
CID: "cid",
|
|
291
|
+
/** `client_idle_time`: Milliseconds since the client was last active. */
|
|
292
|
+
ClientIdleTime: "client_idle_time",
|
|
293
|
+
/** `client_unique_identifier`: The client's unique id, derived from its identity; a ServerQuery client has its login name. */
|
|
294
|
+
ClientUniqueIdentifier: "client_unique_identifier",
|
|
295
|
+
/** `client_nickname`: Nickname of the client. Editable. */
|
|
296
|
+
ClientNickname: "client_nickname",
|
|
297
|
+
/** `client_version`: Client version and build as the client reports it. */
|
|
298
|
+
ClientVersion: "client_version",
|
|
299
|
+
/** `client_platform`: Operating system the client reports, such as Windows. */
|
|
300
|
+
ClientPlatform: "client_platform",
|
|
301
|
+
/** `client_input_muted`: 1 if the client's microphone is muted, 0 if not. */
|
|
302
|
+
ClientInputMuted: "client_input_muted",
|
|
303
|
+
/** `client_output_muted`: 1 if the client's speakers are muted, 0 if not. */
|
|
304
|
+
ClientOutputMuted: "client_output_muted",
|
|
305
|
+
/** `client_outputonly_muted`: 1 if the client has muted all other clients' sound but not its own, 0 if not. */
|
|
306
|
+
ClientOutputOnlyMuted: "client_outputonly_muted",
|
|
307
|
+
/** `client_input_hardware`: 1 if the client has a working capture device, 0 if not. */
|
|
308
|
+
ClientInputHardware: "client_input_hardware",
|
|
309
|
+
/** `client_output_hardware`: 1 if the client has a working playback device, 0 if not. */
|
|
310
|
+
ClientOutputHardware: "client_output_hardware",
|
|
311
|
+
/** `client_default_channel`: Path of the channel the client asked to join first; empty for none. */
|
|
312
|
+
ClientDefaultChannel: "client_default_channel",
|
|
313
|
+
/** `client_meta_data`: Free-form data the client attaches to itself. */
|
|
314
|
+
ClientMetaData: "client_meta_data",
|
|
315
|
+
/** `client_is_recording`: 1 if the client is recording the conversation, 0 if not. */
|
|
316
|
+
ClientIsRecording: "client_is_recording",
|
|
317
|
+
/** `client_version_sign`: Signature that proves the client's version string is genuine, base64. */
|
|
318
|
+
ClientVersionSign: "client_version_sign",
|
|
319
|
+
/** `client_security_hash`: The client's security hash; empty if it sent none. */
|
|
320
|
+
ClientSecurityHash: "client_security_hash",
|
|
321
|
+
/** `client_is_streaming`: 1 if the client is streaming, 0 if not. TeamSpeak 6 only. */
|
|
322
|
+
ClientIsStreaming: "client_is_streaming",
|
|
323
|
+
/** `client_login_name`: ServerQuery login name the client logged in with; empty for voice clients. */
|
|
324
|
+
ClientLoginName: "client_login_name",
|
|
325
|
+
/** `client_database_id`: The client's id in the server database. */
|
|
326
|
+
ClientDatabaseID: "client_database_id",
|
|
327
|
+
/** `client_channel_group_id`: Id of the client's channel group in its current channel. */
|
|
328
|
+
ClientChannelGroupID: "client_channel_group_id",
|
|
329
|
+
/** `client_servergroups`: Ids of the client's server groups, separated by commas. */
|
|
330
|
+
ClientServerGroups: "client_servergroups",
|
|
331
|
+
/** `client_created`: When the client first connected, as a Unix timestamp in seconds. */
|
|
332
|
+
ClientCreated: "client_created",
|
|
333
|
+
/** `client_lastconnected`: When the client last connected, as a Unix timestamp in seconds. */
|
|
334
|
+
ClientLastConnected: "client_lastconnected",
|
|
335
|
+
/** `client_totalconnections`: How many times the client has connected. */
|
|
336
|
+
ClientTotalConnections: "client_totalconnections",
|
|
337
|
+
/** `client_away`: 1 if the client is away, 0 if not. */
|
|
338
|
+
ClientAway: "client_away",
|
|
339
|
+
/** `client_away_message`: The client's away message. */
|
|
340
|
+
ClientAwayMessage: "client_away_message",
|
|
341
|
+
/** `client_type`: 0 for a voice client, 1 for a ServerQuery client. */
|
|
342
|
+
ClientType: "client_type",
|
|
343
|
+
/** `client_flag_avatar`: Checksum of the client's avatar file; empty if it has none. */
|
|
344
|
+
ClientFlagAvatar: "client_flag_avatar",
|
|
345
|
+
/** `client_talk_power`: The client's talk power in its channel. */
|
|
346
|
+
ClientTalkPower: "client_talk_power",
|
|
347
|
+
/** `client_talk_request`: Nonzero if the client has asked for talk power in a moderated channel, 0 if not. */
|
|
348
|
+
ClientTalkRequest: "client_talk_request",
|
|
349
|
+
/** `client_talk_request_msg`: Message that came with the client's request for talk power. */
|
|
350
|
+
ClientTalkRequestMsg: "client_talk_request_msg",
|
|
351
|
+
/** `client_description`: Brief description of the client (max 200 chars). Editable. */
|
|
352
|
+
ClientDescription: "client_description",
|
|
353
|
+
/** `client_is_talker`: Indicates whether the client is able to talk or not. Editable. */
|
|
354
|
+
ClientIsTalker: "client_is_talker",
|
|
355
|
+
/** `client_month_bytes_uploaded`: Bytes of file transfer uploads by the client this month. */
|
|
356
|
+
ClientMonthBytesUploaded: "client_month_bytes_uploaded",
|
|
357
|
+
/** `client_month_bytes_downloaded`: Bytes of file transfer downloads by the client this month. */
|
|
358
|
+
ClientMonthBytesDownloaded: "client_month_bytes_downloaded",
|
|
359
|
+
/** `client_total_bytes_uploaded`: Bytes of file transfer uploads by the client in total. */
|
|
360
|
+
ClientTotalBytesUploaded: "client_total_bytes_uploaded",
|
|
361
|
+
/** `client_total_bytes_downloaded`: Bytes of file transfer downloads by the client in total. */
|
|
362
|
+
ClientTotalBytesDownloaded: "client_total_bytes_downloaded",
|
|
363
|
+
/** `client_is_priority_speaker`: 1 if the client is a priority speaker, 0 if not. */
|
|
364
|
+
ClientIsPrioritySpeaker: "client_is_priority_speaker",
|
|
365
|
+
/** `client_unread_messages`: Number of offline messages the client has not read. */
|
|
366
|
+
ClientUnreadMessages: "client_unread_messages",
|
|
367
|
+
/** `client_nickname_phonetic`: Phonetic spelling of the client's nickname. */
|
|
368
|
+
ClientNicknamePhonetic: "client_nickname_phonetic",
|
|
369
|
+
/** `client_needed_serverquery_view_power`: Power a ServerQuery client needs to see this client. */
|
|
370
|
+
ClientNeededServerQueryViewPower: "client_needed_serverquery_view_power",
|
|
371
|
+
/** `client_default_token`: Privilege key the client used to connect, if any. */
|
|
372
|
+
ClientDefaultToken: "client_default_token",
|
|
373
|
+
/** `client_icon_id`: CRC32 checksum of the client icon. Editable. */
|
|
374
|
+
ClientIconID: "client_icon_id",
|
|
375
|
+
/** `client_is_channel_commander`: Indicates whether the client is a channel commander or not. Editable. */
|
|
376
|
+
ClientIsChannelCommander: "client_is_channel_commander",
|
|
377
|
+
/** `client_country`: Two-letter country code of the client; empty if unknown. */
|
|
378
|
+
ClientCountry: "client_country",
|
|
379
|
+
/** `client_channel_group_inherited_channel_id`: Id of the channel the client's channel group applies from, which is an ancestor when the group is inherited. */
|
|
380
|
+
ClientChannelGroupInheritedChannelID: "client_channel_group_inherited_channel_id",
|
|
381
|
+
/** `client_badges`: Badges the client shows, as a string. */
|
|
382
|
+
ClientBadges: "client_badges",
|
|
383
|
+
/** `client_myteamspeak_id`: The client's MyTeamSpeak id; empty if it is not logged in. */
|
|
384
|
+
ClientMyTeamSpeakID: "client_myteamspeak_id",
|
|
385
|
+
/** `client_integrations`: Integrations the client has linked to its MyTeamSpeak account; empty for none. */
|
|
386
|
+
ClientIntegrations: "client_integrations",
|
|
387
|
+
/** `client_myteamspeak_avatar`: Checksum of the client's MyTeamSpeak avatar; empty for none. */
|
|
388
|
+
ClientMyTeamSpeakAvatar: "client_myteamspeak_avatar",
|
|
389
|
+
/** `client_signed_badges`: Badges the client shows, signed by TeamSpeak. */
|
|
390
|
+
ClientSignedBadges: "client_signed_badges",
|
|
391
|
+
/** `client_user_tag`: Free-form tag the user has set for itself. TeamSpeak 6 only. */
|
|
392
|
+
ClientUserTag: "client_user_tag",
|
|
393
|
+
/** `client_public_key_raw`: The client's raw public key, base64. TeamSpeak 6 only. */
|
|
394
|
+
ClientPublicKeyRaw: "client_public_key_raw",
|
|
395
|
+
/** `client_base64HashClientUID`: The client's unique id hashed and re-encoded with the letters a to p, the form the TeamSpeak client uses to name its avatar files. */
|
|
396
|
+
ClientBase64HashClientUID: "client_base64HashClientUID",
|
|
397
|
+
/** `connection_connected_time`: Milliseconds since the client connected. */
|
|
398
|
+
ConnectionConnectedTime: "connection_connected_time",
|
|
399
|
+
/** `connection_client_ip`: The client's IP address. */
|
|
400
|
+
ConnectionClientIP: "connection_client_ip",
|
|
401
|
+
};
|
|
402
|
+
/** The property names; see {@link PropertyName}'s entries for what each holds. */
|
|
403
|
+
export const PropertyName =
|
|
404
|
+
/* @__PURE__ */ Object.freeze(propertyNameValues);
|
|
405
|
+
//# sourceMappingURL=property-name.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"property-name.js","sourceRoot":"","sources":["../../src/core/property-name.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,MAAM,kBAAkB,GAAG;IACzB,wEAAwE;IACxE,4HAA4H;IAC5H,6BAA6B,EAAE,iCAAiC;IAChE,sEAAsE;IACtE,iBAAiB,EAAE,oBAAoB;IACvC,mFAAmF;IACnF,2BAA2B,EAAE,8BAA8B;IAC3D,oFAAoF;IACpF,qBAAqB,EAAE,wBAAwB;IAC/C,iGAAiG;IACjG,oBAAoB,EAAE,uBAAuB;IAC7C,oFAAoF;IACpF,uBAAuB,EAAE,0BAA0B;IACnD,0EAA0E;IAC1E,qBAAqB,EAAE,wBAAwB;IAC/C,uGAAuG;IACvG,0BAA0B,EAAE,6BAA6B;IACzD,wEAAwE;IACxE,2BAA2B,EAAE,8BAA8B;IAC3D,oGAAoG;IACpG,oBAAoB,EAAE,uBAAuB;IAC7C,wEAAwE;IACxE,mBAAmB,EAAE,sBAAsB;IAC3C,+GAA+G;IAC/G,gCAAgC,EAAE,qCAAqC;IACvE,6EAA6E;IAC7E,wBAAwB,EAAE,2BAA2B;IACrD,0LAA0L;IAC1L,4BAA4B,EAAE,gCAAgC;IAC9D,+GAA+G;IAC/G,qBAAqB,EAAE,wBAAwB;IAC/C,uFAAuF;I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G;IAC5G,kBAAkB,EAAE,qBAAqB;IACzC,gGAAgG;IAChG,uBAAuB,EAAE,2BAA2B;IACpD,4EAA4E;IAC5E,kBAAkB,EAAE,sBAAsB;IAC1C,sFAAsF;IACtF,aAAa,EAAE,iBAAiB;IAChC,sFAAsF;IACtF,kBAAkB,EAAE,uBAAuB;IAC3C,uKAAuK;IACvK,yBAAyB,EAAE,4BAA4B;IACvD,4EAA4E;IAC5E,uBAAuB,EAAE,2BAA2B;IACpD,uDAAuD;IACvD,kBAAkB,EAAE,sBAAsB;CAClC,CAAC;AAEX,kFAAkF;AAClF,MAAM,CAAC,MAAM,YAAY;AACvB,eAAe,CAAC,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/** The values of the table below, before freezing. */
|
|
2
|
+
declare const reasonValues: {
|
|
3
|
+
/** A client joining, or moving of its own accord. */
|
|
4
|
+
readonly None: 0;
|
|
5
|
+
/** A client moved by someone else. */
|
|
6
|
+
readonly Moved: 1;
|
|
7
|
+
/** A client coming into or out of view because a channel was (un)subscribed. */
|
|
8
|
+
readonly Subscription: 2;
|
|
9
|
+
/** A client that timed out. */
|
|
10
|
+
readonly LostConnection: 3;
|
|
11
|
+
/** A client kicked from its channel. */
|
|
12
|
+
readonly KickChannel: 4;
|
|
13
|
+
/** A client kicked from the server. */
|
|
14
|
+
readonly KickServer: 5;
|
|
15
|
+
/** A client banned from the server. */
|
|
16
|
+
readonly KickServerBan: 6;
|
|
17
|
+
/** The virtual server stopping. */
|
|
18
|
+
readonly ServerStop: 7;
|
|
19
|
+
/** A client that left the server. */
|
|
20
|
+
readonly Disconnect: 8;
|
|
21
|
+
/** A change to a channel the client can see. */
|
|
22
|
+
readonly ChannelUpdate: 9;
|
|
23
|
+
/** A channel edited by someone. */
|
|
24
|
+
readonly ChannelEdit: 10;
|
|
25
|
+
/** The server instance shutting down. */
|
|
26
|
+
readonly ServerShutdown: 11;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Why a client moved or left view, as the server reports it (`reasonid`).
|
|
30
|
+
*
|
|
31
|
+
* The names are the ones `Reason` has in teamspeak-go.
|
|
32
|
+
* Events carry the reason as a plain number, since a server may send one this
|
|
33
|
+
* table does not name.
|
|
34
|
+
*/
|
|
35
|
+
export declare const Reason: typeof reasonValues;
|
|
36
|
+
/** A known reason. */
|
|
37
|
+
export type Reason = (typeof Reason)[keyof typeof Reason];
|
|
38
|
+
export {};
|
|
39
|
+
//# sourceMappingURL=reason.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reason.d.ts","sourceRoot":"","sources":["../../src/core/reason.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,QAAA,MAAM,YAAY;IAChB,qDAAqD;aACrD,IAAI,EAAE,CAAC;IACP,sCAAsC;aACtC,KAAK,EAAE,CAAC;IACR,gFAAgF;aAChF,YAAY,EAAE,CAAC;IACf,+BAA+B;aAC/B,cAAc,EAAE,CAAC;IACjB,wCAAwC;aACxC,WAAW,EAAE,CAAC;IACd,uCAAuC;aACvC,UAAU,EAAE,CAAC;IACb,uCAAuC;aACvC,aAAa,EAAE,CAAC;IAChB,mCAAmC;aACnC,UAAU,EAAE,CAAC;IACb,qCAAqC;aACrC,UAAU,EAAE,CAAC;IACb,gDAAgD;aAChD,aAAa,EAAE,CAAC;IAChB,mCAAmC;aACnC,WAAW,EAAE,EAAE;IACf,yCAAyC;aACzC,cAAc,EAAE,EAAE;CACV,CAAC;AACX;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,EAAE,OAAO,YAA0D,CAAC;AAEvF,sBAAsB;AACtB,MAAM,MAAM,MAAM,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/** The values of the table below, before freezing. */
|
|
2
|
+
const reasonValues = {
|
|
3
|
+
/** A client joining, or moving of its own accord. */
|
|
4
|
+
None: 0,
|
|
5
|
+
/** A client moved by someone else. */
|
|
6
|
+
Moved: 1,
|
|
7
|
+
/** A client coming into or out of view because a channel was (un)subscribed. */
|
|
8
|
+
Subscription: 2,
|
|
9
|
+
/** A client that timed out. */
|
|
10
|
+
LostConnection: 3,
|
|
11
|
+
/** A client kicked from its channel. */
|
|
12
|
+
KickChannel: 4,
|
|
13
|
+
/** A client kicked from the server. */
|
|
14
|
+
KickServer: 5,
|
|
15
|
+
/** A client banned from the server. */
|
|
16
|
+
KickServerBan: 6,
|
|
17
|
+
/** The virtual server stopping. */
|
|
18
|
+
ServerStop: 7,
|
|
19
|
+
/** A client that left the server. */
|
|
20
|
+
Disconnect: 8,
|
|
21
|
+
/** A change to a channel the client can see. */
|
|
22
|
+
ChannelUpdate: 9,
|
|
23
|
+
/** A channel edited by someone. */
|
|
24
|
+
ChannelEdit: 10,
|
|
25
|
+
/** The server instance shutting down. */
|
|
26
|
+
ServerShutdown: 11,
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Why a client moved or left view, as the server reports it (`reasonid`).
|
|
30
|
+
*
|
|
31
|
+
* The names are the ones `Reason` has in teamspeak-go.
|
|
32
|
+
* Events carry the reason as a plain number, since a server may send one this
|
|
33
|
+
* table does not name.
|
|
34
|
+
*/
|
|
35
|
+
export const Reason = /* @__PURE__ */ Object.freeze(reasonValues);
|
|
36
|
+
//# sourceMappingURL=reason.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reason.js","sourceRoot":"","sources":["../../src/core/reason.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,MAAM,YAAY,GAAG;IACnB,qDAAqD;IACrD,IAAI,EAAE,CAAC;IACP,sCAAsC;IACtC,KAAK,EAAE,CAAC;IACR,gFAAgF;IAChF,YAAY,EAAE,CAAC;IACf,+BAA+B;IAC/B,cAAc,EAAE,CAAC;IACjB,wCAAwC;IACxC,WAAW,EAAE,CAAC;IACd,uCAAuC;IACvC,UAAU,EAAE,CAAC;IACb,uCAAuC;IACvC,aAAa,EAAE,CAAC;IAChB,mCAAmC;IACnC,UAAU,EAAE,CAAC;IACb,qCAAqC;IACrC,UAAU,EAAE,CAAC;IACb,gDAAgD;IAChD,aAAa,EAAE,CAAC;IAChB,mCAAmC;IACnC,WAAW,EAAE,EAAE;IACf,yCAAyC;IACzC,cAAc,EAAE,EAAE;CACV,CAAC;AACX;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,MAAM,GAAwB,eAAe,CAAC,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reconnection policy.
|
|
3
|
+
*
|
|
4
|
+
* A dropped connection is normal on a UDP voice session, so a bot that cannot
|
|
5
|
+
* recover is not usable unattended. Reconnecting is opt-in rather than
|
|
6
|
+
* automatic: a silent reconnect makes a dropped session look like a healthy
|
|
7
|
+
* one, and a caller that wanted to know about the drop never finds out.
|
|
8
|
+
*
|
|
9
|
+
* Backoff is not a nicety here. TeamSpeak bans an IP that opens several
|
|
10
|
+
* connections in quick succession — measured at roughly three, after which the
|
|
11
|
+
* server answers `error id=3329` and refuses everything. A reconnect loop
|
|
12
|
+
* without a delay therefore bans itself, and the ban outlasts the outage it was
|
|
13
|
+
* recovering from.
|
|
14
|
+
*/
|
|
15
|
+
/** How long to wait before each attempt. */
|
|
16
|
+
export interface BackoffPolicy {
|
|
17
|
+
/** Delay before the first retry, in milliseconds. */
|
|
18
|
+
readonly initialDelayMs: number;
|
|
19
|
+
/** Ceiling for the delay; it never grows past this. */
|
|
20
|
+
readonly maxDelayMs: number;
|
|
21
|
+
/** Multiplier applied after each failed attempt. */
|
|
22
|
+
readonly factor: number;
|
|
23
|
+
/**
|
|
24
|
+
* Fraction of the delay to randomise, 0 to 1.
|
|
25
|
+
*
|
|
26
|
+
* A fleet of bots that drop together would otherwise retry in lockstep and
|
|
27
|
+
* hit the server in a burst. Jitter spreads them out.
|
|
28
|
+
*/
|
|
29
|
+
readonly jitter: number;
|
|
30
|
+
/** Give up after this many consecutive failures. 0 means never give up. */
|
|
31
|
+
readonly maxAttempts: number;
|
|
32
|
+
}
|
|
33
|
+
/** One second, doubling, capped at a minute, with 20% jitter, never giving up. */
|
|
34
|
+
export declare const defaultBackoffPolicy: Readonly<BackoffPolicy>;
|
|
35
|
+
/**
|
|
36
|
+
* How a client reconnects after its connection drops. Supplying it, even as
|
|
37
|
+
* `{}`, turns reconnecting on; a deliberate `disconnect()` never reconnects.
|
|
38
|
+
*/
|
|
39
|
+
export interface ReconnectOptions {
|
|
40
|
+
/** Tuning for the retry delays; unset fields keep {@link defaultBackoffPolicy}'s. */
|
|
41
|
+
readonly backoff?: {
|
|
42
|
+
readonly [K in keyof BackoffPolicy]?: BackoffPolicy[K] | undefined;
|
|
43
|
+
} | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Decide whether a given failure is worth retrying. Returning false stops the
|
|
46
|
+
* loop. Each client provides its own default; the voice client's is
|
|
47
|
+
* `defaultShouldRetry` in `@honeybbq/teamspeak/client`.
|
|
48
|
+
*/
|
|
49
|
+
readonly shouldRetry?: ((error: Error | undefined, attempt: number) => boolean) | undefined;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Compute the delay before an attempt.
|
|
53
|
+
*
|
|
54
|
+
* `attempt` is 1-based: the delay before the first retry is `initialDelayMs`,
|
|
55
|
+
* give or take the jitter, and the delay never grows past `maxDelayMs`.
|
|
56
|
+
*/
|
|
57
|
+
export declare function backoffDelay(policy: Readonly<BackoffPolicy>, attempt: number): number;
|
|
58
|
+
export declare function resolveBackoffPolicy(options: ReconnectOptions): BackoffPolicy;
|
|
59
|
+
//# sourceMappingURL=reconnect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reconnect.d.ts","sourceRoot":"","sources":["../../src/core/reconnect.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,4CAA4C;AAC5C,MAAM,WAAW,aAAa;IAC5B,qDAAqD;IACrD,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,uDAAuD;IACvD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,oDAAoD;IACpD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;;;;OAKG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,2EAA2E;IAC3E,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED,kFAAkF;AAClF,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,aAAa,CAMvD,CAAC;AAEH;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,qFAAqF;IACrF,QAAQ,CAAC,OAAO,CAAC,EACb;QAAE,QAAQ,EAAE,CAAC,IAAI,MAAM,aAAa,CAAC,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,SAAS;KAAE,GACtE,SAAS,CAAC;IACd;;;;OAIG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,GAAG,SAAS,CAAC;CAC7F;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAErF;AAsBD,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,gBAAgB,GAAG,aAAa,CAO7E"}
|