Available Protocols
TeamSpeak 6 Server supports three Server Query protocols:HTTP
REST-style interface over HTTP for web applications and modern APIs
HTTPS
Secure HTTP interface with SSL/TLS encryption
SSH
Terminal-based interface over SSH for secure command-line access
Common Configuration Options
All Server Query protocols share common configuration options:| Parameter | Environment Variable | Default | Description |
|---|---|---|---|
--query-pool-size | TSSERVER_QUERY_POOL_SIZE | 2 | Number of threads for query command processing (2-32) |
--query-timeout | TSSERVER_QUERY_TIMEOUT | 300 | Timeout in seconds before query connections expire |
--query-buffer-mb | TSSERVER_QUERY_BUFFER_MB | 20 | Memory in MB allocated for query connection buffering (20-100) |
--query-log-commands | TSSERVER_QUERY_LOG_COMMANDS | false | Log every command received on the query interface |
--query-log-timing | TSSERVER_QUERY_LOG_TIMING | 3600 | Interval in seconds to log query statistics (10-31556952) |
--query-documentation-path | TSSERVER_QUERY_DOCUMENTATION_PATH | serverquerydocs | Path to the query documentation files |
Security Options
IP Access Control
Control which IP addresses can access your Server Query interface:Command Line
Environment Variables
tsserver.yaml
| Parameter | Environment Variable | Default | Description |
|---|---|---|---|
--query-ip-allow-list | TSSERVER_QUERY_ALLOW_LIST | query_ip_allowlist.txt | IPs exempt from flood protection |
--query-ip-block-list | TSSERVER_QUERY_DENY_LIST | query_ip_denylist.txt | IPs blocked from query interface |
Brute Force Protection
By default, the server includes brute force protection. You can disable this in trusted environments:Command Line
Environment Variables
tsserver.yaml
Authentication
All Server Query protocols require authentication. See the Authentication guide for detailed information on setting up admin passwords and managing query credentials.Performance Tuning
Query pool size should be adjusted based on your server’s concurrent query connections. Higher values consume more resources but handle more simultaneous queries.
Configuration File Example
Here’s a complete Server Query configuration intsserver.yaml:
Next Steps
HTTP/HTTPS Setup
Configure the HTTP and HTTPS query interfaces
SSH Setup
Configure the SSH query interface
Authentication
Set up query admin credentials and manage access