From 38cc7634e0efcaf35eeb100d3db335f312a68690 Mon Sep 17 00:00:00 2001 From: Julgers <141361545+Julgers@users.noreply.github.com> Date: Mon, 14 Aug 2023 13:49:11 +0200 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2abdb5b..b61079c 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ The easiest way to get started with all of this, is to use `Program.cs` and add This project can either be built by using [`dotnet build`](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-build) on the command-line or by using the run / build options inside your preferred IDE. -### Connecting to the gameserver +### Connecting to the gameserver(s) -After writing and compiling this project. You will want to host it somewhere. This could be on the same server that the gameserver runs on, or somewhere completely different. We do recommend to keep the latency to the gameserver minimal for smoother and faster communication. The same `ServerListener` can be used for *multiple* gameservers at the same time. You can specify the API server (address & port) in the launch options of the gameserver. +After writing and compiling this project. You will want to host it somewhere. This could be on the same server that the gameservers run on, or somewhere completely different. We do recommend to keep the latency to the gameserver minimal for smoother and faster communication. The same `ServerListener` can be used for *multiple* gameservers at the same time. You can specify the API server (address & port) in the launch options of the gameserver. + +The gameserver connects to the API with the launch argument `"-apiendpoint=:"`, where `port` is the port that the listener listens on and the `IP` is the IP of the API server.