How to host a server
- justafish
- Posts: 58
- Joined: Sun Dec 18, 2016 7:49 pm
- Location: Sweden
- Player profile: https://ddnet.tw/players/Just%20a%20fish/
How to host a server
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?
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.
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 Folder:
Feel free to PM with any questions :)
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
Example Server BrowserShow
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
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
Example FolderShow
Smoking kills. If you're killed, you've lost a very important part of your life.
- Cellegen
- Posts: 1140
- Joined: Sun Nov 06, 2016 10:39 pm
- Location: Germany
- Player profile: https://ddnet.tw/players/Cellegen/
- Mapper profile: https://ddnet.tw/mappers/Cellegen/
- Clan: RestInHell.
- Website: https://skins.tw/
- Discord: Cellegen | RiH#5501
Re: [Shortguide] How to host a server
Very helpful information its need to stick it in the helping section.
RestInHell. - Team Leader
Re: How to host a server
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
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
- justafish
- Posts: 58
- Joined: Sun Dec 18, 2016 7:49 pm
- Location: Sweden
- Player profile: https://ddnet.tw/players/Just%20a%20fish/
Re: How to host a server
Thank you :) Agree!Cellegen wrote:Very helpful information its need to stick it in the helping section.
Hahaha no problem! :D Yeah my friends are a super secret x)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
Smoking kills. If you're killed, you've lost a very important part of your life.
-
- Posts: 6
- Joined: Sun Mar 12, 2017 8:40 pm
- Player profile: https://ddnet.tw/players/ThumpaDaBumpa
Re: How to host a server
I did all the steps but it will not let me find it on the online tab. Every single step!
- Cellegen
- Posts: 1140
- Joined: Sun Nov 06, 2016 10:39 pm
- Location: Germany
- Player profile: https://ddnet.tw/players/Cellegen/
- Mapper profile: https://ddnet.tw/mappers/Cellegen/
- Clan: RestInHell.
- Website: https://skins.tw/
- Discord: Cellegen | RiH#5501
Re: How to host a server
-Has people playing OFF in Teeworlds,
-Check out "autoexec_server.cfg",
-Check out also "DDNet-Server.exe" if it isn't starts.
-Check out "autoexec_server.cfg",
-Check out also "DDNet-Server.exe" if it isn't starts.
RestInHell. - Team Leader
-
- Posts: 18
- Joined: Mon Sep 21, 2020 3:48 pm
Re: How to host a server
i have no clew how i find my local IP and my router.
- DumbCat
- Posts: 14
- Joined: Sat May 15, 2021 9:57 pm
- Player profile: https://ddnet.tw/players/DumbCat
- Clan: [DMG]
- Website: https://www.youtube.com/channel/UCfpvtyeHpgjRJtR8SofYObg
Re: How to host a server
-Has people playing OFF in Teeworlds,
-Check out "autoexec_server.cfg",
-Check out also "DDNet-Server.exe" if it isn't start
-or press run server in main menu
-Check out "autoexec_server.cfg",
-Check out also "DDNet-Server.exe" if it isn't start
-or press run server in main menu
(quiting the game, only activ on forums for now)
-
- Posts: 10
- Joined: Sat Jul 17, 2021 1:15 pm
- Player profile: https://ddnet.tw/players/jozcraft/
Re: How to host a server
Hi! I did everything normally as in the tutorial to this 6 am trying and I found some strange things, first that the autoexec_server.cfg file you mentioned to edit it in mine didn't have it, so I created a .cfg file named myServerConfig and I pasted it into the ddnet folder normally... so I managed to put settings like the "sv_register 1" you mentioned but when executable it gave me 2 errors as shown in the photo. I believe it's a configuration on my router that I did wrong please someone Would you help me?
image:
image:
- Attachments
-
- erro.PNG (30.16 KiB) Viewed 17802 times
Last edited by jozcraft on Tue Jul 20, 2021 1:05 am, edited 1 time in total.
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: How to host a server
Hi jozcraft. The file is now called autoexec_server.cfg and in data directory, but myServerConfig should also work. Indeed, this is a problem with your router or maybe your ISP is not allowing port forwarding at all. You can try opening your router's web page and configuring it to forward port 8303 udp. You can google for your specific router model for how to do that.jozcraft wrote: ↑Tue Jul 20, 2021 12:58 am Hi! I did everything normally as in the tutorial to this 6 am trying and I found some strange things, first that the autoexec_server.cfg file you mentioned to edit it in mine didn't have it, so I created a .cfg file named myServerConfig and I pasted it into the ddnet folder normally... so I managed to put settings like the "sv_register 1" you mentioned but when executable it gave me 2 errors as shown in the photo. I believe it's a configuration on my router that I did wrong please someone Would you help me?
Who is online
Users browsing this forum: Ahrefs [Bot] and 5 guests