How to Create a Dark and Light Server Guide
Rent a Dark and Light server, or host it yourself.
Option #1: Renting a Dark and Light server
Rent a Dark and Light server from Survival Servers
Option #2: Hosting a Dark and Light (DNL) server yourself
Server requirements
Windows 7, 8, 8.1, Server 2008, Server 2012 & 64-Bit
Quad Core processor (requires up to 2 full cores)
12GB memory (uses about 6GB)
4GB disk space (install folder)
Step 1: Download the server files with SteamCMD
The best way to get the server files is SteamCMD, Valve's free download tool.
- Create a folder for your Dark and Light server files
- Put the SteamCMD.exe file you downloaded in that folder
- Create a batch file named SteamCMD.bat
- Place the following code in this batch file:
- @echo off
- start "" steamcmd.exe +force_install_dir "C:\Some\Path\Where\You\Want\Game\Server\Files\To\Go" +login anonymous +app_update 630230 validate +quit
- Right-click SteamCMD.bat and Run as Administrator
- When the SteamCMD window closes, the server files are downloaded.
Step 1 (alternate method): Find the server files on your hard drive
You can also host Dark and Light from the game itself. To change settings, find your common folder:
- In Steam, right-click Dark and Light and select Properties
- Click the Installed Files tab
- Click Browse
Step 2: Set up the Dark and Light dedicated server
- Create a batch file named DNLServer.bat in your SteamCMD folder (Step 1) or your Steam common folder (Step 1, alternate method).
- Place the following code in this batch file:
- start "" "C:\dnlserver\DNL\Binaries\Win64\DNLServer.exe" "DNL_ALL?Multihome=X.X.X.X?Port=27015?QueryPort=27016?SessionName=YOURSERVERNAME?MaxPlayers=20?ServerAdminPassword=YOURADMINPASSWORD" -nosteamclient -game -server -log
Step 3: Port forwarding
Add an incoming rule to your Windows Firewall to allow UDP port 27015 as well as 27016 (or whichever port you're using).
You may also need to open these ports on your home router. PortForward.com shows how.
How to join your server
Step 1: Update your server to the newest DNL version: set Server Update to Yes, run update and click Save Settings & Restart. If you aren't a Survival Servers customer, ask your game server host about this.
Step 2: Right-click the Steam icon in your PC's taskbar and select Servers.
Step 3: Select Dark and Light as your game at the bottom. Join your server.
Configuring your Dark and Light server
To change server settings, open \DNL\Saved\Config\WindowsServer\GameUserSettings.ini.
You can change settings here as well as in the launch options. Launch options override the settings here:
[ServerSettings] ShowMapPlayerLocation=true GlobalVoiceChat=true ProximityChat=false NoTributeDownloads=false AllowThirdPersonPlayer=false AlwaysNotifyPlayerLeft=false DontAlwaysNotifyPlayerJoined=false ServerHardcore=false ServerPVE=false ServerForceNoHUD=false EnablePvPGamma=false ServerPassword= ServerAdminPassword=changeme RCONPort=27017 PvEDinoDecayPeriodMultiplier= KickIdlePlayersPeriod=2400.000000 PerPlatformMaxStructuresMultiplier=1.000000 AutoSavePeriodMinutes=30.000000 ListenServerTetherDistanceMultiplier=1.000000 MaxTamedDinos=5000.000000 RCONServerGameLogBuffer=600.000000 RCONEnabled=true AllowFlyerCarryPvE=false DisableStructureDecayPvE=false [/Script/DNL.ShooterGameUserSettings] MasterAudioVolume=1.000000 MusicAudioVolume=1.000000 SFXAudioVolume=1.000000 VoiceAudioVolume=1.000000 UIScaling=1.000000 CameraShakeScale=1.000000 bFirstPersonRiding=False bDoubleClickToEvade=True bShowStatusNotificationMessages=True TrueSkyQuality=0.700000 FOVMultiplier=1.000000 GroundClutterDensity=1.000000 bFilmGrain=False bAllowHDR=False bMotionBlur=False bUseDFAO=False bUseSSAO=True bShowChatBox=True bCameraViewBob=True bInvertLookY=False bFloatingNames=True bChatBubbles=True bHideServerInfo=False bJoinNotifications=False bCraftablesShowAllItems=True bLocalInventoryShowAllItems=False bRemoteInventoryShowAllItems=False LookLeftRightSensitivity=1.000000 LookUpDownSensitivity=1.000000 GraphicsQuality=1 ActiveLingeringWorldTiles=10 ClientNetQuality=3 LastServerSearchType=0 LastServerSearchHideFull=False LastServerSearchProtected=False HideItemTextOverlay=False bDistanceFieldShadowing=True LODScalar=1.000000 bToggleToTalk=False HighQualityMaterials=True HighQualitySurfaces=True bTemperatureF=False bDisableTorporEffect=False bChatShowSteamName=False bChatShowTribeName=True EmoteKeyBind1=0 EmoteKeyBind2=0 EmoteKeyBindLaughing=0 EmoteKeyBindSorry=0 bNoBloodEffects=False bLowQualityVFX=False bSpectatorManualFloatingNames=False bSuppressAdminIcon=False bUseSimpleDistanceMovement=False bDisableMeleeCameraSwingAnims=False LastPVESearchType=-1 LastDLCTypeSearchType=-1 bUseVSync=False MacroCtrl0= MacroCtrl1= MacroCtrl2= MacroCtrl3= MacroCtrl4= MacroCtrl5= MacroCtrl6= MacroCtrl7= MacroCtrl8= MacroCtrl9= ResolutionSizeX=1280 ResolutionSizeY=720 LastUserConfirmedResolutionSizeX=1280 LastUserConfirmedResolutionSizeY=720 WindowPosX=-1 WindowPosY=-1 bUseDesktopResolutionForFullscreen=False FullscreenMode=2 LastConfirmedFullscreenMode=2 Version=5 [SessionSettings] SessionName=My Private Server [ScalabilityGroups] sg.ResolutionQuality=100 sg.ViewDistanceQuality=3 sg.AntiAliasingQuality=3 sg.ShadowQuality=3 sg.PostProcessQuality=3 sg.TextureQuality=3 sg.EffectsQuality=3 sg.TrueSkyQuality=3 sg.GroundClutterQuality=3 sg.IBLQuality=1 sg.HeightFieldShadowQuality=3 [/Script/Engine.GameSession] MaxPlayers=40
Location of world save data
DNL/Saved/
Dark and Light server hosting from Survival Servers comes with instant setup and DDoS protection.
