Jump to content

serverconfig.xml Reference for Alpha 17


willrune

Recommended Posts

serverconfig.xml Reference for Alpha 17 build 240 (Stable)

 

Tabs replaced with spaces for consistent presentation.

 

<?xml version="1.0"?>
<ServerSettings>
 <property name="ServerPort"                            value="26900"/>               <!-- Port you want the server to listen on. -->
 <property name="ServerVisibility"                      value="2"/>                   <!-- Visibility of this server: 2 = public, 1 = only shown to friends, 0 = not listed. As you are never friend of a dedicated server setting this to "1" will only work when the first player connects manually by IP. -->
 <property name="ServerName"                            value="My Game Host"/>        <!-- Whatever you want the name of the server to be. -->
 <property name="ServerPassword"                        value=""/>                    <!-- Password to gain entry to the server -->
 <property name="ServerMaxPlayerCount"                  value="8"/>                   <!-- Maximum Concurrent Players -->
 <property name="ServerReservedSlots"                   value="0"/>                   <!-- Out of the MaxPlayerCount this many slots can only be used by players with a specific permission level -->
 <property name="ServerReservedSlotsPermission"         value="100"/>                 <!-- Required permission level to use reserved slots above -->
 <property name="ServerAdminSlots"                      value="0"/>                   <!-- This many admins can still join even if the server has reached MaxPlayerCount -->
 <property name="ServerAdminSlotsPermission"            value="0"/>                   <!-- Required permission level to use the admin slots above -->

 <property name="ServerDescription"                     value="A 7 Days to Die server"/> <!-- Whatever you want the server description to be, will be shown in the server browser. -->
 <property name="ServerWebsiteURL"                      value=""/>                    <!-- Website URL for the server, will be shown in the serverbrowser as a clickable link -->
 <property name="ServerDisabledNetworkProtocols"        value="SteamNetworking"/>     <!-- Networking protocols that should not be used. Separated by comma. Possible values: LiteNetLib, SteamNetworking. Dedicated servers should disable SteamNetworking if there is no NAT router in between your users and the server or when port-forwarding is set up correctly -->

 <property name="GameWorld"                             value="Navezgane"/>           <!-- RWG (see WorldGenSeed and WorldGenSize options below) or any already existing world name in the Worlds folder (currently shipping with Navezgane) -->
 <property name="WorldGenSeed"                          value="asdf"/>                <!-- If RWG this is the seed for the generation of the new world. If a world with the resulting name already exists it will simply load it -->
 <property name="WorldGenSize"                          value="4096"/>                <!-- If RWG this controls the width and height of the created world. It is also used in combination with WorldGenSeed to create the internal RWG seed thus also creating a unique map name even if using the same WorldGenSeed. Has to be between 2048 and 16384, though large map sizes will take long to generate / download / load -->
 <property name="GameName"                              value="My Game"/>             <!-- Whatever you want the game name to be. This affects the save game name as well as the seed used when placing decoration (trees etc) in the world. It does not control the generic layout of the world if creating an RWG world -->
 <property name="GameDifficulty"                        value="2"/>                   <!-- 0 - 5, 0=easiest, 5=hardest -->
 <property name="GameMode"                              value="GameModeSurvival"/>    <!-- GameModeSurvival -->

 <property name="ZombiesRun"                            value="0" />                  <!-- OLD!  0 = default day/night walk/run, 1 = never run, 2 = always run; this setting ONLY affects regular zombies, some zombies like ferals always run -->
 <property name="ZombieMove"                            value="0" />                  <!-- 0-4 (walk, jog, run, sprint, nightmare) -->
 <property name="ZombieMoveNight"                       value="3" />                  <!-- 0-4 (walk, jog, run, sprint, nightmare) -->
 <property name="ZombieFeralMove"                       value="3" />                  <!-- 0-4 (walk, jog, run, sprint, nightmare) -->
 <property name="ZombieBMMove"                          value="3" />                  <!-- 0-4 (walk, jog, run, sprint, nightmare) -->
 <property name="BuildCreate"                           value="false" />              <!-- cheat mode on/off -->
 <property name="DayNightLength"                        value="60" />                 <!-- real time minutes per in game day: 60 minutes -->
 <property name="DayLightLength"                        value="18" />                 <!-- in game hours the sun shines per day: 18 hours day light per in game day -->
 <property name="PlayerKillingMode"                     value="3" />                  <!-- Player Killing Settings (0 = No Killing, 1 = Kill Allies Only, 2 = Kill Strangers Only, 3 = Kill Everyone) -->
 <property name="PersistentPlayerProfiles"              value="false" />              <!-- If disabled a player can join with any selected profile. If true they will join with the last profile they joined with -->

 <property name="PlayerSafeZoneLevel"                   value="5" />                  <!-- If a player is less or equal this level he will create a safe zone (no enemies) when spawned -->
 <property name="PlayerSafeZoneHours"                   value="5" />                  <!-- Hours in world time this safe zone exists -->

 <property name="ControlPanelEnabled"                   value="false"/>               <!-- Enable/Disable the web control panel -->
 <property name="ControlPanelPort"                      value="8080"/>                <!-- Port of the control panel webpage -->
 <property name="ControlPanelPassword"                  value="CHANGEME"/>            <!-- Password to gain entry to the control panel -->

 <property name="TelnetEnabled"                         value="true"/>                <!-- Enable/Disable the telnet -->
 <property name="TelnetPort"                            value="8081"/>                <!-- Port of the telnet server -->
 <property name="TelnetPassword"                        value=""/>                    <!-- Password to gain entry to telnet interface. If no password is set the server will only listen on the local loopback interface -->
 <property name="TelnetFailedLoginLimit"                value="10"/>                  <!-- After this many wrong passwords from a single remote client the client will be blocked from connecting to the Telnet interface -->
 <property name="TelnetFailedLoginsBlocktime"           value="10"/>                  <!-- How long will the block persist (in seconds) -->

 <property name="TerminalWindowEnabled"                 value="false"/>               <!-- Show a terminal window for log output / command input (Windows only) -->

 <property name="AdminFileName"                         value="serveradmin.xml"/>     <!-- Server admin file name. Path relative to the SaveGameFolder -->

 <property name="DropOnDeath"                           value="0" />                  <!-- 0 = everything, 1 = toolbelt only, 2 = backpack only, 3 = delete all -->
 <property name="DropOnQuit"                            value="0" />                  <!-- 0 = nothing, 1 = everything, 2 = toolbelt only, 3 = backpack only -->

 <property name="BloodMoonEnemyCount"                   value="8" />                  <!-- The number of zombies spawned during blood moons per player. -->
 <property name="EnemySpawnMode"                        value="true" />               <!-- Enable/Disable enemy spawning -->
 <property name="EnemyDifficulty"                       value="0" />                  <!-- 0 = Normal, 1 = Feral -->

 <property name="BlockDurabilityModifier"               value="100" />                <!-- percentage in whole numbers -->

 <property name="LootAbundance"                         value="100" />                <!-- percentage in whole numbers -->
 <property name="LootRespawnDays"                       value="30" />                 <!-- days in whole numbers -->

 <!-- CONTINUED IN NEXT POST -->

