News

Create a server
clockWrote by Poil | clock2008-03-26 21:46:22
Prerequisites

Teeworlds must be installed.

Create a configuration file

# Create a new file "server_default.cfg"
# Move it into you installation dir for Windows or into ~/.teeworlds/ for Linux
# For a Deathmatch server, Insert this text

sv_name Name of the server
password thePassWord
sv_rcon_password AnRconPasswd
sv_port 8303
sv_gametype dm
sv_warmup 10
sv_map dm1
sv_maprotation dm1 dm2 dm6
sv_max_clients 8
sv_scorelimit 20
sv_tournament_mode 0
sv_motd Welcome !
sv_powerups 1
sv_timelimit 0
sv_spectator_slots 0

# ( For each line, goto this : page )

Launch the server ( for Linux )

# Check your firewall, it must accept incoming connection on the port 8303
# Goto in the game dir, example :

$ cd ~/games/teeworlds/

# Launch server and give the configuration path

$ ./teeworlds_srv -f ~/.teeworlds/server_default.cfg

# You now must see your server in the server list.
# Tips : You can run your server with the nohup command or in a screen with screen command !

Launch the server ( for Windows )

# Check your firewall, it must accept incoming connection on the port 8303
# Goto in the game dir, example :
# Create a shortcut on teeworlds_srv.exe files in the same dir
# Go into the link properties
# Add a line at the end of the target input :

-f "c:/games/teeworlds/server_default.cfg"

# It must be something like this :

"c:/games/teeworlds/teeworlds_srv.exe" -f "c:/games/teeworlds/server_default.cfg"

# Save your modification

Comments

 
Problems
clockWrote by Snooooopy | clock2008-09-27 13:19:52
Hi When I tried to creat the shortcut Windows tell me that is a invalid path.
the game is on my Desktop Someone see an error in my path ?
"C:UsersSnoopyDesktopteeworlds-0.4.3-win32teeworlds_srv.exe"-f"C:UsersSnoopyDesktopteeworlds-0.4.3-win32server_default.cfg"

thanks
 
Développé par Poil - Graphismes de DarkDaV - Icônes sous licence Creative Commons (famfam, nuovo ...)
Durée de génération : 0.34056401252747 secondes