diff --git a/modules/config_games/server_configs/hytale_linux32.xml b/modules/config_games/server_configs/hytale_linux32.xml new file mode 100644 index 00000000..6f728888 --- /dev/null +++ b/modules/config_games/server_configs/hytale_linux32.xml @@ -0,0 +1,71 @@ + + + hytale_linux32 + + + + + + Hytale + HytaleServer.jar + + ( x=0; while [ $x -lt 30 ]; do if ls logs/*.log >/dev/null 2>&1; then sleep 1; ln -sf $(ls -t logs/*.log | head -n1) logs/latest.log; break; fi; sleep 1; x=$((x+1)); done ) & java %XMS% %XMX% -XX:AOTCache=HytaleServer.aot -jar HytaleServer.jar --assets %ASSETS_PATH% %PORT% + + + + logs/latest.log + 100 + + + None + + + + + "ServerName"\s*:\s*".*?" + "ServerName": + config.json + q + + + "MaxPlayers"\s*:\s*\d+ + "MaxPlayers": + config.json + + + + + 1024M + ns + admin + Initial memory size for Java. + + + 4096M + ns + admin + Maximum memory size for Java. + + + Assets.zip + ns + admin + Path to Assets.zip relative to server executable + + + Enable automatic backups + + + backups + ns + admin + Backup directory path + + + 30 + ns + admin + Backup interval in minutes + + + diff --git a/modules/config_games/server_configs/hytale_linux64.xml b/modules/config_games/server_configs/hytale_linux64.xml new file mode 100644 index 00000000..56b02e03 --- /dev/null +++ b/modules/config_games/server_configs/hytale_linux64.xml @@ -0,0 +1,71 @@ + + + hytale_linux64 + + + + + + Hytale + HytaleServer.jar + + ( x=0; while [ $x -lt 30 ]; do if ls logs/*.log >/dev/null 2>&1; then sleep 1; ln -sf $(ls -t logs/*.log | head -n1) logs/latest.log; break; fi; sleep 1; x=$((x+1)); done ) & java %XMS% %XMX% -XX:AOTCache=HytaleServer.aot -jar HytaleServer.jar --assets %ASSETS_PATH% %PORT% + + + + logs/latest.log + 100 + + + None + + + + + "ServerName"\s*:\s*".*?" + "ServerName": + config.json + q + + + "MaxPlayers"\s*:\s*\d+ + "MaxPlayers": + config.json + + + + + 1024M + ns + admin + Initial memory size for Java. + + + 4096M + ns + admin + Maximum memory size for Java. + + + Assets.zip + ns + admin + Path to Assets.zip relative to server executable + + + Enable automatic backups + + + backups + ns + admin + Backup directory path + + + 30 + ns + admin + Backup interval in minutes + + + diff --git a/modules/config_games/server_configs/hytale_win32.xml b/modules/config_games/server_configs/hytale_win32.xml new file mode 100644 index 00000000..bc050473 --- /dev/null +++ b/modules/config_games/server_configs/hytale_win32.xml @@ -0,0 +1,71 @@ + + + hytale_win32 + + + + + + Hytale + HytaleServer.jar + + cmd /c start /b powershell -Command "$x=0; while ($x -lt 30) { if (Test-Path logs\*.log) { Start-Sleep 1; New-Item -ItemType SymbolicLink -Path logs\latest.log -Target (Get-ChildItem logs\*.log | Sort-Object LastWriteTime -Descending | Select-Object -First 1).FullName -Force; break }; Start-Sleep 1; $x++ }" & java %XMS% %XMX% -XX:AOTCache=HytaleServer.aot -jar HytaleServer.jar --assets %ASSETS_PATH% %PORT% + + + + logs/latest.log + 100 + + + None + + + + + "ServerName"\s*:\s*".*?" + "ServerName": + config.json + q + + + "MaxPlayers"\s*:\s*\d+ + "MaxPlayers": + config.json + + + + + 1024M + ns + admin + Initial memory size for Java. + + + 4096M + ns + admin + Maximum memory size for Java. + + + Assets.zip + ns + admin + Path to Assets.zip relative to server executable + + + Enable automatic backups + + + backups + ns + admin + Backup directory path + + + 30 + ns + admin + Backup interval in minutes + + + diff --git a/modules/config_games/server_configs/hytale_win64.xml b/modules/config_games/server_configs/hytale_win64.xml new file mode 100644 index 00000000..15cbb060 --- /dev/null +++ b/modules/config_games/server_configs/hytale_win64.xml @@ -0,0 +1,71 @@ + + + hytale_win64 + + + + + + Hytale + HytaleServer.jar + + cmd /c start /b powershell -Command "$x=0; while ($x -lt 30) { if (Test-Path logs\*.log) { Start-Sleep 1; New-Item -ItemType SymbolicLink -Path logs\latest.log -Target (Get-ChildItem logs\*.log | Sort-Object LastWriteTime -Descending | Select-Object -First 1).FullName -Force; break }; Start-Sleep 1; $x++ }" & java %XMS% %XMX% -XX:AOTCache=HytaleServer.aot -jar HytaleServer.jar --assets %ASSETS_PATH% %PORT% + + + + logs/latest.log + 100 + + + None + + + + + "ServerName"\s*:\s*".*?" + "ServerName": + config.json + q + + + "MaxPlayers"\s*:\s*\d+ + "MaxPlayers": + config.json + + + + + 1024M + ns + admin + Initial memory size for Java. + + + 4096M + ns + admin + Maximum memory size for Java. + + + Assets.zip + ns + admin + Path to Assets.zip relative to server executable + + + Enable automatic backups + + + backups + ns + admin + Backup directory path + + + 30 + ns + admin + Backup interval in minutes + + +