Explorar o código

added headless-client server-support

Added server-support for headless clients. If this is not specified, no headless-client will be able to connect.
Phil %!s(int64=10) %!d(string=hai) anos
pai
achega
3c0c237955
Modificáronse 1 ficheiros con 10 adicións e 1 borrados
  1. 10 1
      Arma3/cfg/lgsm-default.server.cfg

+ 10 - 1
Arma3/cfg/lgsm-default.server.cfg

@@ -119,4 +119,13 @@ doubleIdDetected = "";					//
 // ban = ban (_this select 0)
 onUnsignedData = "kick (_this select 0)";
 onHackedData = 	"kick (_this select 0)";
-onDifferentData = "";
+onDifferentData = "";
+
+// HEADLESS CLIENT SUPPORT
+// specify ip-adresses of allowed headless clients
+// if more than one:
+// headlessClients[]={"127.0.0.1", "192.168.0.1"};
+// localClient[]={"127.0.0.1", "192.168.0.1"};
+headlessClients[]={"127.0.0.1"};
+localClient[]={"127.0.0.1"};
+battleyeLicense=1;