Преглед на файлове

Added nogui command to minecraft executable

Daniel Gibbs преди 7 години
родител
ревизия
68d847c760
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      lgsm/config-default/config-lgsm/mcserver/_default.cfg

+ 2 - 2
lgsm/config-default/config-lgsm/mcserver/_default.cfg

@@ -57,7 +57,7 @@ pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
 # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
-# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
 # any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
@@ -89,7 +89,7 @@ engine="lwjgl2"
 ## Server Specific Directories
 systemdir="${serverfiles}"
 executabledir="${serverfiles}"
-executable="java -Xmx${javaram}M -jar ${serverfiles}/minecraft_server.jar"
+executable="java -Xmx${javaram}M -jar ${serverfiles}/minecraft_server.jar nogui"
 servercfg="server.properties"
 servercfgdefault="server.properties"
 servercfgdir="${serverfiles}"