Panel/modules/config_games/server_configs/unturned_linux64.xml
2025-09-11 13:29:15 -04:00

66 lines
2 KiB
XML

<game_config>
<game_key>unturned_linux64</game_key>
<installer>steamcmd</installer>
<game_name>Unturned</game_name>
<server_exec_name>ServerHelper.sh</server_exec_name>
<query_port type='add'>1</query_port>
<cli_template>-logfile Logs/server.log +secureserver/Server</cli_template>
<maps_location>Maps</maps_location>
<console_log>Logs/server.log</console_log>
<max_user_amount>48</max_user_amount>
<mods>
<mod key="default">
<name>None</name>
<installer_name>1110390</installer_name>
</mod>
</mods>
<replace_texts>
<text key="ip">
<default>Bind.*</default>
<var>Bind</var>
<filepath>Servers/Server/Server/Commands.dat</filepath>
<options>s</options>
</text>
<text key="port">
<default>Port.*</default>
<var>Port</var>
<filepath>Servers/Server/Server/Commands.dat</filepath>
<options>s</options>
</text>
<text key="home_name">
<default>Name.*</default>
<var>Name</var>
<filepath>Servers/Server/Server/Commands.dat</filepath>
<options>s</options>
</text>
<text key="max_players">
<default>MaxPlayers.*</default>
<var>MaxPlayers</var>
<filepath>Servers/Server/Server/Commands.dat</filepath>
<options>s</options>
</text>
<text key="map">
<default>Map.*</default>
<var>Map</var>
<filepath>Servers/Server/Server/Commands.dat</filepath>
<options>s</options>
</text>
</replace_texts>
<post_install>
if [ -f "Servers/Server/Server" ]
then
echo "Config folder found. OK!"
else
echo "Config folder not found."
echo "Creating config folder!"
mkdir -p Servers/Server/Server
fi
</post_install>
<environment_variables>
export LD_LIBRARY_PATH={OGP_HOME_DIR}/lib64
</environment_variables>
<configuration_files>
<file description="Server Configurations">Servers/Server/Server/Commands.dat</file>
<file description="Server Configurations">Servers/Server/Config.json</file>
</configuration_files>
</game_config>