Link to comment
Share on other sites


 <property name="LandClaimSize"                         value="41"/>                  <!-- Size in blocks that is protected by a keystone -->
 <property name="LandClaimDeadZone"                     value="30"/>                  <!-- Keystones must be this many blocks apart (unless you are friends with the other player) -->
 <property name="LandClaimExpiryTime"                   value="3"/>                   <!-- The number of days a player can be offline before their claims expire and are no longer protected -->
 <property name="LandClaimDecayMode"                    value="0"/>                   <!-- Controls how offline players land claims decay. All claims have full protection for the first 24hrs. 0=Linear, 1=Exponential, 2=Full protection until claim is expired. -->
 <property name="LandClaimOnlineDurabilityModifier"     value="4"/>                   <!-- How much protected claim area block hardness is increased when a player is online. 0 means infinite (no damage will ever be taken). Default is 4x -->
 <property name="LandClaimOfflineDurabilityModifier"    value="4"/>                   <!-- How much protected claim area block hardness is increased when a player is offline. 0 means infinite (no damage will ever be taken). Default is 4x -->

 <property name="PartySharedKillRange"                  value="100"/>                 <!-- The distance you must be within to receive party shared kill xp and quest party kill objective credit. -->
 <property name="AirDropFrequency"                      value="72"/>                  <!-- How often airdrop occur in game-hours, 0 == never -->
 <property name="AirDropMarker"                         value="false"/>               <!-- Sets if a marker is added to map/compass for air drops. -->
 <property name="MaxSpawnedZombies"                     value="60"/>                  <!-- 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. -->

 <!--
 If your server has a large number of players you can increase this limit to add more wildlife. Animals don't consume as much CPU as zombies.
 NOTE: That this doesn't cause more animals to spawn arbitrarily: The biome spawning system only spawns a certain number of animals in a given
 area, but if you have lots of players that are all spread out then you may be hitting the limit and can increase it.
 -->
 <property name="MaxSpawnedAnimals"                     value="50"/>
 <property name="EACEnabled"                            value="true"/>                <!-- Enables/Disables EasyAntiCheat -->
 <property name="HideCommandExecutionLog"               value="0"/>                   <!-- Hide logging of command execution. 0 = show everything, 1 = hide only from Telnet/ControlPanel, 2 = also hide from remote game clients, 3 = hide everything -->
 <property name="MaxUncoveredMapChunksPerPlayer"        value="131072"/>              <!-- Override how many chunks can be uncovered on the ingame map by each player. Resulting max map file size limit per player is (x * 512 Bytes), uncovered area is (x * 256 m²). Default 131072 means max 32 km² can be uncovered at any time -->
 <property name="BedrollDeadZoneSize"                   value="15"/>                  <!-- Size of bedroll deadzone, no zombies will spawn inside this area, and any cleared sleeper volumes that touch a bedroll deadzone will not spawn after they've been cleared. -->

 <!--property name="SaveGameFolder"      value="absolute path" /-->    <!-- use this to override the default save game path -->

 <property name="ServerLoginConfirmationText" value="" />                             <!-- If set the user will see the message during joining the server and has to confirm it before continuing -->

 <!-- There are several game settings that you cannot change when starting a new game.
 You can use console commands to change at least some of them ingame.
 setgamepref BedrollDeadZoneSize 30 -->
