diff options
-rw-r--r-- | SUMMARY.md | 3 | ||||
-rw-r--r-- | hosting-a-server-with-northstar/basic-listen-server.md (renamed from hosting-a-server-with-northstar/hosting-a-server.md) | 21 | ||||
-rw-r--r-- | hosting-a-server-with-northstar/dedicated-server.md | 16 |
3 files changed, 23 insertions, 17 deletions
@@ -17,7 +17,8 @@ ## Hosting a server with Northstar -* [Hosting a Server](hosting-a-server-with-northstar/hosting-a-server.md) +* [Hosting a Basic Listen Server](hosting-a-server-with-northstar/basic-listen-server.md) +* [Hosting a Dedicated Server](hosting-a-server-with-northstar/dedicated-server.md) ## FAQ diff --git a/hosting-a-server-with-northstar/hosting-a-server.md b/hosting-a-server-with-northstar/basic-listen-server.md index eaccf7d..6e5ce6a 100644 --- a/hosting-a-server-with-northstar/hosting-a-server.md +++ b/hosting-a-server-with-northstar/basic-listen-server.md @@ -1,24 +1,13 @@ -# Hosting a server +# Hosting a basic Listen Server -## Hosting a Listen Server +## Instructions To host a listen server on Northstar, go to the lobby and press the `Private Match` button to begin a private match. -While this does allow you to host a server, other people won't be able to join it, so you'll need to port forward 2 ports to allow other people to join. -The ports you'll need to forward are 37015-37020 UDP, and 8081 TCP by default, if this works as it should, this should result in your server being displayed on the server browser, and other clients being able to connect to it. +While this does allow you to host a server, other people won't be able to join it, so you'll need to port forward 2 ports to allow other people to join.\ +The ports you'll need to forward are 37015-37020 UDP, and 8081 TCP by default, if this works as it should, this should result in your server being displayed on the server browser, and other clients being able to connect to it.\ ![screenshot select private match](https://raw.githubusercontent.com/R2Northstar/Northstar/main/wiki/lobbyprivatematch.png) -## Hosting a Dedicated Server - -Dedicated servers allow you to host a Northstar server without having to use a full client, making them more lightweight and easier to host for longer periods of time. Dedicated servers are still in development for Northstar, so while they do work, expect some bugs and general jank. -To start a dedicated server on Northstar, launch NorthstarLauncher.exe with the argument `-dedicated`, this can be done manually, but releases also provide the batch file `r2ds.bat`, which will also do this. -When using a dedicated server, arguments are read from `ns_startup_args_dedi.txt`, rather than `ns_startup_args.txt`. - -**Dedicated Server Caveats** -At the moment, dedicated servers still require DirectX 11 to work, which typically requires a physical GPU, though they use almost no GPU processing power while in use, this can be an issue especially on GPU-less setups, so the launch argument `-softwared3d11` can be used to force DirectX to run in software mode. -While this is absolutely not ideal, it's the best solution for truely headless dedicated servers at the moment, and surprisingly hardly uses any CPU time, though it can use roughly up to 1GB of RAM. -Regarding RAM usage, dedicated servers also use significant amounts of RAM at the moment, often requiring 1.5-2GB, though I expect this to lower as development continues. - -**Server Configuration** +## Server Configuration** Whether you're running a listen or dedicated server, you'll generally want to mess with the configuration at least a bit. While I do think the default configuration settings are pretty ok, being able to change your server's name or password, or increasing your server's tickrate is often something you'll want to do. Server configuration can be modified in the file `R2Northstar/mods/Northstar.CustomServers/mod/cfg/autoexec_ns_server.cfg`, which will be executed on server startup. Below are a series of variables and commands you can use for server configuration: diff --git a/hosting-a-server-with-northstar/dedicated-server.md b/hosting-a-server-with-northstar/dedicated-server.md new file mode 100644 index 0000000..82d054e --- /dev/null +++ b/hosting-a-server-with-northstar/dedicated-server.md @@ -0,0 +1,16 @@ +# Hosting a Dedicated Server + +## Setup + +Dedicated servers allow you to host a Northstar server without having to use a full client, making them more lightweight and easier to host for longer periods of time. Dedicated servers are still in development for Northstar, so while they do work, expect some bugs and general jank.\ +To start a dedicated server on Northstar, launch NorthstarLauncher.exe with the argument `-dedicated`, this can be done manually, but releases also provide the batch file `r2ds.bat`, which will also do this.\ +When using a dedicated server, arguments are read from `ns_startup_args_dedi.txt`, rather than `ns_startup_args.txt`. + +## Dedicated Server Caveats +At the moment, dedicated servers still require DirectX 11 to work, which typically requires a physical GPU, though they use almost no GPU processing power while in use, this can be an issue especially on GPU-less setups, so the launch argument `-softwared3d11` can be used to force DirectX to run in software mode.\ +While this is absolutely not ideal, it's the best solution for truely headless dedicated servers at the moment, and surprisingly hardly uses any CPU time, though it can use roughly up to 1GB of RAM.\ +Regarding RAM usage, dedicated servers also use significant amounts of RAM at the moment, often requiring 1.5-2GB, though I expect this to lower as development continues. + +## Hosting on Linux + +> **TODO:** If you got experience with hosting a dedicated server on Linux as well as setting up a dedicated server in container environments please extend this section. |