How to host a server
Posted: 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?
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