Night of the Dead

Night of the Dead

61 ratings
Dedicated Server Guide
By build and 1 collaborators
How to setup a dedicated server
3
   
Award
Favorite
Favorited
Unfavorite
Prerequisites
64-bit Windows
(Linux is not currently supported. I'm currently working on it.)

8 GB available space
Memory: 16 GB RAM
Install
  • Install SteamCMD on your host (SteamCMD Download Link)
  • Launch SteamCMD on your host and use it to download the server files.(Remove the < > and replace them with double quotes, for example, force_install_dir "C:\NOTDServer")
    (app id : 1420710)


  • Steam> force_install_dir <install_dir>
  • Steam> login anonymous
  • Steam> app_update 1420710 validate
  • Steam> exit

    If you want to install a version of non-default branch, please refer to the following.
    app_update <app_id> [-beta <betaname>] [-betapassword <password>] [validate]
    ex) beta version branch : app_update 1420710 -beta beta_shipping validate

    And if you want to swap back to the live version from other branches.
    In order to switch back to the current live version, you need to specify -beta none using the app_update steamcmd command.
    ex) app_update 1420710 -beta none validate


Port
We basically use the two ports below.
UDP 27015 : Game query port
UDP 7777 : Game client port

Set the ports as an exception in the firewall.
Open these ports through Port-Forwarding.

To learn more about port forwarding and firewalls,
we recommend Google with the following keywords.
keywords : port forward game, open windows firewall port

If you would like to change the port you are using, the next step will explain how to change the port.
Host
  1. In the installed folder, open "ServerSettings.ini" to edit as desired.
    Please change the default in each section to the desired value.
    for example :


    • Save file location : <install_dir>\LF\Saved\SaveGames
      You can save and load the save file by matching SaveName (in [SystemSettings]) and the save in the above location.

  2. Run StartServer.bat


    • a. (Optional) If you want, you can edit StartServer.bat to change which port you use.(for example : LF\Binaries\Win64\LFServer.exe ?listen -log -Port=7779 -QueryPort=27016)
Play
You can find servers in START GAME->MULTIPLAYER->DEDICATED SERVER
Settings

[ServerSettings]
  • ServerName=YOUR_SERVER_NAME
  • Password=YOUR_PASSWORD
  • MaxPlayers=16

[SystemSettings]
  • IngameAdminPassword=YOUR_ADMIN_PASSWORD
  • DefaultMessageOfTheDay=YOUR_SERVER_MESSAGE

    ; INSTALL_DIR/Saved/SaveGames/SAVE_NAME
  • SaveName=SAVE_NAME

    ; In-game hour, integer, Default: 1 = 5 min(realtime).
  • SaveIntervalHour=2

[GameSettings]
    ; Peaceful/Easy/Normal/Hard/Survival/Challenge/Legend/Custom
  • Difficulty=Normal

[GameSettings/General]
    ; 0=disable, 1=enbale
  • NoWave=0 // No Wave
  • NoSpawnBuildingBlocker=0 // Activate Building Forbidden Area
  • NoZombieRespawn=0 // No Zombie Respawn
  • NaturalObjectRespawn=0 // Natural Objects Respawn
  • SyntheticObjectRespawn=0 // Synthetic Object Respawn
  • NoGeneratorTrouble=0 // No Generator Breakdown
  • NoDeathResearchDrop=0 // No Research Lost Upon Dying
  • DropItemsOnExit=0 // Drop Items on Exit
  • NoTeamKill=0 // No Teamkill
  • UsePlayerBuildingCorrode=0 // Building Decay After 5 Days of Inactivity

    ; 50 / 100 / 200 / 400 / 800 / 2000
  • MaxWaveSpawnCount=600 // Wave Zombie Spawn Amount Limit

; It works only when the difficulty is Custom.
[GameSettings/Basic]
    ; 0 <= value <= 100
  • NormalZombieHealth=17 // Light Zombie HP
  • SpecialZombieHealth=17 // Heavy Zombie HP
  • GiantZombieHealth=17 // Giant Zombie HP
  • BossZombieHealth=17 // Unique Zombie HP
  • ZombieDamage=25 // Zombie Damage
  • ZombieMovementSpeed=37 // Zombie Movement Speed
  • WorldZombieSpawn=25 // World Zombie Spawn Amount
  • WaveZombieHealth=25 // Wave Zombie HP
  • WaveNormalZombieAmount=44 // Light Zombie Amount
  • WaveSpecialZombieAmount=18 // Heavy Zombie Amount
  • WaveGiantZombieAmount=21 // Giant Zombie Amount
  • AnimalHealth=17 // Animal HP
  • AnimalDamage=18 // Animal Attack Damage

    ; 30 / 60 / 120 / 180 / 240
  • WorldNormalZombieRespawnTime=120 // Light Zombie Respawn Time

    ; 120 / 300 / 600 / 900 / 1200
  • WorldSpecialZombieRespawnTime=600 // Heavy Zombie Respawn Time

    ; 120 / 300 / 600 / 900 / 1200
  • WorldGiantZombieRespawnTime=600 // Giant Zombie Respawn Time

