Просмотр исходного кода

The Forest xml update

- Updated to server version 1.07
- Added '-configfilepath' parameter which says where is your config file to load in server startup
- Added '-savefolderpath' parameter which says where to save the savegames
- Removed console log, only Oxide mod used that
Rocco27 8 лет назад
Родитель
Сommit
7d1066fd5b
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      modules/config_games/server_configs/theforest_win32.xml

+ 3 - 2
modules/config_games/server_configs/theforest_win32.xml

@@ -5,10 +5,12 @@
   <installer>steamcmd</installer>
   <installer>steamcmd</installer>
   <game_name>The Forest</game_name>
   <game_name>The Forest</game_name>
   <server_exec_name>TheForestDedicatedServer.exe</server_exec_name>
   <server_exec_name>TheForestDedicatedServer.exe</server_exec_name>
-  <cli_template>-batchmode %IP% %PORT% %QUERY_PORT% %STEAM_PORT% %HOSTNAME% %PLAYERS% %CONTROL_PASSWORD% %IT% %SLOT% %SSA% %VAC% -nographics</cli_template>
+  <cli_template>-batchmode %IP% %PORT% %QUERY_PORT% %STEAM_PORT% %HOSTNAME% %PLAYERS% %CONTROL_PASSWORD% %IT% %SLOT% %SSA% %VAC% %USER_PATH%/Server.cfg %SAVE_PATH% -nographics</cli_template>
   <cli_params>
   <cli_params>
     <cli_param id="IP" cli_string="-serverip" options="s" />
     <cli_param id="IP" cli_string="-serverip" options="s" />
     <cli_param id="PORT" cli_string="-servergameport" options="s" />
     <cli_param id="PORT" cli_string="-servergameport" options="s" />
+    <cli_param id="USER_PATH" cli_string="-configfilepath" options="s" />
+    <cli_param id="SAVE_PATH" cli_string="-savefolderpath" options="s" />
     <cli_param id="PLAYERS" cli_string="-serverplayers" options="s" />
     <cli_param id="PLAYERS" cli_string="-serverplayers" options="s" />
     <cli_param id="HOSTNAME" cli_string="-servername" options="sq" />
     <cli_param id="HOSTNAME" cli_string="-servername" options="sq" />
     <cli_param id="CONTROL_PASSWORD" cli_string="-serverpassword_admin" options="sq" />
     <cli_param id="CONTROL_PASSWORD" cli_string="-serverpassword_admin" options="sq" />
@@ -16,7 +18,6 @@
   <reserve_ports>
   <reserve_ports>
     <port type="add" id="QUERY_PORT" cli_string="-serverqueryport" options="s">1</port>
     <port type="add" id="QUERY_PORT" cli_string="-serverqueryport" options="s">1</port>
   </reserve_ports>
   </reserve_ports>
-  <console_log>logs/output_log.txt</console_log>
   <max_user_amount>100</max_user_amount>
   <max_user_amount>100</max_user_amount>
   <mods>
   <mods>
     <mod key="default">
     <mod key="default">