How to host a server

Guides about mapping and everything Teeworlds related.

Post Reply
User avatar
justafish
User
Posts: 58
Joined: Sun Dec 18, 2016 7:49 pm
Location: Sweden
Player profile: Just%20a%20fish

How to host a server

Post by justafish » Thu Apr 06, 2017 5:02 pm

How to host a server
written by justafish

Local:
1. Open the folder where DDNet.exe i located
2. Click on DDNet-Server.exe
3. Tada! A local server is now started that you can find it under "local" in teeworld's server-browser. But how do you get it online?
Example Server RunningShow
Image
Example Server BrowserShow
Image
Online:
1. You need to port-forward in the router. This will enable other people to connect to your server
2. Here you can probably find the router you have and how to port-forward it: https://portforward.com/router.htm (example)
3. There are two important things you need. The local IP of your computer and the port to forward. The default port for teeworld is 8303 and you can find your local IP by clicking here https://www.whatismybrowser.com/detect/ ... ip-address. It should be something like 192.168.x.x
4. Go back to the guide in step 2 and port-forward the port 8303 for your local ip
5. Before you can see your server in the server-browser you need to edit the Configuration (see below) and set "sv_register 1"
6. After you have edit the configuration file in step 5, you should be able to see your server in the server-browser, and you are done! If it isn't listed, go to step 7.
(7.) If it is not listed (very rare) you can try to connect to the server "manually". Give your external ip and port. You can find your external IP here: http://www.whatsmyip.org/ the port you used is still 8303. Now you can give them something like 123.6.128.7:8303. This means "connect to my computer (123.6.128.7) on port (8303). Your friends can write this address in server-browser, see image below.
Example Host Address BarShow
Image
Configuration, how do you name the server? Login to rcon? etc?
1. Open the folder where DDNet.exe i located
2. Edit the file autoexec_server.cfg with some text-editor, like notepad.
3. Keep reading the comments in the file (lines that start with '#') for more information.
Here you can find all the different configurations: https://ddnet.tw/settingscommands/
To Register The Server, make sure "sv_register" is set to 1!
Example Server Register 1Show
Image
Example Folder:
Example FolderShow
Image
Feel free to PM with any questions :)
Smoking kills. If you're killed, you've lost a very important part of your life.

User avatar
Cellegen
User
Posts: 1114
Joined: Sun Nov 06, 2016 10:39 pm
Player profile: Cellegen
Mapper profile: Cellegen
Clan: RestInHell.

Re: [Shortguide] How to host a server

Post by Cellegen » Thu Apr 06, 2017 6:08 pm

Very helpful information its need to stick it in the helping section.
RestInHell. - Team Leader

Index
User
Posts: 1067
Joined: Mon May 05, 2014 7:30 pm
Player profile: ٭ıƞdex'<3
Mapper profile: ٭ıƞdex'<3
Clan: Eagle

Re: How to host a server

Post by Index » Sat Apr 08, 2017 10:38 am

Thanks for this tutorial :3
I added the headline and linked the thread in the tutorials list.
Now I'm just super curious what secret friends you have, so it must be white-censored xdd

User avatar
justafish
User
Posts: 58
Joined: Sun Dec 18, 2016 7:49 pm
Location: Sweden
Player profile: Just%20a%20fish

Re: How to host a server

Post by justafish » Sun Apr 09, 2017 9:05 pm

Cellegen wrote:Very helpful information its need to stick it in the helping section.
Thank you :) Agree!
Index wrote:Thanks for this tutorial :3
I added the headline and linked the thread in the tutorials list.
Now I'm just super curious what secret friends you have, so it must be white-censored xdd
Hahaha no problem! :D Yeah my friends are a super secret x)
Smoking kills. If you're killed, you've lost a very important part of your life.

ThumpaDaBumpa
User
Posts: 6
Joined: Sun Mar 12, 2017 8:40 pm
Player profile: ThumpaDaBumpa

Re: How to host a server

Post by ThumpaDaBumpa » Mon Jun 05, 2017 7:16 pm

I did all the steps but it will not let me find it on the online tab. Every single step!

User avatar
Cellegen
User
Posts: 1114
Joined: Sun Nov 06, 2016 10:39 pm
Player profile: Cellegen
Mapper profile: Cellegen
Clan: RestInHell.

Re: How to host a server

Post by Cellegen » Mon Jun 05, 2017 8:30 pm

-Has people playing OFF in Teeworlds,
-Check out "autoexec_server.cfg",
-Check out also "DDNet-Server.exe" if it isn't starts.
RestInHell. - Team Leader

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest