Short guide how to recover forgotten Console admin & Server Admin Token access to TS3 server.
- Shutdown server
- Start server with serveradmin_password parameter (inifile is not neccessary if you don’t use it):
./ts3server_minimal_runscript.sh inifile=ts3server.ini serveradmin_password=test1234
- It should display: updated server query admin password
- Stop server and run it normally /etc/init.d/teamspeak3 start
- Connect to your TS3 server via client and open Permission > Server Groups – remember number of Server Admin group (e.g. Server Admin (6)), we use it number later as tokenid1
- Run telnet from terminal and connect to server via Server Query port 10011:
telnet myts3server.com 10011 login serveradmin test1234 error id=0 msg=ok use port=9987 error id=0 msg=ok tokenadd tokentype=0 tokenid1=6 tokenid2=0 token=PJFasmQ5q7bfY79kqL+05PiYxauERNb3Em9cw2nk
- Enter new token in TS3 client