1

Topic: [SERVER] Complete server config

I thought I'd post my server configs as I think most servers lack of votes, maps and gametypes. Yes I'm looking at you deathmatch server on dm1.

The result is a server with 4 [callvote] gametypes (DM, TDM, CTF and DUEL(1on1)), all the default maps, and of course no map rotation because you can just callvote them.

autoexec.cfg

sv_max_clients 12
sv_name your_server_name
sv_port 8303
sv_rcon_password your_rcon_password
sv_register 1
sv_spamprotection 0
sv_vote_map 1
sv_warmup 10

addvote restart 10
addvote exec dm.cfg
addvote exec ctf.cfg
addvote exec duel.cfg
addvote exec tdm.cfg
addvote "change_map ctf1"
addvote "change_map ctf2"
addvote "change_map ctf3"
addvote "change_map ctf4"
addvote "change_map ctf5"
addvote "change_map dm1"
addvote "change_map dm2"
addvote "change_map dm6"
addvote "change_map dm7"
addvote "change_map dm8"
addvote "change_map dm9"

ctf.cfg

sv_gametype ctf
sv_powerups 1
sv_scorelimit 500
sv_spectator_slots 0
sv_timelimit 0
sv_tournament_mode 0
sv_map_reload 1

dm.cfg

sv_gametype dm
sv_powerups 1
sv_scorelimit 20
sv_spectator_slots 0
sv_timelimit 0
sv_tournament_mode 0
sv_map_reload 1

duel.cfg

sv_gametype tdm
sv_powerups 0
sv_scorelimit 10
sv_spectator_slots 10
sv_timelimit 5
sv_tournament_mode 1
sv_map_reload 1

tdm.cfg

sv_gametype tdm
sv_powerups 1
sv_scorelimit 50
sv_spectator_slots 0
sv_timelimit 0
sv_tournament_mode 0
sv_map_reload 1

I hope this can help some people smile

2

Re: [SERVER] Complete server config

This config is win, I've always wanted the servers to have some customizing options like this smile

Failuree @ Quakenet

3

Re: [SERVER] Complete server config

It dos'nt change the game mode when i try to... is there a special location to put the cfg files at? btw. im running teeworlds on a mac (OS X 10.5.8)

4

Re: [SERVER] Complete server config

Good configuration friend, I congratulate you.

5

Re: [SERVER] Complete server config

Why in my server it is displayed "No such command : addvote" when i launched it (i wrote the same thing) ? Please need answer ^^

6

Re: [SERVER] Complete server config

https://github.com/teeworlds/documentat … ommands.md
https://github.com/teeworlds/documentation

This thread is quite old, so the game code had a few changes since then. Nowadays the command is called "add_vote" instead of addvote

Teeworlds[ friends ] clan
Some YouTube Stuff about Teeworlds

7 (edited by Cedhulk 2016-12-28 01:14:44)

Re: [SERVER] Complete server config

It is the same for "sv_vote_map" and when i write "add_vote" it said "add_vote sr" a thing like that...

someone can translate with the new languages (commands) the posts please ? (sry for double post)


and say me if it works or no

8

Re: [SERVER] Complete server config

There is just one thing to Change: addvote.  The thing that jxsl didn't mention is that addvote now works the way that you have add_vote "description what is visible in the vote screen"  "command that is being run".

For example: add_vote "Gametype: DM" "exec dm.cfg"

Having troubles finding servers in the serverlist? Go to Pastebin (its a referer cause there is daily a new pastebin) and add the lines to your settings.cfg (in %APPDATA%\teeworlds). Then open teeworlds and go to the favorites tab. (Note however, standard teeworlds client can only show 256 favorites, use ddnet instead)