Marvin Lehmann 9 лет назад
Родитель
Сommit
f813c03ede
2 измененных файлов с 44 добавлено и 0 удалено
  1. 39 0
      Minecraft/cfg/lgsm-default.ini
  2. 5 0
      lgsm/functions/install_config.sh

+ 39 - 0
Minecraft/cfg/lgsm-default.ini

@@ -0,0 +1,39 @@
+#Minecraft server properties (LGSM 210516)
+#Sat Aug 20 15:59:43 CEST 2016
+generator-settings=
+use-native-transport=true
+op-permission-level=4
+allow-nether=true
+level-name=world
+enable-query=false
+allow-flight=false
+announce-player-achievements=true
+server-port=25565
+max-world-size=29999984
+level-type=DEFAULT
+enable-rcon=false
+rcon.password=
+rcon.port=25575
+level-seed=
+force-gamemode=false
+server-ip=
+network-compression-threshold=256
+max-build-height=256
+spawn-npcs=true
+white-list=false
+spawn-animals=true
+snooper-enabled=true
+resource-pack-sha1=
+online-mode=true
+resource-pack=
+pvp=true
+difficulty=1
+enable-command-block=false
+gamemode=0
+player-idle-timeout=0
+max-players=20
+max-tick-time=60000
+spawn-monsters=true
+view-distance=10
+generate-structures=true
+motd=A Minecraft Server

+ 5 - 0
lgsm/functions/install_config.sh

@@ -301,6 +301,11 @@ elif [ "${gamename}" == "Left 4 Dead 2" ]; then
 	wget -N /dev/null ${githuburl}/Left4Dead2/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
 	wget -N /dev/null ${githuburl}/Left4Dead2/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
 	sleep 1
 	sleep 1
 	fn_sourceconfig
 	fn_sourceconfig
+elif [ "${gamename}" == "Minecraft" ]; then
+	echo -e "downloading lgsm-default.ini...\c"
+	wget -N /dev/null  ${githuburl}/Minecraft/cfg/lgsm-default.ini 2>&1 | grep -F HTTP | cut -c45- | uniq
+	sleep 1
+	fn_defaultconfig
 elif [ "${gamename}" == "No More Room in Hell" ]; then
 elif [ "${gamename}" == "No More Room in Hell" ]; then
 	echo -e "downloading lgsm-default.cfg...\c"
 	echo -e "downloading lgsm-default.cfg...\c"
 	wget -N /dev/null ${githuburl}/NoMoreRoomInHell/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
 	wget -N /dev/null ${githuburl}/NoMoreRoomInHell/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq