|
|
@@ -1,455 +1,137 @@
|
|
|
-<game_config>
|
|
|
- <game_key>7daystodie_linux32</game_key>
|
|
|
- <protocol>lgsl</protocol>
|
|
|
- <lgsl_query_name>7dtd</lgsl_query_name>
|
|
|
- <installer>steamcmd</installer>
|
|
|
- <game_name>7 Days to Die</game_name>
|
|
|
- <server_exec_name>7dtd_run.sh</server_exec_name>
|
|
|
- <cli_template>%IP% %PORT% %CONTROL_PASSWORD%</cli_template>
|
|
|
- <cli_params>
|
|
|
- <cli_param id="IP" cli_string="-i" options="s" />
|
|
|
- <cli_param id="PORT" cli_string="-p" options="s" />
|
|
|
- <cli_param id="CONTROL_PASSWORD" cli_string="-t" options="s" />
|
|
|
- </cli_params>
|
|
|
- <maps_location>Data/Worlds</maps_location>
|
|
|
- <console_log>7DaysToDieServer_Data/output_log.txt</console_log>
|
|
|
- <max_user_amount>128</max_user_amount>
|
|
|
- <mods>
|
|
|
- <mod key="7daystodie">
|
|
|
- <name>None</name>
|
|
|
- <installer_name>294420</installer_name>
|
|
|
- </mod>
|
|
|
- </mods>
|
|
|
- <replace_texts>
|
|
|
- <text key="port">
|
|
|
- <default>property</default>
|
|
|
- <var>ServerPort</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- </text>
|
|
|
- <text key="max_players">
|
|
|
- <default>property</default>
|
|
|
- <var>ServerMaxPlayerCount</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- </text>
|
|
|
- <text key="control_password">
|
|
|
- <default>property</default>
|
|
|
- <var>ControlPanelPassword</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- </text>
|
|
|
- <text key="control_password">
|
|
|
- <default>property</default>
|
|
|
- <var>TelnetPassword</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- </text>
|
|
|
- <text key="home_name">
|
|
|
- <default>property</default>
|
|
|
- <var>ServerName</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- </text>
|
|
|
- <text key="map">
|
|
|
- <default>property</default>
|
|
|
- <var>GameWorld</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- </text>
|
|
|
- <text key="query_port">
|
|
|
- <default>property</default>
|
|
|
- <var>TelnetPort</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- </text>
|
|
|
- <text key="home_path">
|
|
|
- <default>(.*)(property\s+name="SaveGameFolder"\s+value=")(.*)(")(.*>)(.*<.*>.*)</default>
|
|
|
- <var> <${2}%key%/Saves${4}/>${6}</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>key-regex</options>
|
|
|
- </text>
|
|
|
- </replace_texts>
|
|
|
- <custom_fields>
|
|
|
- <field key="GameName" type="text">
|
|
|
- <default>property</default>
|
|
|
- <default_value>My Game</default_value>
|
|
|
- <var>GameName</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>Whatever you want the game name to be THIS CONTROLS THE RANDOM GENERATION SEED</desc>
|
|
|
- </field>
|
|
|
- <field key="ControlPanelEnabled" type="select">
|
|
|
- <option value="true">Yes</option>
|
|
|
- <option value="false">No</option>
|
|
|
- <default>property</default>
|
|
|
- <default_value>false</default_value>
|
|
|
- <var>ControlPanelEnabled</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>Enable/Disable the control panel</desc>
|
|
|
- </field>
|
|
|
- <field key="ControlPanelPort" type="text">
|
|
|
- <default>property</default>
|
|
|
- <default_value>8080</default_value>
|
|
|
- <var>ControlPanelPort</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>Port of the control panel webpage, No other servers can be using this port. (web map will be this +2)</desc>
|
|
|
- </field>
|
|
|
- <field key="TelnetEnabled" type="select">
|
|
|
- <option value="true">Yes</option>
|
|
|
- <option value="false">No</option>
|
|
|
- <default>property</default>
|
|
|
- <default_value>true</default_value>
|
|
|
- <var>TelnetEnabled</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>Enable/Disable the telnet</desc>
|
|
|
- </field>
|
|
|
- <field key="EACEnabled" type="select">
|
|
|
- <option value="true">Yes</option>
|
|
|
- <option value="false">No</option>
|
|
|
- <default>property</default>
|
|
|
- <default_value>true</default_value>
|
|
|
- <var>EACEnabled</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>Enables/Disables EasyAntiCheat</desc>
|
|
|
- </field>
|
|
|
- <field key="ServerIsPublic" type="select">
|
|
|
- <option value="true">Yes</option>
|
|
|
- <option value="false">No</option>
|
|
|
- <default>property</default>
|
|
|
- <default_value>true</default_value>
|
|
|
- <var>ServerIsPublic</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>Should this server register to master server</desc>
|
|
|
- </field>
|
|
|
- <field key="ServerPassword" type="text">
|
|
|
- <default>property</default>
|
|
|
- <default_value></default_value>
|
|
|
- <var>ServerPassword</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>Sets the server password</desc>
|
|
|
- </field>
|
|
|
- <field key="ServerDescription" type="text">
|
|
|
- <default>property</default>
|
|
|
- <default_value>A 7 Days to Die server</default_value>
|
|
|
- <var>ServerDescription</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>Whatever you want the description to be</desc>
|
|
|
- </field>
|
|
|
- <field key="GameDifficulty" type="select">
|
|
|
- <option value="0">Easist</option>
|
|
|
- <option value="1">Easy</option>
|
|
|
- <option value="2">Medium</option>
|
|
|
- <option value="3">Hard</option>
|
|
|
- <option value="5">Hardest</option>
|
|
|
- <default>property</default>
|
|
|
- <default_value>2</default_value>
|
|
|
- <var>GameDifficulty</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>Game Difficulty</desc>
|
|
|
- </field>
|
|
|
- <field key="ZombiesRun" type="select">
|
|
|
- <option value="0">Day Walk/Night Run</option>
|
|
|
- <option value="1">Always Walk</option>
|
|
|
- <option value="2">Always Run</option>
|
|
|
- <default>property</default>
|
|
|
- <default_value>0</default_value>
|
|
|
- <var>ZombiesRun</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>When should Zombies Run</desc>
|
|
|
- </field>
|
|
|
- <field key="Allow Cheats" type="select">
|
|
|
- <option value="true">Yes</option>
|
|
|
- <option value="false">No</option>
|
|
|
- <default>property</default>
|
|
|
- <default_value>false</default_value>
|
|
|
- <var>BuildCreate</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>All Cheats on the server?</desc>
|
|
|
- </field>
|
|
|
- <field key="DayNightLength" type="text">
|
|
|
- <default>property</default>
|
|
|
- <default_value>40</default_value>
|
|
|
- <var>DayNightLength</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>How many minutes should 24 hours take</desc>
|
|
|
- </field>
|
|
|
- <field key="NightPercentage" type="text">
|
|
|
- <default>property</default>
|
|
|
- <default_value>35</default_value>
|
|
|
- <var>NightPercentage</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>percentage in whole numbers</desc>
|
|
|
- </field>
|
|
|
-
|
|
|
- <field key="FriendlyFire" type="select">
|
|
|
- <option value="true">Yes</option>
|
|
|
- <option value="false">No</option>
|
|
|
- <default>property</default>
|
|
|
- <default_value>false</default_value>
|
|
|
- <var>FriendlyFire</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>Can friendly players damage each other (PvP)</desc>
|
|
|
- </field>
|
|
|
- <field key="PersistentPlayerProfiles" type="select">
|
|
|
- <option value="true">Yes</option>
|
|
|
- <option value="false">No</option>
|
|
|
- <default>property</default>
|
|
|
- <default_value>false</default_value>
|
|
|
- <var>PersistentPlayerProfiles</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>If disabled a player can join with any selected profile. If true they will join with the last profile they joined with</desc>
|
|
|
- </field>
|
|
|
- <field key="PlayerSafeZoneLevel" type="text">
|
|
|
- <default>property</default>
|
|
|
- <default_value>5</default_value>
|
|
|
- <var>PlayerSafeZoneLevel</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>If a player is less or equal this level he will create a safe zone (no enemies) when spawned</desc>
|
|
|
- </field>
|
|
|
- <field key="PlayerSafeZoneHours" type="text">
|
|
|
- <default>property</default>
|
|
|
- <default_value>5</default_value>
|
|
|
- <var>PlayerSafeZoneHours</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>Hours in world time this safe zone exists</desc>
|
|
|
- </field>
|
|
|
- <field key="DisableNAT" type="select">
|
|
|
- <option value="true">Yes</option>
|
|
|
- <option value="false">No</option>
|
|
|
- <default>property</default>
|
|
|
- <default_value>true</default_value>
|
|
|
- <var>DisableNAT</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>set this to true if your router doesn't support NAT</desc>
|
|
|
- </field>
|
|
|
- <field key="DropOnDeath" type="select">
|
|
|
- <option value="0">Everything</option>
|
|
|
- <option value="1">Toolbelt</option>
|
|
|
- <option value="2">Backback</option>
|
|
|
- <option value="3">Delete items</option>
|
|
|
- <default>property</default>
|
|
|
- <default_value>0</default_value>
|
|
|
- <var>DropOnDeath</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>What items do players drop when they die</desc>
|
|
|
- </field>
|
|
|
- <field key="DropOnQuit" type="select">
|
|
|
- <option value="0">Nothing</option>
|
|
|
- <option value="1">Everything</option>
|
|
|
- <option value="2">Toolbelt</option>
|
|
|
- <option value="3">Backpack</option>
|
|
|
- <default>property</default>
|
|
|
- <default_value>0</default_value>
|
|
|
- <var>DropOnQuit</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>What items do players drop when they leave the game</desc>
|
|
|
- </field>
|
|
|
- <field key="CraftTimer" type="select">
|
|
|
- <option value="0">Instant (None)</option>
|
|
|
- <option value="1">Normal</option>
|
|
|
- <option value="2">Fast (Double Speed)</option>
|
|
|
- <default>property</default>
|
|
|
- <default_value>1</default_value>
|
|
|
- <var>CraftTimer</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>Crafting Timers</desc>
|
|
|
- </field>
|
|
|
- <field key="LootTimer" type="select">
|
|
|
- <option value="0">Instant (None)</option>
|
|
|
- <option value="1">Normal</option>
|
|
|
- <option value="2">Fast (Double Speed)</option>
|
|
|
- <default>property</default>
|
|
|
- <default_value>1</default_value>
|
|
|
- <var>LootTimer</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>Looting Timers</desc>
|
|
|
- </field>
|
|
|
- <field key="EnemySpawnMode" type="select">
|
|
|
- <option value="true">yes</option>
|
|
|
- <option value="false">no</option>
|
|
|
- <default>property</default>
|
|
|
- <default_value>true</default_value>
|
|
|
- <var>EnemySpawnMode</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>Enable/Disable enemy spawning</desc>
|
|
|
- </field>
|
|
|
- <field key="EnemyDifficulty" type="select">
|
|
|
- <option value="0">Normal</option>
|
|
|
- <option value="1">Feral</option>
|
|
|
- <default>property</default>
|
|
|
- <default_value>0</default_value>
|
|
|
- <var>EnemyDifficulty</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>Zombie Difficulty</desc>
|
|
|
- </field>
|
|
|
- <field key="LootAbundance" type="text">
|
|
|
- <default>property</default>
|
|
|
- <default_value>100</default_value>
|
|
|
- <var>LootAbundance</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>percentage in whole numbers</desc>
|
|
|
- </field>
|
|
|
- <field key="LootRespawnDays" type="text">
|
|
|
- <default>property</default>
|
|
|
- <default_value>7</default_value>
|
|
|
- <var>LootRespawnDays</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>days in whole numbers</desc>
|
|
|
- </field>
|
|
|
-
|
|
|
- <field key="LandClaimSize" type="text">
|
|
|
- <default>property</default>
|
|
|
- <default_value>7</default_value>
|
|
|
- <var>LandClaimSize</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>Size in blocks that is protected by a keystone</desc>
|
|
|
- </field>
|
|
|
- <field key="LandClaimDeadZone" type="text">
|
|
|
- <default>property</default>
|
|
|
- <default_value>30</default_value>
|
|
|
- <var>LandClaimDeadZone</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>Keystones must be this many blocks apart (unless you are friends with the other player)</desc>
|
|
|
- </field>
|
|
|
- <field key="LandClaimExpiryTime" type="text">
|
|
|
- <default>property</default>
|
|
|
- <default_value>3</default_value>
|
|
|
- <var>LandClaimExpiryTime</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>The number of days a player can be offline before their claims expire and are no longer protected</desc>
|
|
|
- </field>
|
|
|
- <field key="LandClaimDecayMode" type="select">
|
|
|
- <option value="0">Linear</option>
|
|
|
- <option value="1">Exponential</option>
|
|
|
- <option value="1">Full protection until claim is expired</option>
|
|
|
- <default>property</default>
|
|
|
- <default_value>0</default_value>
|
|
|
- <var>LandClaimDecayMode</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>Controls how offline players land claims decay. All claims have full protection for the first 24hrs.</desc>
|
|
|
- </field>
|
|
|
- <field key="LandClaimOnlineDurabilityModifier" type="text">
|
|
|
- <default>property</default>
|
|
|
- <default_value>4</default_value>
|
|
|
- <var>LandClaimOnlineDurabilityModifier</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>How much protected claim area block hardness is increased when a player is online. 0 means infinite</desc>
|
|
|
- </field>
|
|
|
- <field key="LandClaimOfflineDurabilityModifier" type="text">
|
|
|
- <default>property</default>
|
|
|
- <default_value>4</default_value>
|
|
|
- <var>LandClaimOoflineDurabilityModifier</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>How much protected claim area block hardness is increased when a player is offline. 0 means infinite</desc>
|
|
|
- </field>
|
|
|
-
|
|
|
- <field key="AirDropFrequency" type="text">
|
|
|
- <default>property</default>
|
|
|
- <default_value>72</default_value>
|
|
|
- <var>AirDropFrequency</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>How often airdrop occur in game-hours, 0 == never</desc>
|
|
|
- </field>
|
|
|
- <field key="MaxSpawnedZombies" type="text">
|
|
|
- <default>property</default>
|
|
|
- <default_value>60</default_value>
|
|
|
- <var>MaxSpawnedZombies</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>Making this number too large (more than about 80) may cause servers to run at poor framerates which will effect lag and play quality for clients.</desc>
|
|
|
- </field>
|
|
|
- <field key="MaxSpawnedAnimals" type="text">
|
|
|
- <default>property</default>
|
|
|
- <default_value>50</default_value>
|
|
|
- <var>MaxSpawnedAnimals</var>
|
|
|
- <filepath>serverconfig.xml</filepath>
|
|
|
- <options>tagValueByName</options>
|
|
|
- <desc>Max Spawned Animals</desc>
|
|
|
- </field>
|
|
|
-
|
|
|
- </custom_fields>
|
|
|
- <post_install>
|
|
|
-echo '#!/bin/bash
|
|
|
-SERVER_CMD="./7DaysToDieServer.x86 -configfile=serverconfig.xml -logfile 7DaysToDieServer_Data/output_log.txt"
|
|
|
-while getopts ":i:p:t:" OPTION
|
|
|
- do
|
|
|
- case $OPTION in
|
|
|
- i)
|
|
|
- IP=$OPTARG
|
|
|
- ;;
|
|
|
- p)
|
|
|
- PORT=$OPTARG
|
|
|
- ;;
|
|
|
- t)
|
|
|
- PASSWORD=$OPTARG
|
|
|
- ;;
|
|
|
- *)
|
|
|
- exit
|
|
|
- ;;
|
|
|
- esac
|
|
|
- done
|
|
|
-TPORT=$(expr $PORT + 1)
|
|
|
-if [ -h 7DaysToDieServer.x86 ]
|
|
|
- then
|
|
|
- cp 7DaysToDieServer.x86 7DaysToDieServer.x86.temp
|
|
|
- rm 7DaysToDieServer.x86
|
|
|
- mv 7DaysToDieServer.x86.temp 7DaysToDieServer.x86
|
|
|
- chmod +x 7DaysToDieServer.x86
|
|
|
- chattr +i 7DaysToDieServer.x86
|
|
|
-fi
|
|
|
-nohup $SERVER_CMD &
|
|
|
-trap shutdown EXIT
|
|
|
-shutdown()
|
|
|
-{
|
|
|
- echo "$PASSWORD" > nc_commands.txt
|
|
|
- echo "sleep 1" >> nc_commands.txt
|
|
|
- echo "shutdown" >> nc_commands.txt
|
|
|
- echo "exit" >> nc_commands.txt
|
|
|
-
|
|
|
- nc ${IP} ${TPORT} < nc_commands.txt
|
|
|
- rm nc_commands.txt
|
|
|
-
|
|
|
- exit 0
|
|
|
-}
|
|
|
-
|
|
|
-while :
|
|
|
-do
|
|
|
- sleep 60
|
|
|
-done
|
|
|
-
|
|
|
-exit 0' > 7dtd_run.sh
|
|
|
- </post_install>
|
|
|
-</game_config>
|
|
|
+<game_config>
|
|
|
+ <game_key>7daystodie_linux32</game_key>
|
|
|
+ <protocol>lgsl</protocol>
|
|
|
+ <lgsl_query_name>7dtd</lgsl_query_name>
|
|
|
+ <installer>steamcmd</installer>
|
|
|
+ <game_name>7 Days to Die</game_name>
|
|
|
+ <server_exec_name>7DaysToDieServer.x86</server_exec_name>
|
|
|
+ <cli_template>-logfile 7DaysToDieServer_Data/output_log.txt -quit -batchmode -nographics -configfile=serverconfig.xml -dedicated</cli_template>
|
|
|
+ <maps_location>Data/Worlds</maps_location>
|
|
|
+ <console_log>7DaysToDieServer_Data/output_log.txt</console_log>
|
|
|
+ <max_user_amount>64</max_user_amount>
|
|
|
+ <mods>
|
|
|
+ <mod key="7daystodie1">
|
|
|
+ <name>Stable</name>
|
|
|
+ <installer_name>294420</installer_name>
|
|
|
+ <installer_login>anonymous</installer_login>
|
|
|
+ </mod>
|
|
|
+ <mod key="7daystodie2">
|
|
|
+ <name>Latest Experimental</name>
|
|
|
+ <installer_name>294420</installer_name>
|
|
|
+ <installer_login>anonymous</installer_login>
|
|
|
+ <betaname>latest_experimental</betaname>
|
|
|
+ </mod>
|
|
|
+ </mods>
|
|
|
+ <replace_texts>
|
|
|
+ <text key="port">
|
|
|
+ <default>property</default>
|
|
|
+ <var>ServerPort</var>
|
|
|
+ <filepath>serverconfig.xml</filepath>
|
|
|
+ <options>tagValueByName</options>
|
|
|
+ </text>
|
|
|
+ <text key="home_name">
|
|
|
+ <default>property</default>
|
|
|
+ <var>ServerName</var>
|
|
|
+ <filepath>serverconfig.xml</filepath>
|
|
|
+ <options>tagValueByName</options>
|
|
|
+ </text>
|
|
|
+ <text key="max_players">
|
|
|
+ <default>property</default>
|
|
|
+ <var>ServerMaxPlayerCount</var>
|
|
|
+ <filepath>serverconfig.xml</filepath>
|
|
|
+ <options>tagValueByName</options>
|
|
|
+ </text>
|
|
|
+ <text key="map">
|
|
|
+ <default>property</default>
|
|
|
+ <var>GameWorld</var>
|
|
|
+ <filepath>serverconfig.xml</filepath>
|
|
|
+ <options>tagValueByName</options>
|
|
|
+ </text>
|
|
|
+ <text key="control_password">
|
|
|
+ <default>property</default>
|
|
|
+ <var>ControlPanelPassword</var>
|
|
|
+ <filepath>serverconfig.xml</filepath>
|
|
|
+ <options>tagValueByName</options>
|
|
|
+ </text>
|
|
|
+ <text key="control_password">
|
|
|
+ <default>property</default>
|
|
|
+ <var>TelnetPassword</var>
|
|
|
+ <filepath>serverconfig.xml</filepath>
|
|
|
+ <options>tagValueByName</options>
|
|
|
+ </text>
|
|
|
+ <text key="home_path">
|
|
|
+ <default>(.*)(property\s+name="SaveGameFolder"\s+value=")(.*)(")(.*>)(.*<.*>.*)</default>
|
|
|
+ <var> <${2}%key%/Saves${4}/>${6}</var>
|
|
|
+ <filepath>serverconfig.xml</filepath>
|
|
|
+ <options>key-regex</options>
|
|
|
+ </text>
|
|
|
+ </replace_texts>
|
|
|
+ <custom_fields>
|
|
|
+ <field key="Game Name" type="text">
|
|
|
+ <default>property</default>
|
|
|
+ <default_value>My Game</default_value>
|
|
|
+ <var>GameName</var>
|
|
|
+ <filepath>serverconfig.xml</filepath>
|
|
|
+ <options>tagValueByName</options>
|
|
|
+ <desc>Whatever you want the game name to be (this controls the random generation seed as well).</desc>
|
|
|
+ </field>
|
|
|
+ <field key="Control Panel Enabled" type="select">
|
|
|
+ <option value="false">False</option>
|
|
|
+ <option value="true">True</option>
|
|
|
+ <default>property</default>
|
|
|
+ <default_value>false</default_value>
|
|
|
+ <var>ControlPanelEnabled</var>
|
|
|
+ <filepath>serverconfig.xml</filepath>
|
|
|
+ <options>tagValueByName</options>
|
|
|
+ <desc>Enable/Disable the control panel.</desc>
|
|
|
+ </field>
|
|
|
+ <field key="Control Panel Port" type="text">
|
|
|
+ <default>property</default>
|
|
|
+ <default_value>8080</default_value>
|
|
|
+ <var>ControlPanelPort</var>
|
|
|
+ <filepath>serverconfig.xml</filepath>
|
|
|
+ <options>tagValueByName</options>
|
|
|
+ <desc>Port of the control panel webpage.</desc>
|
|
|
+ </field>
|
|
|
+ <field key="Telnet Enabled" type="select">
|
|
|
+ <option value="false">False</option>
|
|
|
+ <option value="true">True</option>
|
|
|
+ <default>property</default>
|
|
|
+ <default_value>true</default_value>
|
|
|
+ <var>TelnetEnabled</var>
|
|
|
+ <filepath>serverconfig.xml</filepath>
|
|
|
+ <options>tagValueByName</options>
|
|
|
+ <desc>Enable/Disable the Telnet.</desc>
|
|
|
+ </field>
|
|
|
+ <field key="Telnet Port" type="text">
|
|
|
+ <default>property</default>
|
|
|
+ <default_value>8081</default_value>
|
|
|
+ <var>TelnetPort</var>
|
|
|
+ <filepath>serverconfig.xml</filepath>
|
|
|
+ <options>tagValueByName</options>
|
|
|
+ <desc>Port of the Telnet server.</desc>
|
|
|
+ </field>
|
|
|
+ <field key="Max Spawned Zombies" type="text">
|
|
|
+ <default>property</default>
|
|
|
+ <default_value>60</default_value>
|
|
|
+ <var>MaxSpawnedZombies</var>
|
|
|
+ <filepath>serverconfig.xml</filepath>
|
|
|
+ <options>tagValueByName</options>
|
|
|
+ <desc>Making this number too large (more than about 80) may cause servers to run at poor framerates which will effect lag and play quality for clients.</desc>
|
|
|
+ </field>
|
|
|
+ <field key="EAC Enabled" type="select">
|
|
|
+ <option value="false">False</option>
|
|
|
+ <option value="true">True</option>
|
|
|
+ <default>property</default>
|
|
|
+ <default_value>true</default_value>
|
|
|
+ <var>EACEnabled</var>
|
|
|
+ <filepath>serverconfig.xml</filepath>
|
|
|
+ <options>tagValueByName</options>
|
|
|
+ <desc>Enables/Disables EasyAntiCheat.</desc>
|
|
|
+ </field>
|
|
|
+ </custom_fields>
|
|
|
+ <configuration_files>
|
|
|
+ <file description="Server Configuration">serverconfig.xml</file>
|
|
|
+ <file description="Admin Configuration">Saves/serveradmin.xml</file>
|
|
|
+ </configuration_files>
|
|
|
+</game_config>
|