From bfcaf444f6c4636f97a4b97640f6eb6d2b808c22 Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Wed, 3 Jul 2024 15:15:13 +0200 Subject: [PATCH] Add basic page explaining how to host a local-only server (#287) --- docs/SUMMARY.md | 1 + .../local-only-server.md | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 docs/hosting-a-server-with-northstar/local-only-server.md diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index 0492653d..3c25df8a 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -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) diff --git a/docs/hosting-a-server-with-northstar/local-only-server.md b/docs/hosting-a-server-with-northstar/local-only-server.md new file mode 100644 index 00000000..74ba815a --- /dev/null +++ b/docs/hosting-a-server-with-northstar/local-only-server.md @@ -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 %}