</ServerSettings>

Link to comment
Share on other sites

<property name="GameWorld"                             value="Navezgane"/>           <!-- RWG (see WorldGenSeed and WorldGenSize options below) or any already existing world name in the Worlds folder (currently shipping with Navezgane) -->

 

So currently dedicated server not working with Generated map ? I try just copy Empty or Playtesting to new folder named Generated but that doesnt work at all Empty map header is version 16 and Playtesting is outdated too. And it looks like i need that files.

 

And also dedicated server documentation and wiki is non-existent. Just terrible support for dedicated server.

 

Server scripts:

https://7dtd.illy.bz/ [Outdated server config for A17]

https://linuxgsm.com/ [Outdated server config for A17]

Link to comment
Share on other sites

xPakrikx: I may be misunderstanding what you're saying, but YES, dedicated servers are working fine with Generated maps. Here's an example of my server's config:

 

 <property name="GameWorld"                             value="RWG"/>           <!-- RWG (see WorldGenSeed and WorldGenSize options below) or any already existing world name in the Worlds folder (currently shipping with Navezgane) -->
 <property name="WorldGenSeed"                          value="ZaphotA15"/>                <!-- If RWG this is the seed for the generation of the new world. If a world with the resulting name already exists it will simply load it -->
 <property name="WorldGenSize"                          value="10240"/>                <!-- If RWG this controls the width and height of the created world. It is also used in combination with WorldGenSeed to create the internal RWG seed thus also creating a unique map name even if using the same WorldGenSeed. Has to be between 2048 and 16384, though large map sizes will take long to generate / download / load -->
 <property name="GameName"                              value="SaveGameFolder"/>             <!-- Whatever you want the game name to be. This affects the save game name as well as the seed used when placing decoration (trees etc) in the world. It does not control the generic layout of the world if creating an RWG world -->

 

a. Replace the "Navezgane" with "RWG" (for Random World Generation)

b. Change the "asdf" (WorldGenSeed) to most anything you want... this is the "seed" name used to generate the new world. Anyone can use the same seed name to get the same world... popular among YouTubers. I used "ZaphotA15" on my server.

c. The "My Folder" (GameName) is the name of the folder your game will be saved to. It has no effect on the world itself.

-Phoenix125.com

Link to comment
Share on other sites

I'm afraid I don't know, and this wouldn't be the thread to ask. My intent with this post was to serve as a reference since the wiki hasn't been updated to reflect Alpha 17 yet.

 

I don't run servers, but I do configure them and have them hosted on services such as those that can be found here: https://7daystodie.com/forums/showthread.php?14553-Recommended-Server-Partners

 

I'm not trying to be rude, but you will probably get more relevant attention to your problem by starting your own thread using an appropriate title.

Link to comment
Share on other sites

xPakrikx: I may be misunderstanding what you're saying, but YES, dedicated servers are working fine with Generated maps. Here's an example of my server's config:

 

 <property name="GameWorld"                             value="RWG"/>           <!-- RWG (see WorldGenSeed and WorldGenSize options below) or any already existing world name in the Worlds folder (currently shipping with Navezgane) -->
 <property name="WorldGenSeed"                          value="ZaphotA15"/>                <!-- If RWG this is the seed for the generation of the new world. If a world with the resulting name already exists it will simply load it -->
 <property name="WorldGenSize"                          value="10240"/>                <!-- If RWG this controls the width and height of the created world. It is also used in combination with WorldGenSeed to create the internal RWG seed thus also creating a unique map name even if using the same WorldGenSeed. Has to be between 2048 and 16384, though large map sizes will take long to generate / download / load -->
 <property name="GameName"                              value="SaveGameFolder"/>             <!-- Whatever you want the game name to be. This affects the save game name as well as the seed used when placing decoration (trees etc) in the world. It does not control the generic layout of the world if creating an RWG world -->

 

a. Replace the "Navezgane" with "RWG" (for Random World Generation)

b. Change the "asdf" (WorldGenSeed) to most anything you want... this is the "seed" name used to generate the new world. Anyone can use the same seed name to get the same world... popular among YouTubers. I used "ZaphotA15" on my server.

c. The "My Folder" (GameName) is the name of the folder your game will be saved to. It has no effect on the world itself.

-Phoenix125.com

 

THANKS - "RWG" did the trick. I've tried to search for SO LONG, but couldnt' find anything. Would love to have Github-support for the scripts, so that users had a chance to see issues - and raise + fix them :-) SEO for this site isn't that great, and i could not find it on this forum with the search-function :-)

Link to comment
Share on other sites

  • 8 months later...

changing to custom map on server through g-portal - help needed

 

[quote=

a. Replace the "Navezgane" with "RWG" (for Random World Generation)

b. Change the "asdf" (WorldGenSeed) to most anything you want... this is the "seed" name used to generate the new world. Anyone can use the same seed name to get the same world... popular among YouTubers. I used "ZaphotA15" on my server.

c. The "My Folder" (GameName) is the name of the folder your game will be saved to. It has no effect on the world itself.

-Phoenix125.com

 

 

 

Now I have a custom GameWorld and have a server through G-Portal now name of game world is badlands and its move in the world folder so now with serverconfig.xml, on the server of course, I change to?

 

<property name="GameWorld" value="badlands"/>

<property name="WorldGenSeed" value="badlands"/>

<property name="WorldGenSize" value="16384"/>

<property name="GameName" value="badlands"/>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...