Vous êtes sur la page 1sur 7

Configuring a Steam Hammer server

Database Installation and Configuration:


1. Go to ​https://downloads.mariadb.org/
2. Choose the right version of the Database and click the ​Download ​button

3. Depending on your OS bit type, select either ​winx64.msi​ or ​winx32.msi​ and download
the installer
4. When asked to fill out a form, click the ​No thanks, just take me to the download
button. This will initiate the download process

5. Install the downloaded file. In the settings window use ​root ​for password. Keep all the
other settings by default. After the installation, the database configuration is
completed
Configuring and launching the server:
1. Go to Steam. Click on LIBRARY -> Tools
2. Select ​Steam Hammer Dedicated Server​ from the list and install it.
3. After the installation, go to the directory with the installed server.
(Right-click on the installed server, choose Properties from the dropdown menu, select the
LOCAL FILES tab, then click on the BROWSE LOCAL FILES... button.)
4. Find ​ddctd_sh_server.exe​ file and create a desktop shortcut
5. Create a text file called ​steam_appid.txt​ in the same directory, open it and enter:
530560
6. Download the following file:
http://update.gamefactory.by/steamhammer/serverconfig/world_1.xml​ and save it in
the config folder. Alternatively, go to the config directory and create ​world_1.xml​ file.
Open the file with notepad or other editor and copy and paste the following strings.
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<config>
<ID>1</ID>
<name>My Home Server</name>
<password></password>
<adminPassword>admin</adminPassword>
<mode>Sandbox</mode>
<isPrivate>0</isPrivate>
<isActive>1</isActive>
<skillsStatsMult>14.8</skillsStatsMult>
<skillcap>3000</skillcap>
<terraformingSpeed>4</terraformingSpeed>
<craftingPeriod>60</craftingPeriod>
<animalBFPeriod>60</animalBFPeriod>
<dayCycle>3</dayCycle>
<animalsCount>10</animalsCount>
<maxPlayers>64</maxPlayers>
<port>30000</port>
<objectDecayRate>0</objectDecayRate>
<movableMaxDropHeightMeters>5</movableMaxDropHeightMeters>
<randomEventChanceWalk>0.003</randomEventChanceWalk>
<randomEventChanceAbility>0.01</randomEventChanceAbility>
<judgementHour>
<startTime>00:00</startTime>
<weekSchedule>
<monday>0</monday>
<tuesday>0</tuesday>
<wednesday>0</wednesday>
<thursday>0</thursday>
<friday>0</friday>
<saturday>0</saturday>
<sunday>0</sunday>
</weekSchedule>
<duration>0</duration>
</judgementHour>
</config>
7. Enter server name and create an admin password in the ​name ​and ​adminPassword
strings. Save and close the file.
8. Exit Steam and run the server from the desktop shortcut.
9. If necessary, forward the ports on your router <port>30000</port> and port+1 for
UDP protocol to connect to Steam and receive connections from other players.
10. Make sure your firewall allows incoming connections to UDP port and port+1

Creating rules on Windows Firewall:

1. Open the firewall and click on ​Advanced settings

2. On the left, select the ​Inbound Rules​ tab


3. Click on ​New Rule...​ in the right column
4. Select ​Program i​ n the Rule Type window and click ​Next
5. Specify the full path to ​ddctd_sh_server.exe​. You can check the path in the shortcut
properties on your desktop. Click ​Next.​
6. Select ​Allow the connection​ in the ​Action​ window. Click ​Next.​
7. Leave everything as it is in the ​Profile​ window. Click ​Next
​ ame​ window, specify the name of the rule, e.g. Steam Hammer. Click ​Finish
8. In the N
9. Complete stages 3-8 for the ​Outbound Rules

Server Update:
1. Run ​quit();​ command in the console and wait for the server to stop
2. Launch Steam and wait for the updates to complete
3. Exit from Steam and start the server from the desktop shortcut.

Vous aimerez peut-être aussi