1

Topic: [SERVER] teeSrv for servers management

Hi admin folks smile

I just pushed teeSrv on github. It's a suite of shellscripts that enable you to manage multiple Teeworlds servers easily.

I did a couple of tests and it looks like it works great, but I'm not completely satisfied of it. Here's a list of features that I shall implement:

* Autodetect available port, and use it in server.cfg (instead of reading user input) ;
* Remote Console

Check me if you have questions, bug reports or feature requests. I hope that teeSrv will be useful!

Arch Linux user
##hippie irc.freenode.net

2

Re: [SERVER] teeSrv for servers management

What do you mean by "Remote Console" ? This already exists in the pure teeworlds... doesn't it ?

Not Luck, Just Magic.

3

Re: [SERVER] teeSrv for servers management

Dune wrote:

What do you mean by "Remote Console" ? This already exists in the pure teeworlds... doesn't it ?

I want a rcon CLI in teeSrv. I don't know how Teeworlds' rcon works though. Is there already something that can exchange commands and answers with a server?

Arch Linux user
##hippie irc.freenode.net

4

Re: [SERVER] teeSrv for servers management

This is not included in the official server. However there is a patch that enables the possibilty to connect to the server via telnet and use rcon commands that way. You can find it here.

5

Re: [SERVER] teeSrv for servers management

I just deployed a few games on my server. teeSrv works properly smile.
I'll give a shot to the patch you gave me, thanks!

Arch Linux user
##hippie irc.freenode.net

6

Re: [SERVER] teeSrv for servers management

ghost91 wrote:

This is not included in the official server. However there is a patch that enables the possibilty to connect to the server via telnet and use rcon commands that way. You can find it here.

Wholy wrong ! o_O
When you're connected to a server, press F2, or use "toggle_remote_console" command in F1 to use the rcon panel of Teeworlds.
You will need to login with a password and then will be able to use plenty of commands, as number of clients on the server, password, forcing people to change team/ spectate, kick them etc etc...

Not Luck, Just Magic.

7

Re: [SERVER] teeSrv for servers management

@ Dune: Please read before posting crap. Of course it is possible to access the cron while connected to the server as a client. But this is not what this is all about. AddiKT1ve wants to create a "program" that can manage servers from outside(meaning starting, stopping and so on). And one feature he'd like to add is rcon access. Thus he needs the possibilty to send rcon commands from the "outside" and not from the original teeworlds client. As far as I know the only possibility for this is using the patch i linked to before(or of course write your own modifiaction to the teeworlds server).

8

Re: [SERVER] teeSrv for servers management

There is another possibility - to write a custom client which will be connected 24/7 to your server and it will act as a pipe between the rcon and you. This solution comes at a cost of having one slot less for players, but it keeps the server unmodded.

We will meet again when the flowers spread their glorious scent of victory and the birds sing us the melody of justice...

9

Re: [SERVER] teeSrv for servers management

torch wrote:

There is another possibility - to write a custom client which will be connected 24/7 to your server and it will act as a pipe between the rcon and you. This solution comes at a cost of having one slot less for players, but it keeps the server unmodded.

I bet I can't write such a bot, but it looks more elegant than patching teeworlds_srv. However, Teeworlds' main developers may have planned to patch it? Is there a Trac or roadmap something?

Arch Linux user
##hippie irc.freenode.net

10 (edited by ghost 2010-02-14 16:52:25)

Re: [SERVER] teeSrv for servers management

There is: http://teeworlds.com/trac/teeworlds/

But it's quite a mess at the moment, it needs to be updated, there are a lot of things that are either outdated, or simply wrong. for example 0.6.0_lua is suspended right now, it is not the branch being worked on. The branch that is worked on atm is refactor(but as you see there are no tickets in it, which is obviously not correct...). But as far as I know, this feature has been thought about, and it will probably included in future releases:

matricks wrote:

I've had this idea for a while but not done it because lack of time... as usual....

Maybe you can ask one of the developers, that are active at the moment, if they consider implementing it. Talk to Oy or LordSkelethom on IRC on channel #teeworlds-dev at quakenet.