From: Tobias <tobias.boesch@googlemail.com>
Date: Thu, 9 Nov 2023 17:10:06 +0000 (+0000)
Subject: Added docs for running a client and a dedicated server on same machine
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=53bf3daf8cbbb0509380a44e8bf6760f34b3c837;p=xonotic%2Fxonotic.git

Added docs for running a client and a dedicated server on same machine
---

diff --git a/server/readme.txt b/server/readme.txt
index 7c71d617..5bc02801 100644
--- a/server/readme.txt
+++ b/server/readme.txt
@@ -19,6 +19,13 @@ in your server.cfg for the right port number, default is 26000) to the
 computer running your server.  How to do this does depend on your
 computer and network setup.
 
+If you want to run a dedicated server and a client on the the same
+machine, they need to have session ids that differ from each other.
+To start the server with a custom session id (different from the
+default id that the client uses) run it with the argument "-sessionid"
+followed by a session id of your choice.
+Example: server_linux.sh -sessionid server
+
 If you plan to install custom maps on your server you should read the
 file Xonotic/Docs/mapdownload.txt to learn how to setup automatic map
 downloads.