7dtd

by thelande

Helm chartv0.6.5App 0.6.1Verified publisher

A Helm chart to deploy the 7 Days to Die Dedicated Server

About this chart

7dtd

A Helm chart to deploy the 7 Days to Die Dedicated Server

Maintainers

NameEmailUrl
Tom Helander[email protected]

Source Code

Requirements

RepositoryNameVersion
https://bjw-s-labs.github.io/helm-charts/common5.0.1

Values

KeyTypeDefaultDescription
sdtd-exporter.apiUrlstring""URL of the game server dashboard service.
sdtd-exporter.authSecretstring""Name of the secret containing the keys name and token with the API token.
sdtd-exporter.enabledboolfalseEnable the Prometheus exporter
sdtd-exporter.image.pullPolicystring"Always"
sdtd-exporter.image.repositorystring"thelande/sdtd_exporter"
sdtd-exporter.image.tagstring"v0.2.2"
sdtd-exporter.serviceMonitor.enabledboolfalseEnable the service monitor.
sdtd-exporter.serviceMonitor.scrapeIntervalstring"60s"Scrape interval of the service monitor.
sdtd.allocsFixes.enabledboolfalseDeploy Alloc's Fixes when true.
sdtd.allocsFixes.overrideVersionstring""Override the version to be installed. See https://illy.bz/fi/7dtd/ for a list of available versions. This field should be the vXX_YY_ZZ portion of the filename (example: v30_38_52). An empty value means to use the latest from https://illy.bz/fi/7dtd/server_fixes.tar.gz
sdtd.containerSecurityContext.allowPrivilegeEscalationboolfalse
sdtd.containerSecurityContext.capabilities.drop[0]string"ALL"
sdtd.containerSecurityContext.readOnlyRootFilesystemboolfalse
sdtd.containerSecurityContext.runAsGroupint1000
sdtd.containerSecurityContext.runAsNonRootbooltrue
sdtd.containerSecurityContext.runAsUserint1000
sdtd.containerSecurityContext.seccompProfile.typestring"RuntimeDefault"
sdtd.image.pullPolicystring"Always"
sdtd.image.repositorystring"thelande/7dtd"
sdtd.image.tagstring""
sdtd.ingressobject{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"labels":{},"tls":[]}Ingress for the admin web dashboard
sdtd.persistence.dataobject{"accessMode":"ReadWriteOnce","existingClaim":"","size":"20Gi","storageClass":""}Configuration for the game data file PVC storage.
sdtd.persistence.steamobject{"accessMode":"ReadWriteOnce","existingClaim":"","size":"500Mi","storageClass":""}Configuration for the steam client file PVC storage.
sdtd.podSecurityContext.fsGroupint1000
sdtd.podSecurityContext.fsGroupChangePolicystring"OnRootMismatch"
sdtd.podSecurityContext.runAsGroupint1000
sdtd.podSecurityContext.runAsNonRootbooltrue
sdtd.podSecurityContext.runAsUserint1000
sdtd.probes.enabledboolfalse
sdtd.resourcesobject{}
sdtd.routeobject{"annotations":{},"enabled":false,"hostnames":[],"labels":{},"parentRefs":[]}HTTPRoute for the admin web dashboard
sdtd.serverConfig.admin.enableMapRenderingboolfalseEnable/disable rendering of the map to tile images while exploring it. This is used e.g. by the web dashboard to display a view of the map.
sdtd.serverConfig.admin.telnetEnabledboolfalseEnable/Disable the telnet interface.
sdtd.serverConfig.admin.telnetFailedLoginLimitint10After this many wrong passwords from a single remote client the client will be blocked from connecting to the Telnet interface
sdtd.serverConfig.admin.telnetFailedLoginsBlocktimeint10How long will the block persist (in seconds).
sdtd.serverConfig.admin.telnetPasswordSecretstring""Secret containing the password to gain entry to telnet interface. If no password is set the server will only listen on the local loopback interface. Must contain a value named "password" containing the password.
sdtd.serverConfig.admin.telnetPortint8081Port of the telnet server.
sdtd.serverConfig.admin.webDashboardEnabledboolfalseEnable/disable the web dashboard.
sdtd.serverConfig.admin.webDashboardPortint8080Port of the web dashboard. Should match the webDashboardService.port value above.
sdtd.serverConfig.admin.webDashboardUrlstring""External URL to the web dashboard if not just using the public IP of the server, e.g. if the web dashboard is behind a reverse proxy. Needs to be the full URL, like "https://domainOfReverseProxy.tld:1234/". Can be left empty if directly using the public IP and dashboard port. Should match the ingress host and path above.
sdtd.serverConfig.gameplay.difficulty.playerSafeZoneHoursint5Hours in world time this safe zone exists.
sdtd.serverConfig.gameplay.difficulty.playerSafeZoneLevelint5If a player is less than or equal to this level he will create a safe zone (no enemies) when spawned.
sdtd.serverConfig.gameplay.gameRules.allowSpawnNearFriendint2Can new players joining the server for the first time select to join near any friend playing at the same time? 0 = Disabled, 1 = Always, 2 = Only near friends in forest biome.
sdtd.serverConfig.gameplay.gameRules.bedrollDeadZoneSizeint15Size (box "radius", so a box with 2 times the given value for each side's length) 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.
sdtd.serverConfig.gameplay.gameRules.bedrollExpiryTimeint45Number of days a bedroll stays active after owner was last online.
sdtd.serverConfig.gameplay.gameRules.buildCreateboolfalseCheat mode on/off
sdtd.serverConfig.gameplay.gameRules.cameraRestrictionModeint00 = Players can freely swap between first and third person camera modes, 1 = Restricted to first person, 2 = Restricted to third person.
sdtd.serverConfig.gameplay.landClaim.dynamicMeshEnabledbooltrueIs Dynamic Mesh system enabled.
sdtd.serverConfig.gameplay.landClaim.dynamicMeshLandClaimBufferint3Dynamic Mesh LCB chunk radius.
sdtd.serverConfig.gameplay.landClaim.dynamicMeshLandClaimOnlybooltrueIs Dynamic Mesh system only active in player LCB areas.
sdtd.serverConfig.gameplay.landClaim.dynamicMeshMaxItemCacheint3How many items can be processed concurrently, higher values use more RAM.
sdtd.serverConfig.gameplay.landClaim.landClaimCountint3Maximum allowed land claims per player.
sdtd.serverConfig.gameplay.landClaim.landClaimDeadZoneint30Land claim blocks must be this many blocks apart (unless you are friends with the other player).
sdtd.serverConfig.gameplay.landClaim.landClaimDecayModeint0Controls how offline players land claims decay. 0=Slow (Linear), 1=Fast (Exponential), 2=None (Full protection until claim is expired).
sdtd.serverConfig.gameplay.landClaim.landClaimExpiryTimeint7The number of days a player can be offline before their claims expire and are no longer protected.
sdtd.serverConfig.gameplay.landClaim.landClaimOfflineDelayint0The number of minutes after a player logs out that the land claim area hardness transitions from online to offline. Default is 0.
sdtd.serverConfig.gameplay.landClaim.landClaimOfflineDurabilityModifierint4How 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.
sdtd.serverConfig.gameplay.landClaim.landClaimOnlineDurabilityModifierint4How 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.
sdtd.serverConfig.gameplay.landClaim.landClaimSizeint41Size in blocks that is protected by a land claim block.
sdtd.serverConfig.gameplay.landClaim.twitchBloodMoonAllowedboolfalseIf the server allows twitch actions during a blood moon. This could cause server lag with extra zombies being spawned during blood moon.
sdtd.serverConfig.gameplay.landClaim.twitchServerPermissionint90Required permission level to use twitch integration on the server.
sdtd.serverConfig.gameplay.misc.sandboxCodestring"AAAJABJACJADJARFBNC"Currently set to the default difficulty of Adventurer. This code can be changed by starting the new game screen, clicking on the sandbox options button, adjusting the options, and then using the copy code button to paste it here. Code example: AAAJABJACJADJARFBNC See https://7d2d.net/7-days-to-die-sandbox-code-generator for a code generator.
sdtd.serverConfig.gameplay.multiplayer.partySharedKillRangeint100The distance you must be within to receive party shared kill xp and quest party kill objective credit.
sdtd.serverConfig.gameplay.multiplayer.playerKillingModeint3Player Killing Settings (0 = No Killing, 1 = Kill Allies Only, 2 = Kill Strangers Only, 3 = Kill Everyone).
sdtd.serverConfig.gameplay.performance.maxQueuedMeshLayersint1000Maximum amount of Chunk mesh layers that can be enqueued during mesh generation. Reducing this will improve memory usage but may increase Chunk generation time.
sdtd.serverConfig.gameplay.performance.maxSpawnedAnimalsint50If 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. Do not set this higher than 90.
sdtd.serverConfig.gameplay.performance.maxSpawnedZombiesint64This setting covers the entire map. There can only be this many zombies on the entire map at one time. Changing this setting has a huge impact on performance. It is not recommended to exceed 90 on recommended hardware, or 128 on high-end hardware.
sdtd.serverConfig.gameplay.performance.serverMaxAllowedViewDistanceint12Max viewdistance a client may request (6 - 12). High impact on memory usage and performance.
sdtd.serverConfig.gameplay.world.gameModestring"GameModeSurvival"The game mode (only option now is GameModeSurvival)
sdtd.serverConfig.gameplay.world.gameNamestring"MyGame"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.
sdtd.serverConfig.gameplay.world.gameWorldstring"Navezgane""RWG" (see WorldGenSeed and WorldGenSize options below) or any already existing world name in the Worlds folder (currently shipping with e.g. "Navezgane", "Pregen04k1", ...).
sdtd.serverConfig.gameplay.world.worldGenSeedstring"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.
sdtd.serverConfig.gameplay.world.worldGenSizeint6144If 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
sdtd.serverConfig.networking.serverDisabledNetworkProtocolsstring""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. LiteNetLib should only be disabled for temporary troubleshooting as doing so will greatly degrade network optimization in the server client.
sdtd.serverConfig.networking.serverMaxWorldTransferSpeedKiBsint512Maximum (!) speed in kiB/s the world is transferred at to a client on first connect if it does not have the world yet. Maximum is about 1300 kiB/s, even if you set a higher value. 1300kiB/s is roughly equivalent to 10Mbps.
sdtd.serverConfig.networking.serverPortint26900Port you want the server to listen on. Keep it in the ranges 26900 to 26905 or 27015 to 27020 if you want PCs on the same LAN to find it as a LAN server. Should match the gameService.port value above.
sdtd.serverConfig.networking.serverVisibilityint2Visibility 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.
sdtd.serverConfig.other.eacEnabledbooltrueEnables/Disables EasyAntiCheat.
sdtd.serverConfig.other.hideCommandExecutionLogint0Hide logging of command execution. 0 = show everything, 1 = hide only from Telnet/ControlPanel, 2 = also hide from remote game clients, 3 = hide everything
sdtd.serverConfig.other.ignoreEOSSanctionsboolfalseIgnore EOS sanctions when allowing players to join. (not 10

Deploy 7dtd with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has 7dtd on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chart7dtd is pinned at v0.6.5 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply