From bdc047319a4bb2201f6b6c55bfd9d67f5d3b6346 Mon Sep 17 00:00:00 2001 From: ich777 Date: Wed, 24 Apr 2019 15:29:44 +0200 Subject: [PATCH 01/27] Update Dockerfile --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 39c8b58..17d258a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,11 +21,14 @@ ENV PASSWRD="" RUN mkdir $DATA_DIR RUN mkdir $STEAMCMD_DIR RUN mkdir $SERVER_DIR +RUN useradd -d $DATA_DIR -s /bin/bash --uid $UID --gid $GID steam +RUN chown -R steam $DATA_DIR RUN ulimit -n 2048 ADD /scripts/ /opt/scripts/ RUN chmod -R 770 /opt/scripts/ +RUN chown -R steam /opt/scripts #Server Start ENTRYPOINT ["/opt/scripts/start-server.sh"] From 6f90dac62d2f860b62454756e4cda1dd946a370f Mon Sep 17 00:00:00 2001 From: ich777 Date: Wed, 24 Apr 2019 15:31:36 +0200 Subject: [PATCH 02/27] Update start-server.sh --- scripts/start-server.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/start-server.sh b/scripts/start-server.sh index 0e32adf..668560c 100644 --- a/scripts/start-server.sh +++ b/scripts/start-server.sh @@ -31,8 +31,11 @@ else +quit fi +echo "---Prepare Server---" +chmod -R 770 ${DATA_DIR} + echo "---Start Server---" -${SERVER_DIR}/arma3server ${GAME_PARAMS} -port=${GAME_PORT} +${SERVER_DIR}/arma3server ${GAME_PARAMS} echo "---WAIT---" sleep infinity From df109e9f084cdf5b67760ac1f83ec6ac9f8c755a Mon Sep 17 00:00:00 2001 From: ich777 Date: Wed, 24 Apr 2019 15:33:34 +0200 Subject: [PATCH 03/27] Update start-server.sh --- scripts/start-server.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/start-server.sh b/scripts/start-server.sh index 668560c..cc9e435 100644 --- a/scripts/start-server.sh +++ b/scripts/start-server.sh @@ -32,6 +32,7 @@ else fi echo "---Prepare Server---" +mkdir -p ~/".local/share/Arma 3" && mkdir -p ~/".local/share/Arma 3 - Other Profiles" chmod -R 770 ${DATA_DIR} echo "---Start Server---" From 9aa63ed01375b23abd5ee73c950f349857daf0b8 Mon Sep 17 00:00:00 2001 From: ich777 Date: Wed, 24 Apr 2019 16:21:17 +0200 Subject: [PATCH 04/27] Update Dockerfile --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 17d258a..631cf56 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,5 +30,7 @@ ADD /scripts/ /opt/scripts/ RUN chmod -R 770 /opt/scripts/ RUN chown -R steam /opt/scripts +USER steam + #Server Start ENTRYPOINT ["/opt/scripts/start-server.sh"] From 4e34961f8aeaa31a3f494b31d140f945f9395440 Mon Sep 17 00:00:00 2001 From: ich777 Date: Wed, 24 Apr 2019 17:29:19 +0200 Subject: [PATCH 05/27] Update start-server.sh --- scripts/start-server.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/start-server.sh b/scripts/start-server.sh index cc9e435..98c5919 100644 --- a/scripts/start-server.sh +++ b/scripts/start-server.sh @@ -36,7 +36,5 @@ mkdir -p ~/".local/share/Arma 3" && mkdir -p ~/".local/share/Arma 3 - Other Prof chmod -R 770 ${DATA_DIR} echo "---Start Server---" -${SERVER_DIR}/arma3server ${GAME_PARAMS} - -echo "---WAIT---" -sleep infinity +cd ${SERVER_DIR} +./arma3server ${GAME_PARAMS} From d4c4752c4cd5dd52e53d0ba3128a3b62b51bfaf2 Mon Sep 17 00:00:00 2001 From: ich777 Date: Wed, 24 Apr 2019 17:42:32 +0200 Subject: [PATCH 06/27] Update start-server.sh --- scripts/start-server.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/start-server.sh b/scripts/start-server.sh index 98c5919..91d9f26 100644 --- a/scripts/start-server.sh +++ b/scripts/start-server.sh @@ -32,7 +32,6 @@ else fi echo "---Prepare Server---" -mkdir -p ~/".local/share/Arma 3" && mkdir -p ~/".local/share/Arma 3 - Other Profiles" chmod -R 770 ${DATA_DIR} echo "---Start Server---" From 8f6c5d7234675616d930487a795cb22b1f73f00e Mon Sep 17 00:00:00 2001 From: ich777 Date: Wed, 24 Apr 2019 18:25:54 +0200 Subject: [PATCH 07/27] Update Dockerfile --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 631cf56..08f4ab0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,6 +22,7 @@ RUN mkdir $DATA_DIR RUN mkdir $STEAMCMD_DIR RUN mkdir $SERVER_DIR RUN useradd -d $DATA_DIR -s /bin/bash --uid $UID --gid $GID steam +RUN mkdir -p ~/".local/share/Arma 3" && mkdir -p ~/".local/share/Arma 3 - Other Profiles" RUN chown -R steam $DATA_DIR RUN ulimit -n 2048 From 4d5762d5664a97165290c1e1c6dfde22b1e2507d Mon Sep 17 00:00:00 2001 From: ich777 Date: Wed, 24 Apr 2019 18:43:41 +0200 Subject: [PATCH 08/27] Update Dockerfile --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 08f4ab0..e7e0185 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,6 +29,7 @@ RUN ulimit -n 2048 ADD /scripts/ /opt/scripts/ RUN chmod -R 770 /opt/scripts/ +RUN chmod -R 770 ~/.local/share/ RUN chown -R steam /opt/scripts USER steam From dc1b5fb645eb790a3677722c71a9ea0b7e33d683 Mon Sep 17 00:00:00 2001 From: ich777 Date: Wed, 24 Apr 2019 18:45:13 +0200 Subject: [PATCH 09/27] Update Dockerfile --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e7e0185..08f4ab0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,6 @@ RUN ulimit -n 2048 ADD /scripts/ /opt/scripts/ RUN chmod -R 770 /opt/scripts/ -RUN chmod -R 770 ~/.local/share/ RUN chown -R steam /opt/scripts USER steam From 30cd360497933dfd8b1e775ed09f3f5de226300d Mon Sep 17 00:00:00 2001 From: ich777 Date: Wed, 24 Apr 2019 18:45:37 +0200 Subject: [PATCH 10/27] Update start-server.sh --- scripts/start-server.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/start-server.sh b/scripts/start-server.sh index 91d9f26..6887072 100644 --- a/scripts/start-server.sh +++ b/scripts/start-server.sh @@ -33,6 +33,7 @@ fi echo "---Prepare Server---" chmod -R 770 ${DATA_DIR} +chmod -R 770 ~/.local/share/ echo "---Start Server---" cd ${SERVER_DIR} From 8010e54562f2b16ce7da6f6dd062cc9ec1cdc015 Mon Sep 17 00:00:00 2001 From: ich777 Date: Wed, 24 Apr 2019 18:46:29 +0200 Subject: [PATCH 11/27] Update Dockerfile --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 08f4ab0..64bd8d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,6 +29,8 @@ RUN ulimit -n 2048 ADD /scripts/ /opt/scripts/ RUN chmod -R 770 /opt/scripts/ +RUN chmod -R 770 ~/.local/share/ +RUN chown -R steam ~/.local/share/ RUN chown -R steam /opt/scripts USER steam From c180dd6d95f86e6258989aae2cec3008661afdbb Mon Sep 17 00:00:00 2001 From: ich777 Date: Wed, 24 Apr 2019 18:46:37 +0200 Subject: [PATCH 12/27] Update start-server.sh --- scripts/start-server.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/start-server.sh b/scripts/start-server.sh index 6887072..91d9f26 100644 --- a/scripts/start-server.sh +++ b/scripts/start-server.sh @@ -33,7 +33,6 @@ fi echo "---Prepare Server---" chmod -R 770 ${DATA_DIR} -chmod -R 770 ~/.local/share/ echo "---Start Server---" cd ${SERVER_DIR} From 521822f32d973beaab7e82c5418e80635bb206ad Mon Sep 17 00:00:00 2001 From: ich777 Date: Sun, 28 Apr 2019 11:21:40 +0200 Subject: [PATCH 13/27] Update start-server.sh --- scripts/start-server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/start-server.sh b/scripts/start-server.sh index 91d9f26..ee48162 100644 --- a/scripts/start-server.sh +++ b/scripts/start-server.sh @@ -36,4 +36,4 @@ chmod -R 770 ${DATA_DIR} echo "---Start Server---" cd ${SERVER_DIR} -./arma3server ${GAME_PARAMS} +./arma3server ${game_params} From a5422adf4c5e30812970f3ed5b6077b2958687ba Mon Sep 17 00:00:00 2001 From: ich777 Date: Sun, 28 Apr 2019 11:22:02 +0200 Subject: [PATCH 14/27] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 64bd8d1..f73e0f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ ENV STEAMCMD_DIR="${DATA_DIR}/steamcmd" ENV SERVER_DIR="${DATA_DIR}/serverfiles" ENV GAME_ID="template" ENV GAME_NAME="template" -ENV GAME_PARAMS="template" +ENV game_params="template" ENV GAME_PORT=27015 ENV VALIDATE="" ENV UID=99 From cfbc29058dcbc47d536c08edaa8fd80f2a5aa3f5 Mon Sep 17 00:00:00 2001 From: ich777 Date: Sun, 28 Apr 2019 11:36:20 +0200 Subject: [PATCH 15/27] Update start-server.sh --- scripts/start-server.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/start-server.sh b/scripts/start-server.sh index ee48162..6af51e5 100644 --- a/scripts/start-server.sh +++ b/scripts/start-server.sh @@ -34,6 +34,8 @@ fi echo "---Prepare Server---" chmod -R 770 ${DATA_DIR} +sleep-infinity + echo "---Start Server---" cd ${SERVER_DIR} ./arma3server ${game_params} From 5c468354669ded00083c84c474639f59c9a26805 Mon Sep 17 00:00:00 2001 From: ich777 Date: Sun, 28 Apr 2019 11:43:27 +0200 Subject: [PATCH 16/27] Update start-server.sh --- scripts/start-server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/start-server.sh b/scripts/start-server.sh index 6af51e5..6a20e8d 100644 --- a/scripts/start-server.sh +++ b/scripts/start-server.sh @@ -34,7 +34,7 @@ fi echo "---Prepare Server---" chmod -R 770 ${DATA_DIR} -sleep-infinity +sleep infinity echo "---Start Server---" cd ${SERVER_DIR} From 641ad608c8b31a7f5494c4c771a3add6386468b8 Mon Sep 17 00:00:00 2001 From: ich777 Date: Sun, 28 Apr 2019 12:03:12 +0200 Subject: [PATCH 17/27] Update Dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f73e0f0..a3493d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,9 @@ FROM ubuntu MAINTAINER ich777 +RUN dpkg --add-architecture i386 RUN apt-get update -RUN apt-get -y install lib32gcc1 libc6-i386 wget language-pack-en lib32stdc++6 +RUN apt-get -y install wget language-pack-en lib32z1 libncurses5:i386 libbz2-1.0:i386 lib32gcc1 lib32stdc++6 libtinfo5:i386 libcurl3-gnutls:i386 ENV DATA_DIR="/serverdata" ENV STEAMCMD_DIR="${DATA_DIR}/steamcmd" From 390fbde8a524710c1a6725d5763a37b86b09571e Mon Sep 17 00:00:00 2001 From: ich777 Date: Sun, 28 Apr 2019 12:35:03 +0200 Subject: [PATCH 18/27] Update Dockerfile --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a3493d3..681cd4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,9 +2,8 @@ FROM ubuntu MAINTAINER ich777 -RUN dpkg --add-architecture i386 RUN apt-get update -RUN apt-get -y install wget language-pack-en lib32z1 libncurses5:i386 libbz2-1.0:i386 lib32gcc1 lib32stdc++6 libtinfo5:i386 libcurl3-gnutls:i386 +RUN apt-get -y install wget ENV DATA_DIR="/serverdata" ENV STEAMCMD_DIR="${DATA_DIR}/steamcmd" From 692669aacf769f7bd56e263ac392086cbd63f1b4 Mon Sep 17 00:00:00 2001 From: ich777 Date: Sun, 28 Apr 2019 12:50:27 +0200 Subject: [PATCH 19/27] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 681cd4f..e9abd30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ ENV STEAMCMD_DIR="${DATA_DIR}/steamcmd" ENV SERVER_DIR="${DATA_DIR}/serverfiles" ENV GAME_ID="template" ENV GAME_NAME="template" -ENV game_params="template" +ENV GAME_PARAMS="template" ENV GAME_PORT=27015 ENV VALIDATE="" ENV UID=99 From b803946bf75501afd4454ce37184c60c3b9965fe Mon Sep 17 00:00:00 2001 From: ich777 Date: Sun, 28 Apr 2019 12:50:51 +0200 Subject: [PATCH 20/27] Update start-server.sh --- scripts/start-server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/start-server.sh b/scripts/start-server.sh index 6a20e8d..a842faa 100644 --- a/scripts/start-server.sh +++ b/scripts/start-server.sh @@ -38,4 +38,4 @@ sleep infinity echo "---Start Server---" cd ${SERVER_DIR} -./arma3server ${game_params} +./arma3server ${GAME_PARAMS} From e449c2d1bb0d16b2d7d93d950ea0d1952bd1bb87 Mon Sep 17 00:00:00 2001 From: ich777 Date: Sun, 28 Apr 2019 13:35:07 +0200 Subject: [PATCH 21/27] Update Dockerfile --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e9abd30..46eb907 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,12 @@ FROM ubuntu MAINTAINER ich777 RUN apt-get update -RUN apt-get -y install wget +RUN apt-get -y install wget lib32gcc1 lib32stdc++6 ENV DATA_DIR="/serverdata" ENV STEAMCMD_DIR="${DATA_DIR}/steamcmd" ENV SERVER_DIR="${DATA_DIR}/serverfiles" +ENV PROFILES_DIR="${DATA_DIR}/.local/share" ENV GAME_ID="template" ENV GAME_NAME="template" ENV GAME_PARAMS="template" @@ -22,15 +23,12 @@ RUN mkdir $DATA_DIR RUN mkdir $STEAMCMD_DIR RUN mkdir $SERVER_DIR RUN useradd -d $DATA_DIR -s /bin/bash --uid $UID --gid $GID steam -RUN mkdir -p ~/".local/share/Arma 3" && mkdir -p ~/".local/share/Arma 3 - Other Profiles" RUN chown -R steam $DATA_DIR RUN ulimit -n 2048 ADD /scripts/ /opt/scripts/ RUN chmod -R 770 /opt/scripts/ -RUN chmod -R 770 ~/.local/share/ -RUN chown -R steam ~/.local/share/ RUN chown -R steam /opt/scripts USER steam From 5790e9d3379afe34db880726fa245528bc69cb1e Mon Sep 17 00:00:00 2001 From: ich777 Date: Sun, 28 Apr 2019 13:35:20 +0200 Subject: [PATCH 22/27] Update start-server.sh --- scripts/start-server.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/start-server.sh b/scripts/start-server.sh index a842faa..98c5919 100644 --- a/scripts/start-server.sh +++ b/scripts/start-server.sh @@ -32,10 +32,9 @@ else fi echo "---Prepare Server---" +mkdir -p ~/".local/share/Arma 3" && mkdir -p ~/".local/share/Arma 3 - Other Profiles" chmod -R 770 ${DATA_DIR} -sleep infinity - echo "---Start Server---" cd ${SERVER_DIR} ./arma3server ${GAME_PARAMS} From 7b859c637bad382d03519534e5813bd91195d042 Mon Sep 17 00:00:00 2001 From: ich777 Date: Sun, 28 Apr 2019 13:37:04 +0200 Subject: [PATCH 23/27] Update start-server.sh --- scripts/start-server.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/start-server.sh b/scripts/start-server.sh index 98c5919..c8909a5 100644 --- a/scripts/start-server.sh +++ b/scripts/start-server.sh @@ -32,6 +32,7 @@ else fi echo "---Prepare Server---" +cp ${DATA_DIR}/steamcmd/linux32/* ${SERVER_DIR} mkdir -p ~/".local/share/Arma 3" && mkdir -p ~/".local/share/Arma 3 - Other Profiles" chmod -R 770 ${DATA_DIR} From 830fc86f2b78cba4462ddb48445814cd14cd8a90 Mon Sep 17 00:00:00 2001 From: ich777 Date: Sun, 28 Apr 2019 13:47:03 +0200 Subject: [PATCH 24/27] Update Dockerfile --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 46eb907..2ed1ff2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,6 @@ RUN apt-get -y install wget lib32gcc1 lib32stdc++6 ENV DATA_DIR="/serverdata" ENV STEAMCMD_DIR="${DATA_DIR}/steamcmd" ENV SERVER_DIR="${DATA_DIR}/serverfiles" -ENV PROFILES_DIR="${DATA_DIR}/.local/share" ENV GAME_ID="template" ENV GAME_NAME="template" ENV GAME_PARAMS="template" From 88b726aa81432e24770d1841c00e042fcc5f9e23 Mon Sep 17 00:00:00 2001 From: ich777 Date: Sun, 28 Apr 2019 13:49:18 +0200 Subject: [PATCH 25/27] Create server.cfg --- config/server.cfg | 79 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 config/server.cfg diff --git a/config/server.cfg b/config/server.cfg new file mode 100644 index 0000000..6ccf424 --- /dev/null +++ b/config/server.cfg @@ -0,0 +1,79 @@ +// +// server.cfg +// +// comments are written with "//" in front of them. + + +// GLOBAL SETTINGS +hostname = "Docker Server"; // The name of the server that shall be displayed in the public server list +password = "Docker"; // Password for joining, eg connecting to the server +passwordAdmin = "xyz"; // Password to become server admin. When you're in Arma MP and connected to the server, type '#login xyz' +serverCommandPassword = "xyzxyz"; // Password required by alternate syntax of [[serverCommand]] server-side scripting. + +//reportingIP = "armedass.master.gamespy.com"; // For ArmA1 publicly list your server on GameSpy. Leave empty for private servers +//reportingIP = "arma2pc.master.gamespy.com"; // For ArmA2 publicly list your server on GameSpy. Leave empty for private servers +//reportingIP = "arma2oapc.master.gamespy.com"; // For Arma2: Operation Arrowhead //this option is deprecated since A2: OA version 1.63 +//reportingIP = "arma3" //not used at all +logFile = "server_console.log"; // Tells ArmA-server where the logfile should go and what it should be called + + +// WELCOME MESSAGE ("message of the day") +// It can be several lines, separated by comma +// Empty messages "" will not be displayed at all but are only for increasing the interval +motd[] = { + "", "", + "Two empty lines above for increasing interval", + "Welcome to our server", + "", "", + "We are looking for fun - Join us Now !", + "http://www.example.com", + "One more empty line below for increasing interval", + "" +}; +motdInterval = 5; // Time interval (in seconds) between each message + + +// JOINING RULES +//checkfiles[] = {}; // Outdated. +maxPlayers = 64; // Maximum amount of players. Civilians and watchers, beholder, bystanders and so on also count as player. +kickDuplicate = 1; // Each ArmA version has its own ID. If kickDuplicate is set to 1, a player will be kicked when he joins a server where another player with the same ID is playing. +verifySignatures = 2; // Verifies .pbos against .bisign files. Valid values 0 (disabled), 1 (prefer v2 sigs but accept v1 too) and 2 (only v2 sigs are allowed). +equalModRequired = 0; // Outdated. If set to 1, player has to use exactly the same -mod= startup parameter as the server. +allowedFilePatching = 0; // Allow or prevent client using -filePatching to join the server. 0, is disallow, 1 is allow HC, 2 is allow all clients (since Arma 3 1.49+) +//requiredBuild = 12345 // Require clients joining to have at least build 12345 of game, preventing obsolete clients to connect + + +// VOTING +voteMissionPlayers = 1; // Tells the server how many people must connect so that it displays the mission selection screen. +voteThreshold = 0.33; // 33% or more players need to vote for something, for example an admin or a new map, to become effective + + +// INGAME SETTINGS +disableVoN = 0; // If set to 1, Voice over Net will not be available +vonCodec = 1; // If set to 1 then it uses IETF standard OPUS codec, if to 0 then it uses SPEEX codec (since Arma 3 update 1.58+) +vonCodecQuality = 30; // since 1.62.95417 supports range 1-20 //since 1.63.x will supports range 1-30 //8kHz is 0-10, 16kHz is 11-20, 32kHz(48kHz) is 21-30 +persistent = 1; // If 1, missions still run on even after the last player disconnected. +timeStampFormat = "short"; // Set the timestamp format used on each report line in server-side RPT file. Possible values are "none" (default),"short","full". +BattlEye = 1; // Server to use BattlEye system +allowedLoadFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"}; //only allow files with those extensions to be loaded via loadFile command (since Arma 3 build 1.19.124216) +allowedPreprocessFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"}; //only allow files with those extensions to be loaded via preprocessFile/preprocessFileLineNumber commands (since Arma 3 build 1.19.124323) +allowedHTMLLoadExtensions[] = {"htm","html","xml","txt"}; //only allow files with those extensions to be loaded via HTMLLoad command (since Arma 3 build 1.27.126715) +//allowedHTMLLoadURIs = {}; // Leave commented to let missions/campaigns/addons decide what URIs are supported. Uncomment to define server-level restrictions for URIs +disconnectTimeout = 5; // Server wait time before disconnecting client, default 90 seconds, range 5 to 90 seconds. (since Arma 3 update 1.56+) + +// SCRIPTING ISSUES +onUserConnected = ""; // +onUserDisconnected = ""; // +doubleIdDetected = ""; // +//regularCheck = "{}"; // Server checks files from time to time by hashing them and comparing the hash to the hash values of the clients. //deprecated + +// SIGNATURE VERIFICATION +onUnsignedData = "kick (_this select 0)"; // unsigned data detected +onHackedData = "kick (_this select 0)"; // tampering of the signature detected +onDifferentData = ""; // data with a valid signature, but different version than the one present on server detected + + +// MISSIONS CYCLE (see below) +class Missions {}; // An empty Missions class means there will be no mission rotation + +missionWhitelist[] = {}; //an empty whitelist means there is no restriction on what missions' available From 792cbc3763f5f3ef1e8f8d86da09562a755e0ad5 Mon Sep 17 00:00:00 2001 From: ich777 Date: Sun, 28 Apr 2019 13:51:53 +0200 Subject: [PATCH 26/27] Update start-server.sh --- scripts/start-server.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/start-server.sh b/scripts/start-server.sh index c8909a5..407bf1d 100644 --- a/scripts/start-server.sh +++ b/scripts/start-server.sh @@ -32,6 +32,13 @@ else fi echo "---Prepare Server---" +if [ ! -f ${SERVER_DIR}/server.cfg ]; then + echo "---No server.cfg found, downloading...---" + wget -q -O https://raw.githubusercontent.com/ich777/docker-steamcmd-server/arma3-beta/config/server.cfg +else + echo "---server.cfg found..." +fi + cp ${DATA_DIR}/steamcmd/linux32/* ${SERVER_DIR} mkdir -p ~/".local/share/Arma 3" && mkdir -p ~/".local/share/Arma 3 - Other Profiles" chmod -R 770 ${DATA_DIR} From c5e6e221caa851a9ad0be5d30d64ebd79a3d7a47 Mon Sep 17 00:00:00 2001 From: ich777 Date: Sun, 28 Apr 2019 14:06:26 +0200 Subject: [PATCH 27/27] Update start-server.sh --- scripts/start-server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/start-server.sh b/scripts/start-server.sh index 407bf1d..51f7df5 100644 --- a/scripts/start-server.sh +++ b/scripts/start-server.sh @@ -34,7 +34,7 @@ fi echo "---Prepare Server---" if [ ! -f ${SERVER_DIR}/server.cfg ]; then echo "---No server.cfg found, downloading...---" - wget -q -O https://raw.githubusercontent.com/ich777/docker-steamcmd-server/arma3-beta/config/server.cfg + wget -q -O server.cfg https://raw.githubusercontent.com/ich777/docker-steamcmd-server/arma3-beta/config/server.cfg else echo "---server.cfg found..." fi