Skip to content

Commit

Permalink
Add basic page explaining how to host a local-only server (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
GeckoEidechse authored Jul 3, 2024
1 parent a5deecd commit bfcaf44
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
* [Best practices](hosting-a-server-with-northstar/dedicated-server/best-practices.md)
* [Hosting on Windows](hosting-a-server-with-northstar/dedicated-server/hosting-on-windows.md)
* [Hosting on Linux](hosting-a-server-with-northstar/dedicated-server/hosting-on-linux.md)
* [Hosting a Local-only Server](hosting-a-server-with-northstar/local-only-server.md)
* [Server settings](hosting-a-server-with-northstar/server-settings/README.md)
* [Startup arguments](hosting-a-server-with-northstar/server-settings/startup-args.md)
* [ConVars](hosting-a-server-with-northstar/server-settings/convars.md)
Expand Down
16 changes: 16 additions & 0 deletions docs/hosting-a-server-with-northstar/local-only-server.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Hosting a Local-Only Server

If you just want to host server (listen or dedicated) for people in your local network (as in computer network, not the in-game Networks system), you can simply not enable port-forwarding and set `ns_auth_allow_insecure` to `1` in the `autoexec_ns_server.cfg`.

This way players can connect to your server directly by using the `connect` command with the local IP of your server, e.g. `connect 192.168.420.500` (replace with actual local IP of your server).


{% hint style="info" %}
Loadouts are saved by the server and connecting to a server directly using `connect` means that the loadout is not loaded from masterserver. This means your loadouts will be reset while playing on said server.

You should see your saved loadouts again when leaving the local-only server
{% endhint %}

{% hint style="info" %}
Even with local-only servers you still need an internet connection to authenticate your account and game ownership with masterserver.
{% endhint %}

0 comments on commit bfcaf44

Please sign in to comment.