; It works only when the difficulty is Custom.
[GameSettings/Advanced]
    ; 0 = disable, 1 = enable
  • NoExperienceLoss=0 // No EXP Lost Upon Dying
  • NoDeathItemDrop=0 // No Items Drop Upon Dying
  • NoDeathEquipmentItemDrop=0 // No Equipment Drop Upon Dying

    ; 0 <= value <= 100
  • ResearchDataConsumption=50 // Research Data Consumption
  • FishSpeed=66 // Fish Speed
  • FishingGaugeDecrease=40 // Fish Power
  • SuperiorOrHigherEquipmentGainMultiplier=40 // High-Grade Equipment Drop Rate
  • BuildingHit=90 // Building HP
  • TrapDamage=66 // Trap Attack Damage
  • ResourcesReturnedAfterBuildingDestroyed=30 // Materials Return Rate After Building Destruction

    ; 1 / 2 / 3 / 4 / 5
  • AmountOfExperienceGained=1 // Gain EXP Amount

    ; 1 / 2 / 3
  • ResourceAcquisition=1 // Item Obtained Amount

    ; 0 / 1 / 2 / 5 / 10 / 12 / 15
  • InitialFoodAmount=10 // Initial Food Amount

    ; 240 / 360 / 480 / 720 / 840 / 960 / 1200
  • NaturalObjectRespawnTime=720 // Natural Objects Respawn Time
  • SyntheticObjectRespawnTime=720 // Synthetic Objects Respawn Time

    ; 1 / 1.25 / 1.5 / 1.75 / 2
  • FarmResourceOutput=1.25 // Farm Resource Production Amount

    ; 0.5 / 1 / 1.5 / 2 / 2.5
  • MachineResourceOutput=1.25 // Machine Resource Production Amount

    ; 0.5 / 1 / 1.5 / 2 / 2.5
  • AnimalTrapTime=1 // Animal Trap Time

    ; 0.5 / 1 / 1.5
  • FarmResourceProductionTime=1 // Farm Resource Production Time
  • MachineResourceProductionTime=1 // Machine Resource Production Time

    ; 0.5 / 1 / 1.5 / 2 / 2.5
  • ElectricGeneration=1 // Power Generated

    ; 0.5 / 1 / 1.5
  • ElectricConsumption=1 // Power Consumption

    ; 0.5 / 1 / 1.5 / 2 / 2.5
  • ElectricOvercurrentLimit=1 // Power Limit

    ; 0.5 / 1 / 1.5
  • ElectricStandbyPower=1 // Standby Power

; It works only when the difficulty is Custom.
[GameSettings/Detail]
    ; 60 / 120 / 180 / 240 / 300 / 360 / 420
  • OneDayTime=240 // Times per Day

    ; 0 = disable, 1 = enable
  • UnlockAllBuilding=0 // Unlock All Buildings
  • Hardcore=0 // Hardcore
FAQ
When the error 'request failed, libcurl error: 60 (Peer certificate cannot be authenticated with given CA certificates)' occurs, add the following code to the StartServer.bat file below '@echo off' line.
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
looks like this:

@echo off

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);

xcopy ServerSettings.ini "%cd%\LF\Saved\Config\" /y

LFServer.exe ?listen -log -Port=7777 -QueryPort=27015 -CRASHREPORTS
exit
67 Comments
Johnny0797 Oct 20, 2024 @ 4:15pm 
this is a really good guide, kudos
The Alien Creator Oct 12, 2024 @ 8:24am 
keep getting kicked back to main menu when trying to join my server is there a way to fix this?
HDMozg Aug 23, 2024 @ 10:25pm 
How to create a dedicated server within the local network?
범죄자 Jul 1, 2024 @ 7:02am 
i have some question
i am playing player server with my friends, but server host have too much lag
so i decided to buy dedicated server.
than, can i sustain my game data(player server) to new server(dedicated server)?
FrozenPotato Jun 24, 2024 @ 8:23am 
is there a way to change the multipliers on single player/steam multiplayer? Wanna change the output to 5x... and, is there a list of console commands, such as Teleport to another player/coordinate
FrozenPotato Jun 24, 2024 @ 8:22am 
is there
七星來一包 Jun 22, 2024 @ 12:18am 
How do I change the IP of my private server?
七星來一包 Jun 22, 2024 @ 12:13am 
請問我要怎麼修改私服器的IP
zapf Apr 16, 2024 @ 5:14pm 
I thought maybe the local lan dedicated server would work with this patch :(
I Wear My Ukelele At Night Dec 30, 2023 @ 3:55pm 
@Veevslav

No have tried it without any of them running as well. Did finally get it to show up though since then using the curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); mentioned above. Also attempted the curl https://api.epicgames.dev/sdk/v1/default?platformId=WIN argument works to make it show up too (from another user suggestion)

Now the issue is that when attempting to connect everyone just gets booted back to title screen after a minute.