01
How TeamSpeak decides who is allowed
TeamSpeak 3 has no user accounts or passwords. At first launch, the client creates an identity, a key pair, and the server recognises each user by the unique ID derived from it. Groups and rights are tied to that ID, not to the nickname. If you switch computers without bringing your identity (the client can export it), the server treats you as a stranger.
The documentation shipped with the server (doc/permissiondoc.txt) describes five layers. Each one can override the previous one:
- Server groups: a user can have several, and the highest value wins;
- user-specific permissions;
- channel permissions;
- the channel group: only one per user and per channel;
- a user's permissions in one specific channel.
Two kinds of permissions: b_ ones, yes or no (b_virtualserver_modify_name allows renaming the server), and i_ ones, numbers. Many i_ permissions come in pairs, a power and a needed power: the action succeeds if the acting user's power is greater than or equal to the target's needed power. A permission nobody has set counts as zero.
02
Become administrator: the privilege key
At the very first start of a virtual server, TeamSpeak writes a privilege key (or token) to its log, an entry ticket into the Server Admin group. Installation and how to find this key are in the guide create a TeamSpeak server.
- Connect with the TeamSpeak client: it offers to enter the key at first connection. Otherwise, use the Permissions menu, then Use Privilege Key.
- The key works only once, and only on the virtual server it was created for.
- Once you are an administrator, you create more keys in Permissions, then Privilege Keys: a key grants either a server group or a channel group in a chosen channel. It is the right way to promote a friend who is not connected: send them the key, and they use it at their next connection.
Do not confuse it with the serveradmin ServerQuery account, whose password is also shown at first start: it controls the whole instance, all virtual servers included. Keep it out of reach and do not open the ServerQuery ports to the Internet (see game server ports).
03
Default groups and adding a user
A new server has three server groups for users:
- Server Admin: all rights on the virtual server;
- Normal: trusted members, with more rights than a guest;
- Guest: the default group, given automatically to every newcomer.
And four channel groups: Channel Admin (given to whoever creates a channel), Operator, Voice and Guest (given to anyone entering a channel for the first time).
Add someone to a group from the client: right-click their nickname, then Server Groups and tick the group; for a channel group, Set Channel Group. When a user receives another server group, they automatically leave the default group. For your own groups (Moderator, Member…), the simplest way is to start from a copy of Normal in the Permissions, Server Groups window.
Through ServerQuery, best left to those who already use it: from the VPS, over SSH on local port 10022 with the serveradmin account, look up the member's database ID and the group list, then add them:
ssh serveradmin@127.0.0.1 -p 10022
use 1
clientdbfind pattern=Pseudo
servergrouplist
servergroupaddclient sgid=NUMERO_DU_GROUPE cldbid=NUMERO_DU_MEMBRE
quit
Replace the two numbers with those from the replies (sgid and cldbid). For a channel group, the command is setclientchannelgroup cgid=… cid=… cldbid=…, with the numbers given by channelgrouplist and channellist. The command's documentation states that a member cannot be added to the default group.
04
Common permissions
Permissions are set in the Server Groups and Channel Groups windows, or on a channel through its permissions window. The ones you will touch most:
i_channel_join_power (on a group) and i_channel_needed_join_power (on a channel): who can enter the channel.
i_client_talk_power and i_client_needed_talk_power: who can speak. Set on a channel, the needed power turns it into a moderated channel; the Voice channel group grants enough to speak there.
i_channel_subscribe_power and i_channel_needed_subscribe_power: who can see who is in a channel without entering it.
i_client_kick_from_server_power and i_client_needed_kick_from_server_power: who can kick whom from the server (i_client_kick_from_channel_power for a channel).
b_client_ban_create: the right to ban.
i_group_member_add_power and i_group_needed_member_add_power: who can add members to which group. This is what lets a moderator grant the Member group without being able to grant Server Admin.
Two options add to a server group's permissions. Negate reverses the usual rule: the lowest value wins. Example from the documentation: a "Sticky" group with i_channel_join_power at -1 and Negate stops its members from switching channels. Skip prevents a channel group from lowering that permission: useful on Server Admin.
Finally, changing a permission requires rights of its own: the "Grant" value shown next to each permission tells which power is needed to change it. Do not give a moderator group the ability to edit the groups themselves.
05
Permanent channels and restricted channels
A channel has one of these three types, chosen when it is created:
- temporary: it disappears when the last user leaves;
- semi-permanent: it stays until the server restarts;
- permanent: it is saved and survives restarts. This is the type for lobby, clan or game channels.
The matching rights are b_channel_create_temporary, b_channel_create_semi_permanent and b_channel_create_permanent. In the permission set shipped with the server, Server Admin is the only user group that can create permanent channels. So build the structure as administrator: right-click in the channel tree, Create Channel, then the Permanent type. The depth of sub-channels depends on i_channel_max_depth.
Restrict a channel to a group: open the channel's permissions and give i_channel_needed_join_power a value equal to the i_channel_join_power of the lowest allowed group, read in Server Groups. Groups at least as powerful get in, the others do not. A simple channel password also works for a small group of friends; b_channel_join_ignore_password lets a group enter without typing it.
06
On CloudFive
CloudFive has no ready-made TeamSpeak plan: the server is installed on a VPS with the guide create a TeamSpeak server, then configured with this one. Our VPS for game servers, from €5.99 per month, provide:
- an AMD Ryzen 9 9950X, DDR5 memory and NVMe storage: a voice server happily shares the machine with a game server;
- root access and a dedicated IPv4 address;
- basic anti-DDoS protection included; Premium Protection, with a game-specific filter, is a paid option (see protecting a game server from DDoS);
- servers in France, monthly with no commitment, with support in French 7 days a week.
Administration is done over SSH (see connecting to a VPS over SSH). If you prefer free software with no licence or slot limit, see installing Mumble on a VPS.
07
Frequently asked questions
How do I become administrator of my TeamSpeak 3 server?
Use the privilege key written to the server log at first start: the client asks for it at first connection, or go to Permissions then Use Privilege Key. It puts you in the Server Admin group and works only once.
How do I add someone to the Server Admin or Normal group?
Right-click their nickname in the client, then Server Groups, and tick the group. If they are not connected, create a privilege key for that group in Permissions then Privilege Keys, and send it to them.
What are i_channel_join_power and i_channel_needed_join_power for?
The first is a user's join power, given by their groups; the second, set on a channel, is the power needed to enter it. The user gets in if their power is greater than or equal to the needed power.
What is the difference between a server group and a channel group?
A server group applies to the whole server, and a user can have several. A channel group applies only in one channel, with one group per user and per channel, and it takes precedence over the server group unless the permission carries the Skip option.
Why do my channels disappear?
They are temporary or semi-permanent: the former disappear when they empty, the latter when the server restarts. Create them as administrator with the Permanent type, which requires the b_channel_create_permanent permission.