Getting the bot on the server.

Avatar

By Ikatzuki 28 Jul 2016 01:40

Member · 3 comments

Hey guys so i have been a "gaming community" owner for some months now and we are reaching 200 members in our steam group. I've been setting up a TS3 server for the community and i thought i might aswell get Sprummlbot in there since the features im looking for are all included.

So basically im quite new to this stuff.
Heres what i've done so far.
I have followed the instructions guide and i have setup the Sprummlbot. When i load the bot i get this in the console: fbe98a0481c87e35cf30042070db0eee.png

So everything seems to be working fine so far yeah?

The problem is neither the webinterface works nor does the bot even connect to the server. Im not really sure how this "query" client stuff works so idk if theres supposed to be an actual bot in a channel or no?
This leads to 2 of my questions. Regarding the config file.

1: Where do i see my bot's IP so i can put it in the whitelist text in the server files? (Is it the first IP showing in the console?)
2: How do i know the ID for the server since its not self hosted? Should i ask the host itself for a server ID?

Thanks alot 🙂

Last edited by Ikatzuki (28 Jul 2016 01:40)

Avatar

By Stealth_^ 28 Jul 2016 03:15

Member · 55 comments

So it doesn't actually have a client in server (unless you have View ServerQuery clients enabled) but basically what ServerQuery is, is it's a way to run commands on the Teamspeak server that you would usually have to right click on peoples names > server groups> select a server group and so on. I'm not sure what background your Gaming Community is in but it's essentially an RCON client for Teamspeak.

Now, it seems that everything is actually working for you, what I would do just to get started is add your UID/Group ID to the permissions.ini file under a rank you create or one of the base ones, and go into Config.ini and set the following:

#Here you can define the Port for the web interface.
[Webinterface]
#Port for the Webinterface. 0=disabled
port = 9911
#Set the name of the group, for the Web Interface
group = <Rank name in the [ ] in permissions.ini>

[Appearance]
#Nickname for the Bot
nickname = <someName>
#The group for the people who will get sprummlbot messages.
notify-group = <Rank name in the [ ] in permissions.ini>
group = <Rank name in the [ ] in permissions.ini>

Restart the bot and you should receive a message from the bot saying "Sprummlbot Connected!". This is a rough start but it's a start, from here you will have to configure the rest of your permissions and so on.

If this doesn't make any sense at all (I have the feeling it might, I'm kind of horrible at putting things into words sometimes) just post on here and I can help translate my thoughts 🙂

Last edited by Stealth_^ (28 Jul 2016 03:16)

Avatar

By Ikatzuki 28 Jul 2016 16:16

Member · 3 comments
Stealth_^ wrote

So it doesn't actually have a client in server (unless you have View ServerQuery clients enabled) but basically what ServerQuery is, is it's a way to run commands on the Teamspeak server that you would usually have to right click on peoples names > server groups> select a server group and so on. I'm not sure what background your Gaming Community is in but it's essentially an RCON client for Teamspeak.

Now, it seems that everything is actually working for you, what I would do just to get started is add your UID/Group ID to the permissions.ini file under a rank you create or one of the base ones, and go into Config.ini and set the following:

#Here you can define the Port for the web interface.
[Webinterface]
#Port for the Webinterface. 0=disabled
port = 9911
#Set the name of the group, for the Web Interface
group = <Rank name in the [ ] in permissions.ini>

[Appearance]
#Nickname for the Bot
nickname = <someName>
#The group for the people who will get sprummlbot messages.
notify-group = <Rank name in the [ ] in permissions.ini>
group = <Rank name in the [ ] in permissions.ini>

Restart the bot and you should receive a message from the bot saying "Sprummlbot Connected!". This is a rough start but it's a start, from here you will have to configure the rest of your permissions and so on.

If this doesn't make any sense at all (I have the feeling it might, I'm kind of horrible at putting things into words sometimes) just post on here and I can help translate my thoughts 🙂

Thanks a lot for your answer!
I have already done the above steps and put my UID under Admins and set the config up etc.
Yet when i start the bot i do not get any message on teamspeak about the bot being up nor does it go under Current Queries:0 / 35
When i click the teamspeaks server.
The webinterface just brings up a "The site cant be reached" page.

I have yet to find out how i know the bot's ip too? So i can put it in the whitelist file for the server.

Thanks a lot.

Avatar

By Stealth_^ 28 Jul 2016 17:37

Member · 55 comments

So whatever server you're running it off of, that will be it's IP. I believe in your image above it says the IP:

[Internal] Public IP is 80.62.117.173

If that's not it, whatever the Public IP is of the server you're running it off of is going to be the IP. An issue I can think of arising is if you're running the bot off of your own computer, it's obviously connecting, otherwise the bot would fail on "Could not connect!", so I'm not sure.

Are you running it off of your computer? Or the server you're teamspeak is running on, do you have multiple servers running on the same server? If so that could also be another issue. If you could just answer these questions, I think I could help you out.

Your web interface should be at <yourIP>:9911

Last edited by Stealth_^ (28 Jul 2016 18:16)

Avatar

By Ikatzuki 29 Jul 2016 09:23

Member · 3 comments
Stealth_^ wrote

So whatever server you're running it off of, that will be it's IP. I believe in your image above it says the IP:

[Internal] Public IP is 80.62.117.173

If that's not it, whatever the Public IP is of the server you're running it off of is going to be the IP. An issue I can think of arising is if you're running the bot off of your own computer, it's obviously connecting, otherwise the bot would fail on "Could not connect!", so I'm not sure.

Are you running it off of your computer? Or the server you're teamspeak is running on, do you have multiple servers running on the same server? If so that could also be another issue. If you could just answer these questions, I think I could help you out.

Your web interface should be at <yourIP>:9911

Im not running it on my own computer and there is multiple servers running on the same server.
Thanks alot!:)

Avatar

By Stealth_^ 1 Aug 2016 20:14

Member · 55 comments

Can you run the bot and then paste the log of it here?

Avatar

By Liz3 4 Sep 2016 13:39

Member · 9 comments

Hey, to split this up, as Stealth wrote, just send youre complete log in here so we can find out, whats going on exactly.
Is the bot running on the same root/virtual server?
for this its pretty simple to get the bot at least set up.

#Your Sprummlbot need this to connect to your server.
[Connection]
#IP of the teamspeak3 server (NO SRV Records)
ip = localhost
#Port of Query Login (Leave this normal if you dont know it)
port = 10011
#Change this to true if you want to set the flood settings to: FLOOD_COMMANDS: 60 FLOOD_TIME: 15 BAN_TIME: 600
optimize-flood-settings = false

#Here you need to define the server query login, otherwise Sprummlbot won't be able to do his job.
[Login]
#Put the username of ysour server's serveradminquery account
username = serveradmin
#Put the password of your server's serveradminquery account
password = uFNv3tDe
#Put the serverid of your server here (On self hosted servers it is 1
server-id = 1

#Here you can define the Port for the web interface.
[Webinterface]
#Port for the Webinterface. 0=disabled
port = 9911
#Set the name of the group, for the Web Interface
group = Admins

The only thing you need to change is the password of the Query login and of course the "server-id" if you are running multiple instance of teamspeak 3.
For testing: download Putty, change the method to "telnet" type in the ip/or domain you use to connect to the Ts3 Server and of course set the port to 10011.
If you get 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.

The Query stuffs works fine.
Than check the sprummlbot settings, are you allowed to get the messages from the bot?

Regards,
Liz3


16 years old Java Developer and Horse Photographer
Friend of Scrumplex
btw is Liz the name of a Horse
contact on this form if you have questions to me