Difference between revisions of "Teamspeak Server Configuration"

 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Teamspeak 2 ==
 
== Teamspeak 2 ==
 
=== Install & Configure Teamspeak 2 (Windows)===
 
=== Install & Configure Teamspeak 2 (Windows)===
* Download and install Teamspeak Server 2.0.23.19 [http://teamspeak.com/?page=downloads&archive=1]
+
* Download and install Teamspeak Server 2.0.23.19 http://teamspeak.com/?page=downloads&archive=1
 
* Download updated binary 2.0.24.1 from the link above and overwrite server_windows.exe in your installation folder.
 
* Download updated binary 2.0.24.1 from the link above and overwrite server_windows.exe in your installation folder.
 
* Run the Teamspeak server. A window with the '''superadmin''' password will be shown. Copy it and store it in a safe place.
 
* Run the Teamspeak server. A window with the '''superadmin''' password will be shown. Copy it and store it in a safe place.
Line 15: Line 15:
  
 
=== Install & Configure Teamspeak 2 (Linux)===
 
=== Install & Configure Teamspeak 2 (Linux)===
* Download and extract Teamspeak Server 2.0.23.19 [http://teamspeak.com/?page=downloads&archive=1]
+
* Download and extract Teamspeak Server 2.0.23.19 http://teamspeak.com/?page=downloads&archive=1
 
  su tcadmin
 
  su tcadmin
 
  cd /home/tcadmin
 
  cd /home/tcadmin
Line 40: Line 40:
  
 
== Teamspeak 3 ==
 
== Teamspeak 3 ==
'''IMPORTANT:''' The default Teamspeak server configuration allows the virtual server administrator to change the slots using the Teamspeak client. Contact Teamspeak support for instructions on disabling this.
+
These instructions explain how to create a Teamspeak master server automatically and configure it to create Teamspeak services (virtual servers). If you don't have a Teamspeak license you can't create additional Teamspeak services and you can only have one Teamspeak master server per server.
  
=== Install & Configure Teamspeak 3 (Windows)===
+
=== Apply for a Teamspeak License ===
* Download the Teamspeak 3 Server [http://www.teamspeak.com/?page=downloads] and extract to C:\
+
If you don't have a Teamspeak license you will not be able to create additional Teamspeak services. The Teamspeak master server includes one free 32 slot service. You will get a "virtualserver limit reached" error when creating additional Teamspeak services. Follow these instructions to apply for a license: https://support.teamspeakusa.com/index.php?/Knowledgebase/Article/View/17/0/i-am-the-owner-of-a-successful-hosting-company-but-do-not-currently-offer-teamspeak-hosting-can-i-still-apply-to-become-an-athp-for-teamspeak-3
* Run ts3server_winXX.exe. A window with the '''serveradmin''' password will be shown. Copy it and store it in a safe place.
 
* Log in to your control panel.
 
* Go to System > General Settings > Teamspeak Servers > New.
 
* Select version 3, enter a name, hostname or IP, serveradmin login and password.
 
* Select the Service Settings tab.
 
* Check "Run as a TCAdmin service"
 
* Server : Select the server where the Teamspeak server is located.
 
* Teamspeak Executable : Enter the full path to ts3server_winXX.exe. For example c:\teamspeak3-server_winXX\ts3server_winXX.exe
 
* Click on Save.
 
* Click on Test Connection to confirm that it works.
 
  
=== Install & Configure Teamspeak 3 (Linux)===
+
=== Install & Configure the Teamspeak 3 Master server ===
* Download and extract Teamspeak Server 3 [http://teamspeak.com/?page=downloads]
+
* Go to Game & Voice Management > Create a Service
su tcadmin
+
* Select the Create a Voice Service tab and select "Other voice server".
cd /home/tcadmin
+
* Select the server where the Teamspeak master will be created.
wget url_to_ts3_server
+
* Select "Teamspeak 3 Master Server" type.
tar xjvf downloaded_file
+
* Enter the rcon password. This will be your serveradmin password.
cd teamspeak3-server_linux-XXXX
+
* Click on Create.
 +
* After the Teamspeak master has been created, if you have a Teamspeak license place the file in the service's root folder and restart the service.
 +
* Click on "More" and execute the "Install" action. This will configure the teamspeak master under settings > teamspeak servers.
 +
* If you have a teamspeak license you should be able to create teamspeak services in the "Create a Service" page but this time select "Teamspeak service" instead of "Other voice server".
  
* Run the Teamspeak server. You should see the '''serveradmin''' password in the console. Copy it and store it in a safe place.
+
=== Prepare the Teamspeak Server for Hosting ===
./ts3server_minimal_runscript.sh
+
'''If you created the teamspeak server automatically with the instructions from this article this has already been done for you.''' By default the Teamspeak installation allows your client to edit their slots. Follow these instructions to prevent this: https://support.teamspeakusa.com/index.php?/Knowledgebase/Article/View/318/0/how-do-i-prevent-customers-from-increasing-their-slots
* Stop the Teamspeak server. Edit the file query_ip_whitelist.txt and add your server's IPs to the list. Save and restart the Teamspeak server.
 
* Log in to your control panel.
 
* Go to System > General Settings > Teamspeak Servers > New.
 
* Select version 3, enter a name, hostname or IP, serveradmin login and password.
 
* Select the Service Settings tab.
 
* Check "Run as a TCAdmin service"
 
* Teamspeak Executable : Enter the full path to server_linux. For example /home/tcadmin/teamspeak3-server_linux-XXXX/ts3server_minimal_runscript.sh
 
* Click on Save.
 
* Click on Test Connection to confirm that it works.
 
  
== Teamspeak Browser ==
+
=== Teamspeak Browser ===
* Use the Teamspeak browser to manage virtual servers even if they are not assigned to a user.
+
Use the Teamspeak browser to manage virtual servers even if they are not assigned to a user.
=== Assign Existing Virtual Server to a User ===
 
To assign a virtual server select it from the list. On the right select the user from the list and click on Apply.
 
  
=== Move Player to Different Channel ===
+
; Assign Existing Virtual Server to a User
To move a player to a different channel drag its icon to that channel.
+
: To assign a virtual server select it from the list. On the right select the user from the list and click on Apply.
  
== Running Teamspeak as a Non-Root User ==
+
; Move Player to Different Channel
* First make sure you can run the TS server manually with the non-root user.
+
: To move a player to a different channel drag its icon to that channel.
* Get the TS3 '''service''' id. You can find it by running the service browser.
 
<source lang="bash">cd /home/tcadmin/Monitor
 
./servicebrowser</source>
 
* Create the file /home/tcadmin/Monitor/Services/'''ServiceId'''/User.cfg with the following. Replace tcagame with the user that will run the ts server.
 
<source lang="xml">
 
<?xml version="1.0" encoding="utf-16" standalone="yes"?>
 
<values>
 
  <add key="Service.User" value="tcagame" type="System.String,mscorlib" />
 
</values>
 
</source>
 
* Restart the service manager.
 
<source lang="bash">cd /home/tcadmin/Monitor
 
./serviceman-service restart</source>
 
* Restart the service from the control panel or from the service browser and it should start as the new user.
 
  
== Preparing the Teamspeak Server for Hosting ==
+
=== Teamspeak Server Owner ===
By default the Teamspeak installation allows your client to edit their slots. Follow these instructions to prevent this: http://www.teamspeak.com/?page=faq&cat=ts3athp#ts3athp_recommendations
+
A Teamspeak server can be assigned to a user or reseller. If a user owns the Teamspeak server he is able to create unlimited virtual servers as long as the Teamspeak license allows it. When a Teamspeak server is assigned to a user it is not used by the billing API or by reseller packages.
  
== Teamspeak License ==
+
=== TSDNS ===
If you don't have a Teamspeak license you will not be able to create Teamspeak virtual servers. You will get a "virtualserver limit reached" error. Follow these instructions to apply for a license: http://www.teamspeak.com/?page=faq&cat=ts3athp#ts3athp_what_is_athp_application
+
*  Configure your TSDNS domain(s) as explained here: https://support.teamspeakusa.com/index.php?/Knowledgebase/Article/View/332/0/server-address-resolution-and-tsdns-changes-with-client-31x
 +
* Create a TSDNS service,
 +
* Select the TSDNS service. Click on Config Files. Edit domain.txt and add the domains that you configured.
 +
* Go to settings > teamspeak servers > select the TS server > assign the TSDNS service.
 +
*  Then your client can configure his TSDNS subdomain in his TS service home page.

Latest revision as of 14:03, 10 January 2020

Teamspeak 2

Install & Configure Teamspeak 2 (Windows)

  • Download and install Teamspeak Server 2.0.23.19 http://teamspeak.com/?page=downloads&archive=1
  • Download updated binary 2.0.24.1 from the link above and overwrite server_windows.exe in your installation folder.
  • Run the Teamspeak server. A window with the superadmin password will be shown. Copy it and store it in a safe place.
  • Log in to your control panel.
  • Go to System > General Settings > Teamspeak Servers > New.
  • Select version 2, enter a name, hostname or IP, superadmin login and password.
  • Select the Service Settings tab.
  • Check "Run as a TCAdmin service"
  • Server : Select the server where the Teamspeak server is located.
  • Teamspeak Executable : Enter the full path to server_windows.exe. For example c:\Program Files\Teamspeak2_RC2\server_windows.exe
  • Click on Save.
  • Click on Test Connection to confirm that it works.

Install & Configure Teamspeak 2 (Linux)

su tcadmin
cd /home/tcadmin
wget ftp://ftp.freenet.de/pub/4players/teamspeak.org/releases/ts2_server_rc2_202319.tar.bz2
tar ts2_server_rc2_202319.tar.bz2
cd tss2_rc2
  • Download updated binary 2.0.24.1 from the link above and overwrite server_linux in your installation folder.
rm server_linux
wget ftp://ftp.freenet.de/pub/4players/teamspeak.org/developer/server/202401/server_linux
chmod +x server_linux
  • Run the Teamspeak server. You should see the superadmin password in the console. Copy it and store it in a safe place.
./server_linux
  • Enter quit to close the Teamspeak console.
  • Log in to your control panel.
  • Go to System > General Settings > Teamspeak Servers > New.
  • Select version 2, enter a name, hostname or IP, superadmin login and password.
  • Select the Service Settings tab.
  • Check "Run as a TCAdmin service"
  • Teamspeak Executable : Enter the full path to server_linux. For example /home/tcadmin/tss2_rc/server_linux
  • Click on Save then click on Cancel.
  • The service will be stopped. Start it.
  • Select the Teamspeak server that you created and click on Test Connection to confirm that it works.

Teamspeak 3

These instructions explain how to create a Teamspeak master server automatically and configure it to create Teamspeak services (virtual servers). If you don't have a Teamspeak license you can't create additional Teamspeak services and you can only have one Teamspeak master server per server.

Apply for a Teamspeak License

If you don't have a Teamspeak license you will not be able to create additional Teamspeak services. The Teamspeak master server includes one free 32 slot service. You will get a "virtualserver limit reached" error when creating additional Teamspeak services. Follow these instructions to apply for a license: https://support.teamspeakusa.com/index.php?/Knowledgebase/Article/View/17/0/i-am-the-owner-of-a-successful-hosting-company-but-do-not-currently-offer-teamspeak-hosting-can-i-still-apply-to-become-an-athp-for-teamspeak-3

Install & Configure the Teamspeak 3 Master server

  • Go to Game & Voice Management > Create a Service
  • Select the Create a Voice Service tab and select "Other voice server".
  • Select the server where the Teamspeak master will be created.
  • Select "Teamspeak 3 Master Server" type.
  • Enter the rcon password. This will be your serveradmin password.
  • Click on Create.
  • After the Teamspeak master has been created, if you have a Teamspeak license place the file in the service's root folder and restart the service.
  • Click on "More" and execute the "Install" action. This will configure the teamspeak master under settings > teamspeak servers.
  • If you have a teamspeak license you should be able to create teamspeak services in the "Create a Service" page but this time select "Teamspeak service" instead of "Other voice server".

Prepare the Teamspeak Server for Hosting

If you created the teamspeak server automatically with the instructions from this article this has already been done for you. By default the Teamspeak installation allows your client to edit their slots. Follow these instructions to prevent this: https://support.teamspeakusa.com/index.php?/Knowledgebase/Article/View/318/0/how-do-i-prevent-customers-from-increasing-their-slots

Teamspeak Browser

Use the Teamspeak browser to manage virtual servers even if they are not assigned to a user.

Assign Existing Virtual Server to a User
To assign a virtual server select it from the list. On the right select the user from the list and click on Apply.
Move Player to Different Channel
To move a player to a different channel drag its icon to that channel.

Teamspeak Server Owner

A Teamspeak server can be assigned to a user or reseller. If a user owns the Teamspeak server he is able to create unlimited virtual servers as long as the Teamspeak license allows it. When a Teamspeak server is assigned to a user it is not used by the billing API or by reseller packages.

TSDNS

Retrieved from "https://help.tcadmin.com/index.php?title=Teamspeak_Server_Configuration&oldid=1881"