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

7 Days to Die xml update

- Removed totally the "cli_template", "cli_params" and "post_install", which used to have a trap to do saveworld before shutdown the game server, the game server can be configurated to do automatic backup by ServerTools Mod which is quite useful and popular software and the serveradmin also can do saveworld command anytime in console or remote
- Up-to-dated the startup command line with new settings (-quit, -batchmode, -noghraphics and -dedicated)
- Decreased "max_user_amount" to 64, I don't know the max limit, there is no informations or only one the TFP recommend max 8 only, but anyway noone use more than 40 slots, server uses extremly lot resources above 10-20 slots or if it's not exist the server just have massive lags
- Added anonymous Steam download
- Added Latest Experimental mod key to able to have unstable version of the game, it could be important who wants to try the new big patch before the public release
- Removed forcing set the query port to Telnet port and added a custom field with the default port number
- Removed tons of game settings from custom field, those server or game settings can be changed anytime in the serversettings.xml file or now in the OGP Configurations Edit menu (these settings can be changed and already changed many times by devs and if it is outdated can do crash, problems, etc.)
- Added EditConfigFiles module support, 2 important and default config files named serverconfig.xml and serveradmin.xml can be edit now from the menu
- Updated LGSL protocol
- Added support for Windows 64 bit OS
- Replaced the game icon to the new one
- Tons of cosmetics corrections
rocco27 8 лет назад
Родитель
Сommit
9c9de2c3ac

BIN
images/icons/7dtd.png


+ 137 - 455
modules/config_games/server_configs/7daystodie_linux32.xml

@@ -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=&quot;SaveGameFolder&quot;\s+value=&quot;)(.*)(&quot;)(.*&gt;)(.*&lt;.*&gt;.*)</default>
-      <var>  &lt;${2}%key%/Saves${4}/&gt;${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 &apos;#!/bin/bash
-SERVER_CMD=&quot;./7DaysToDieServer.x86 -configfile=serverconfig.xml -logfile 7DaysToDieServer_Data/output_log.txt&quot;
-while getopts &quot;:i:p:t:&quot; 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 &amp;
-trap shutdown EXIT
-shutdown()
-{
-  echo "$PASSWORD"    &gt; nc_commands.txt
-  echo "sleep 1"      &gt;&gt; nc_commands.txt
-  echo "shutdown"     &gt;&gt; nc_commands.txt
-  echo "exit"         &gt;&gt; nc_commands.txt
-
-  nc ${IP} ${TPORT} &lt; nc_commands.txt
-  rm nc_commands.txt
-
-  exit 0
-}
-
-while :
-do
-        sleep 60
-done
-
-exit 0&apos; &gt; 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=&quot;SaveGameFolder&quot;\s+value=&quot;)(.*)(&quot;)(.*&gt;)(.*&lt;.*&gt;.*)</default>
+      <var>  &lt;${2}%key%/Saves${4}/&gt;${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>

+ 137 - 454
modules/config_games/server_configs/7daystodie_linux64.xml

@@ -1,454 +1,137 @@
-<game_config>
-  <game_key>7daystodie_linux64</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=&quot;SaveGameFolder&quot;\s+value=&quot;)(.*)(&quot;)</default>
-      <var>${1}%key%/Saves${3}</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="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>
-    <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>
-  </custom_fields>
-  <post_install>
-echo &apos;#!/bin/bash
-SERVER_CMD=&quot;./7DaysToDieServer.x86_64 -configfile=serverconfig.xml -logfile 7DaysToDieServer_Data/output_log.txt&quot;
-while getopts &quot;:i:p:t:&quot; 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_64 ]
-  then
-    cp 7DaysToDieServer.x86_64 7DaysToDieServer.x86_64.temp
-    rm 7DaysToDieServer.x86_64
-    mv 7DaysToDieServer.x86_64.temp 7DaysToDieServer.x86_64
-    chmod +x 7DaysToDieServer.x86_64
-    chattr +i 7DaysToDieServer.x86_64
-fi
-nohup $SERVER_CMD &amp;
-trap shutdown EXIT
-shutdown()
-{
-  echo "$PASSWORD"    &gt; nc_commands.txt
-  echo "sleep 1"      &gt;&gt; nc_commands.txt
-  echo "shutdown"     &gt;&gt; nc_commands.txt
-  echo "exit"         &gt;&gt; nc_commands.txt
-
-  nc ${IP} ${TPORT} &lt; nc_commands.txt
-  rm nc_commands.txt
-
-  exit 0
-}
-
-while :
-do
-        sleep 60
-done
-
-exit 0&apos; &gt; 7dtd_run.sh
-  </post_install>
-</game_config>
+<game_config>
+  <game_key>7daystodie_linux64</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_64</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=&quot;SaveGameFolder&quot;\s+value=&quot;)(.*)(&quot;)(.*&gt;)(.*&lt;.*&gt;.*)</default>
+      <var>  &lt;${2}%key%/Saves${4}/&gt;${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>

+ 137 - 0
modules/config_games/server_configs/7daystodie_win64.xml

@@ -0,0 +1,137 @@
+<game_config>
+  <game_key>7daystodie_win64</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.exe</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=&quot;SaveGameFolder&quot;\s+value=&quot;)(.*)(&quot;)(.*&gt;)(.*&lt;.*&gt;.*)</default>
+      <var>  &lt;${2}%key%/Saves${4}/&gt;${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>

+ 3 - 3
protocol/lgsl/lgsl_protocol.php

@@ -21,7 +21,7 @@ if (!function_exists('lgsl_version')) { // START OF DOUBLE LOAD PROTECTION
 	function lgsl_type_list()
 	{
 		return array(
-		"7dtd"			=> "7 Days To Die",
+		"7dtd"			=> "7 Days to Die",
 		"aarmy"			=> "Americas Army",
 		"aarmy3"		=> "Americas Army 3",
 		"aliensvspredator"	=> "Aliens vs Predator",
@@ -313,7 +313,7 @@ if (!function_exists('lgsl_version')) { // START OF DOUBLE LOAD PROTECTION
 	function lgsl_software_link($type, $ip, $c_port, $q_port, $s_port)
 	{
 		$lgsl_software_link = array(
-		"7dtd"			=> "http://7daystodie.com/",
+		"7dtd"			=> "steam://connect/{IP}:{S_PORT}",
 		"aarmy"			=> "qtracker://{IP}:{S_PORT}?game=ArmyOperations&action=show",
 		"aarmy3"		=> "qtracker://{IP}:{S_PORT}?game=AmericasArmy3&action=show",
 		"aliensvspredator"	=> "steam://connect/{IP}:{Q_PORT}",
@@ -465,7 +465,7 @@ if (!function_exists('lgsl_version')) { // START OF DOUBLE LOAD PROTECTION
 	{
 		switch ($type) // GAMES WHERE Q_PORT IS NOT EQUAL TO C_PORT
 		{
-			case "7dtd"				: $c_to_q = 1;		$c_def = 25000;	$q_def = 25001;	$c_to_s = 0;	break;
+			case "7dtd"				: $c_to_q = 1;		$c_def = 26900;	$q_def = 26901;	$c_to_s = 0;	break;
 			case "aarmy"			: $c_to_q = 1;		$c_def = 1716;	$q_def = 1717;	$c_to_s = 0;	break;
 			case "aarmy3"			: $c_to_q = 0;		$c_def = 8777;	$q_def = 39300;	$c_to_s = 0;	break;
 			case "aliensvspredator"	: $c_to_q = -23357;	$c_def = 27015;	$q_def = 3658;	$c_to_s = 0;	break;