Forum

Page 1 of 2 12 LastLast
Results 1 to 15 of 34

Hybrid View

  1. #1
    Join Date
    August 2013
    Posts
    13

    How to use the Server Query

    How do you use and work server query?

    Please help.

  2. #2
    Join Date
    February 2012
    Location
    Nuremberg, Bavaria
    Posts
    258
    Hello!
    Quote Originally Posted by ColonelJohn View Post
    How do you use and work server query?
    ServerQuery is a commandline based administration tool/feature of TeamSpeak 3 server.

    There are two ways to use a ServerQuery:


    Telnet
    You can open a "telnet" connection to your TeamSpeak 3 server. Just follow the steps:

    • Windows
      1. Download Putty: http://www.putty.org/
      2. Open Putty
      3. Enter your TeamSpeak 3 server address in the Putty field 'Host Name (or IP Address)'
      4. Connection Type: Telnet
      5. Port: 10011 (default)
      6. Now open your telnet connection by pressing the button "Open"
      7. If all was correctly, you will see something like this:
        TS3
        Welcome to the TeamSpeak 3 ServerQuery interface, type "help" for a list of commands and "help <command>" for information on a specific command.
      8. As next step, you have to login with your ServerQuery account:
        Code:
        login <serverquery username> <serverquery password>
        For example like this:
        Code:
        login serveradmin verySecret$Password2013
        Your server will answer you, if your login was successfull or not:
        error id=0 msg=ok
      9. Now: You can run every command, which is listed in the help list:
        Code:
        help
        TeamSpeak 3 Server :: ServerQuery
        (c) TeamSpeak Systems GmbH
        
        ServerQuery is a command-line interface built into the TeamSpeak 3 Server which
        allows powerful scripting and automation tools to be built based on the exact
        same instruction set and functionality provided by the TeamSpeak 3 Client. For
        example, you can use scripts to automate the management of virtual servers or
        nightly backups. In short, you can perform operations more efficiently by using
        ServerQuery scripts than you can by using a user interface.
        
        Command Overview:
           help                        | read help files
           login                       | authenticate with the server
           logout                      | deselect virtual server and log out
           quit                        | close connection
           use                         | select virtual server
           banadd                      | create a ban rule
           banclient                   | ban a client
        .
        .
        .

    • Linux
      1. Open a terminal
      2. Enter the following command to connect to your TeamSpeak 3 server:
        Code:
        telnet <host> <serverquery port>
        For example:
        Code:
        telnet yourdomain.com 10011
      3. If it was correctly, you will see something like this:
        Trying 127.0.0.1...
        Connected to localhost.
        Escape character is '^]'.
        TS3
        Welcome to the TeamSpeak 3 ServerQuery interface, type "help" for a list of commands and "help <command>" for information on a specific command.
      4. As next step, you have to login with your ServerQuery account:
        Code:
        login <serverquery username> <serverquery password>
        For example like this:
        Code:
        login serveradmin verySecret$Password2013
        Your server will answer you, if your login was successfull or not:
        error id=0 msg=ok
      5. Now: You can run every command, which is listed in the help list:
        Code:
        help
        TeamSpeak 3 Server :: ServerQuery
        (c) TeamSpeak Systems GmbH
        
        ServerQuery is a command-line interface built into the TeamSpeak 3 Server which
        allows powerful scripting and automation tools to be built based on the exact
        same instruction set and functionality provided by the TeamSpeak 3 Client. For
        example, you can use scripts to automate the management of virtual servers or
        nightly backups. In short, you can perform operations more efficiently by using
        ServerQuery scripts than you can by using a user interface.
        
        Command Overview:
           help                        | read help files
           login                       | authenticate with the server
           logout                      | deselect virtual server and log out
           quit                        | close connection
           use                         | select virtual server
           banadd                      | create a ban rule
           banclient                   | ban a client
        .
        .
        .


    To the commands: If you don't know, how they are working: run the command "help <commandname>". You will get the detailled usage informations about the command.

    For example like that:
    Code:
    help servercreate
    Usage: servercreate [virtualserver_properties...]
    
    Creates a new virtual server using the given properties and displays its ID and
    initial administrator token. If virtualserver_port is not specified, the server
    will test for the first unused UDP port.
    
    Example:
       servercreate virtualserver_name=TeamSpeak\s]\p[\sServer
        virtualserver_port=9988 virtualserver_maxclients=32
       sid=7 token=HhPbcMAMdAHGUip1yOma2Tl3sN0DN7B3Y0JVzYv6 virtualserver_port=9988
       error id=0 msg=ok
    
    
    error id=0 msg=ok
    Webinterface
    You can use a graphical user interface and can do some until all commands by clicking (without knowing the ServerQuery commands). The Webinterface is running the ServerQuery commands in background.

    One negative point is, that you will need a webserver with php module for the webinterface(s).

    On the http://addons.teamspeak.com/ page, you can find much different webinterfaces with different layout and functionality.

    Myself is using two webinterfaces:
    • For the computer: Psychokiller's webinterface
    • For the smartphone/tablet: TS3 WebApp (from myself)


    Why two different? The problem of Psychokiller's webinterface is, that you have to load very much styles and images and that needs much time on a mobile internet connection. I need everytime fast access to my server from everwhere.

    I hope I could help you.
    Last edited by Sebi94; August 16th, 2013 at 06:23 PM. Reason: EDIT: Changed list type

  3. #3
    Join Date
    August 2013
    Posts
    13
    I'm so sorry! I didn't get your reply until literally JUST now. I did get putty and it thankfully does work and I have been able to log in. Thank you!

  4. #4
    Join Date
    February 2012
    Location
    Nuremberg, Bavaria
    Posts
    258
    Ah, okay.

    Yeah, no problem.

  5. #5
    Join Date
    April 2014
    Posts
    1
    i'm new to teamspeak 3 and i'm trying to use webinterface but i'm a noob at it can you please help if possible?

  6. #6
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,350
    If you would provide ANY details (e.g. what you need help with), we might help you.

  7. #7
    Join Date
    May 2014
    Posts
    6
    Very helpful! Thank you very much for making this topic!

  8. #8
    Join Date
    June 2014
    Posts
    2
    Hi I need help, I am trying to login with putty and it won't let me, i know i have to type login username and password, but what password? i don't have a password, when i try to login without entering the password it gives me this
    error id=1538 msg=invalid\sparameter

  9. #9
    Join Date
    December 2009
    Location
    Germany
    Posts
    2,354
    @ Rainingblood180: If you are the server owner, you can use the serveradmin credentials you got while creating the TS3 server. If not, you can create a server query login using your TS3 client: Tools -> Server Query login. This created server query login have the same permissions than your identity.

  10. #10
    Join Date
    June 2014
    Posts
    2
    Quote Originally Posted by Stefan1200 View Post
    @ Rainingblood180: If you are the server owner, you can use the serveradmin credentials you got while creating the TS3 server. If not, you can create a server query login using your TS3 client: Tools -> Server Query login. This created server query login have the same permissions than your identity.
    Ok thank you very much!

  11. #11
    Join Date
    November 2013
    Posts
    18

    Server Query Question

    Hello,

    How exactly do you get the window up where you can use the Server Query? When I hit Server Query Log In, it just asks me for information. I type it in and nothing happens.

  12. #12
    Join Date
    February 2012
    Location
    Nuremberg, Bavaria
    Posts
    258
    Quote Originally Posted by zploch1 View Post
    How exactly do you get the window up where you can use the Server Query?
    That's also written here.

  13. #13
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,350
    Why do people still bother with telnet/Putty over two years after my release of YaTQA? I don't get that.

  14. #14
    Join Date
    April 2011
    Location
    Germany
    Posts
    1,266
    Quote Originally Posted by numma_cway View Post
    Why do people still bother with telnet/Putty over two years after my release of YaTQA? I don't get that.
    Because some people like to use a console?! I for example hate GUIs and use a text-based interface whenever this is possible. Even in Windows in many cases I use PowerShell or CMD before I try to mess with this stupid explorer.

  15. #15
    Join Date
    August 2013
    Location
    Germany
    Posts
    530
    I do not use an external tool for administration because when I work with a console I know what commands I execute. If there is a bug in a tool I'm using, things can get messed up. So for people like me it's just a "Never trust anybody" thing ;-)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Not possible] Query Icon & cooperate with clients with query range
    By Y u r i in forum Android
    Replies: 5
    Last Post: September 15th, 2014, 06:46 PM
  2. Query IP, Query Port Binding
    By Molar1 in forum Windows
    Replies: 1
    Last Post: March 13th, 2012, 06:08 PM
  3. Need Query username\pass for query management
    By Mazay in forum Permission System
    Replies: 7
    Last Post: August 7th, 2011, 10:55 PM
  4. Replies: 0
    Last Post: July 24th, 2011, 09:59 PM
  5. Find Query port by Query Command?
    By charlie in forum General Questions
    Replies: 5
    Last Post: March 6th, 2010, 04:12 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •