LogoLogo
  • Home
  • Getting Started
  • Configuration
    • LinuxGSM Config
    • Game Server Config
    • Start Parameters
    • cronjobs
    • Running on Boot
    • Running Multiple Game Servers
    • IP Address Configuration
    • LinuxGSM Stats
  • Commands
    • install
    • start-stop-restart
    • monitor
    • test-alert
    • console
    • debug
    • update
    • check-update
    • force-update
    • validate
    • update-lgsm
    • backup
    • map-compressor
    • details
    • mods
    • skeleton
    • fastdl
    • change-password
  • Game Servers
    • 7 Days to Die
    • Arma 3
    • ARK: Survival Evolved
    • Call of Duty 4
    • Dont Starve Together
    • Counter-Strike 2
    • Counter-Strike: Global Offensive
    • Factorio
    • Garry's Mod
    • Insurgency: SandStorm
    • Killing Floor 2
    • Minecraft: Java Edition
    • Multi Theft Auto
    • Rust
    • Sven Co-op
    • Trackmania Nations Forever / Trackmania United Forever
    • TeamSpeak 3
    • Unreal Tournament 99
    • Unreal Tournament 2004
    • Unreal Tournament 3
    • Valheim
    • Xonotic
    • The Front [WIP]
  • Networking
    • IP Address
    • Ports
    • Source Engine
  • Alerts
    • Discord
    • Email
    • IFTTT
    • Pushbullet
    • Pushover
    • Rocket.Chat
    • Slack
    • Telegram
  • Dependencies
    • Java
    • tmux
    • jq
    • gamedig
    • glibc
  • Features
    • ANSI Colors
    • Stop Mode
    • Log Management
    • Message Display Time
  • SteamCMD
    • Steam Master Server
    • Game Server Login Token
    • Branch
    • LAN Discovery
    • Workshop
    • Error Codes
  • Linux
    • distro
    • ftp-scp
    • file-ownership
    • firewalls
    • network-interfaces
    • permissions
    • Symlinking and ln command
  • Troubleshooting
  • FAQ
  • Guides
    • Security
    • Make Webserver Case Insensitive
    • Sourcemod and Metamod:Source
  • Other
    • server-migration
    • basic-usage
    • brand
Powered by GitBook
On this page
  • Enable Server Query
  • Enable Query on LinuxGSM
  • Connect to TeamSpeak 3 Server
  • Useful Commands
  • TeamSpeak 3 Databases
  • SQLite Database
  • MariaDB
  • TSDNS
  • Known issues
  • IPv6
  • Accounting failed to register
  • Server Crashed after a while (outdated and no licence)
Edit on GitHub
Export as PDF
  1. Game Servers

TeamSpeak 3

PreviousTrackmania Nations Forever / Trackmania United ForeverNextUnreal Tournament 99

Last updated 3 years ago

Enable Server Query

To enable server query certain permissions have to be enabled or the guest server group.

  • Virtual Server

  • b_virtualserver_info_view

  • b_virtualserver_channel_list

  • b_virtualserver_client_list

  • Group

  • b_virtualserver_servergroup_list

  • b_virtualserver_channelgroup_list

To enable these permissions first navigate to TeamSpeak3 Options and enable Advanced permissions system.

Tools > Options > Application

Navigate to server groups server permissions and select guest.

Permissions > Server Groups

Select the values shown below and close the menu.

  • Virtual Server

    • Information

      • b_virtualserver_info_view

      • b_virtualserver_channel_list

      • b_virtualserver_client_list

  • Group

    • Information

      • b_virtualserver_servergroup_list

      • b_virtualserver_channelgroup_list

Enable Query on LinuxGSM

Because a user has to manually enable server query with TeamSpeak 3, LinuxGSM has gamedig query disabled by default. Enabling will allow more information to be displayed in details and enable monitor to use gamedig.

Copy the query mode settings from _default.cfg to common.cfg and change querymodefrom 5 to 3.

## Query mode
# 1: session only
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp
querymode="3"
querytype="teamspeak3"

Connect to TeamSpeak 3 Server

You can connect to a TeamSpeak 3 server to input commands without the need for a TeamSpeak 3 client. This can be done by connecting to the query port using telnet.

Using PuTTY or equivalent select a telnet connection and enter the server IP and TeamSpeak 3 query port (default:10011).

Useful Commands

Login

login serveradmin <password>

Generating a new Privilege key

use sid=<server-id>
tokenadd tokentype=0 tokenid1=6 tokenid2=0

Note: Your server ID is usually 1

Reset your query password

See change password.

TeamSpeak 3 Databases

The TeamSpeak 3 database contains all user information, groups, and statistics for your server.

SQLite Database

By default, TeamSpeak 3 uses an SQLite database file, which allows good performance for most users, and easy server transfers from one server to another. This method is recommended for most admins as it is the simplest database method to use.

MariaDB

TeamSpeak 3 also allows admins to use MariaDB (MySQL alternative) manage the database. MariaDB is entirely optional and is not required so it is recommended that admins only use if they are comfortable.

Information about installing TeamSpeak 3 with MariaDB can be found here.

TSDNS

TSDNS is a system allowing admins to redirect a domain name to a given TeamSpeak 3 port.

If TeamSpeak 3 port is using the default port, you do not need to provide the port when you are giving your server address, you can use the IP or domain name directly.

TSDNS is useful to admins that are hosting multiple TeamSpeak 3 servers on a single dedicated server.

Further documentation can be found using the following command.

cat ~user/serverfiles/tsdns/tsdns_settings.ini.sample

Additional information can be found here.

Then you can copy the sample, edit it accordingly and restart your TeamSpeak 3 server to apply the changes.

cd serverfiles/tsdns/
cp tsdns_settings.ini.sample tsdns_settings.ini
nano tsdns_settings.ini
cd ~
./ts3server restart

Known issues

IPv6

Some users with IPv6 enabled might encounter a server failing to start properly. To fix this edit serverfiles/ts3-server.ini to add a standard IPv4 (voice_ip; filetransfer_ip; query_ip) and remove the , :: from IPv6. Then as the server failed to start at the installation, the privilege key hasn't been generated. So you will need to use server query (ID/Password have been generated for them) to generate a new Server Admin privilege key.

Accounting failed to register

ERROR |Accounting | |failed to register local accounting service: File exists

If you find the above in the TeamSpeak 3 log you may need to remove the following file.

/dev/shm/7gbhujb54g8z9hu43jre8

Server Crashed after a while (outdated and no licence)

If the following message appears in the log of the Teamspeak 3 Linux Server Error creating ephemeral license: EXPIRED You need to upgrade the version of the TeamSpeak 3 Server to a more up-to-date version.