aboutsummarylogtreecommitdiffstats
path: root/minecraftd.conf
diff options
context:
space:
mode:
authorGordian Edenhofer2016-12-29 14:11:44 +0100
committerGordian Edenhofer2016-12-29 15:47:45 +0100
commitff7ff630e2bb572af45561a5b52590e57b3bb8ad (patch)
treef49c2885106b3421280b1bd898e4b2e3670574e1 /minecraftd.conf
parentd39462710d3eb0f8eeb38f28bd88f8310ef7c40b (diff)
downloadaur-ff7ff630e2bb572af45561a5b52590e57b3bb8ad.tar.gz
upgpkg: minecraft-server 1.11.2-2
Previously screen was used to select a session with a specific well defined name however apparently screen selects anything starting with the specified pattern. This let to some confusion between the server and the idle_server. To circumvent this behaviour simply change the naming schema of the idle_server. THIS IS NOT A FIX!
Diffstat (limited to 'minecraftd.conf')
-rw-r--r--minecraftd.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/minecraftd.conf b/minecraftd.conf
index d5cc234303e2..dd85d162c608 100644
--- a/minecraftd.conf
+++ b/minecraftd.conf
@@ -22,7 +22,7 @@ SERVER_START_CMD="java -Xms512M -Xmx1024M -XX:ParallelGCThreads=1 -jar './${MAIN
IDLE_SERVER=false # true or false
# Ensure that if SESSION_NAME is passed through the command line and therefore set to read only by the script,
# IDLE_SESSION_NAME gets altered according to the command line and not the configurtion file, hence invoke the variable
-IDLE_SESSION_NAME="${SESSION_NAME}_idle_server"
+IDLE_SESSION_NAME="idle_server_${SESSION_NAME}"
GAME_PORT="25565" # used to listen for incoming connections when the server is down
CHECK_PLAYER_TIME="30" # in seconds
IDLE_IF_TIME="1200" # in seconds