SHARE
TWEET

Untitled

a guest Mar 8th, 2019 12 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <game_config>
  2.   <game_key>eco_linux64</game_key>
  3.   <protocol>gameq</protocol>
  4.   <gameq_query_name>eco</gameq_query_name>
  5.   <installer>steamcmd</installer>
  6.   <game_name>Eco</game_name>
  7.   <server_exec_name>eco-linux64-ogpstarter.sh</server_exec_name>
  8.   <query_port type="add">1</query_port>
  9.   <max_user_amount>100</max_user_amount>
  10.   <mods>
  11.    <mod key="default">
  12.    <name>None</name>
  13.    <installer_name>739590</installer_name>
  14.    <installer_login>anonymous</installer_login>
  15.    </mod>
  16.   </mods>
  17.   <replace_texts>
  18.     <text key="port">
  19.       <default>GameServerPort":\s\d*</default>
  20.       <var>GameServerPort":</var>
  21.       <filepath>Configs/Network.eco</filepath>
  22.       <options>s</options>
  23.     </text>
  24.     <text key="query_port">
  25.       <default>WebServerPort":\s\d*</default>
  26.       <var>WebServerPort":</var>
  27.       <filepath>Configs/Network.eco</filepath>
  28.       <options>s</options>
  29.     </text>
  30.     <text key="home_name">
  31.       <default>Description":\s"[^",]*</default>
  32.       <var>Description": "</var>
  33.       <filepath>Configs/Network.eco</filepath>
  34.       <options>ns</options>
  35.     </text>
  36.     <text key="max_players">
  37.       <default>MaxConnections":\s[^\n}]*</default>
  38.       <var>MaxConnections":</var>
  39.       <filepath>Configs/Network.eco</filepath>
  40.       <options>s</options>
  41.     </text>
  42.   </replace_texts>
  43.   <custom_fields>
  44.     <field key="PublicServer" type="select">
  45.       <option value="true">Yes</option>
  46.       <option value="false">No</option>
  47.       <default>PublicServer":\s[^,]*</default>
  48.       <default_value>true</default_value>
  49.       <var>PublicServer":</var>
  50.       <filepath>Configs/Network.eco</filepath>
  51.       <options>s</options>
  52.       <desc>Make server viewable by the public via game lobby</desc>
  53.     </field>
  54.     <field key="Password" type="text">
  55.       <default>Password":\s[^,]*</default>
  56.       <default_value></default_value>
  57.       <var>Password":</var>
  58.       <filepath>Configs/Network.eco</filepath>
  59.       <options>sq</options>
  60.       <desc>Password for your server (leave blank if you do not want one)</desc>
  61.     </field>
  62.     <field key="CreateMeteor" type="select">
  63.       <option value="true">Yes</option>
  64.       <option value="false">No</option>
  65.       <default>CreateMeteor":\s[^,]*</default>
  66.       <default_value>true</default_value>
  67.       <var>CreateMeteor":</var>
  68.       <filepath>Configs/Disasters.eco</filepath>
  69.       <options>s</options>
  70.       <desc>Enable or disable meteor disaster</desc>
  71.     </field>
  72.     <field key="MeteorImpactDays" type="text">
  73.       <default>MeteorImpactDays":\s\d*</default>
  74.       <default_value>30</default_value>
  75.       <var>MeteorImpactDays":</var>
  76.       <filepath>Configs/Disasters.eco</filepath>
  77.       <options>s</options>
  78.       <desc>How long until meteor impact (days)</desc>
  79.     </field>
  80.     <field key="x" type="select">
  81.     <option value="72">72</option>
  82.     <option value="100">100</option>
  83.     <option value="140">140</option>
  84.     <option value="172">172</option>
  85.     <option value="200">200</option>
  86.     <default>x":\s[^,]*</default>
  87.     <default_value>72</default_value>
  88.     <var>x":</var>
  89.     <filepath>Configs/WorldGenerator.eco</filepath>
  90.     <options>s</options>
  91.     <desc>World Size (Must be divisible by 4 and equal to y)</desc>
  92.     </field>
  93.     <field key="y" type="select">
  94.     <option value="72">72</option>
  95.     <option value="100">100</option>
  96.     <option value="140">140</option>
  97.     <option value="172">172</option>
  98.     <option value="200">200</option>
  99.     <default>y":\s[^},]*</default>
  100.     <default_value>72</default_value>
  101.     <var>y":</var>
  102.     <filepath>Configs/WorldGenerator.eco</filepath>
  103.     <options>s</options>
  104.     <desc>World Size (Must be divisible by 4 and equal to x)</desc>
  105.     </field>
  106.   </custom_fields>
  107.   <post_install>
  108.    network="Configs/Network.eco"
  109.     if [ -s "$network" ]
  110.       then
  111.         echo "File $network found. OK!"
  112.       else
  113.         echo "File $network not found."
  114.         echo "Generating new Network.eco file in $network!"
  115.         touch $network
  116.         echo "{
  117.   \"PublicServer\": true,
  118.   \"Description\": \"discr\",
  119.   \"ServerCategory\": \"None\",
  120.   \"IPAddress\": \"Any\",
  121.   \"GameServerPort\": 3000,
  122.   \"WebServerPort\": 3001,
  123.   \"Rate\": 20,
  124.   \"MaxConnections\": -1,
  125. }" > $network
  126.     fi  
  127.    echo &apos;#!/bin/bash
  128.    mono EcoServer.exe -nogui &apos; &gt; eco-linux64-ogpstarter.sh
  129.    chmod +x eco-linux64-ogpstarter.sh
  130.   </post_install>
  131.   <configuration_files>
  132.    <file description="Disasters Configuration">Configs/Disasters.eco</file>
  133.    <file description="WorldGenerator Configurations">Configs/WorldGenerator.eco</file>
  134.    <file description="Difficulty Configuration">Configs/Difficulty.eco</file>
  135.    <file description="Profanity Configuration">Configs/Profanity.eco</file>
  136.    <file description="Simulation Configuration">Configs/EcoSim.eco</file>
  137.   </configuration_files>
  138. </game_config>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top