Nuclear Dawn

Nuclear Dawn

33 ratings
Dedicated Server Windows
By Viper
A guide on how to setup a Nuclear Dawn Windows dedicated server.
   
Award
Favorite
Favorited
Unfavorite
Requirements
To setup a dedicated Nuclear Dawn server you will need:

SteamCMD or Steam.

Install via SteamCMD
This is the recommended and easiest way to install and keep the server updated.

Setting up a Nuclear Dawn (SRCDS) server with the SteamCMD client is very simple. First you need to download the installer from Steam or here[www.interwavestudios.com]. Make sure you install this in a separate directory from other Source or HLDS games!

Then create a new folder which will eventually hold the game files. For instance “C:\nucleardawn\”

Next open notepad and enter the following:

steamcmd +login anonymous +force_install_dir C:\nucleardawn\ +app_update 111710 validate

After this simply type: The above should all be on a single line.

Be sure to:

Replace the “C:\nucleardawn\” with the directory for the game you created earlier.

Save the file into the same directory you extracted SteamCMD to before, and be sure to save it with a .bat extension. Double click the batch file and SteamCMD should pop up and update itself, and then begin pulling the files from the Steam servers. Once this is complete the SteamCMD window will disappear, and at that point you should be able to continue configuring your server. For future updates, simply stop your game server, run the .bat file again and it should fetch any required updates for you.
Setup the Server
Now you have your base installation. You just need to configure it. Open Notepad and create a file called server.cfg and put it in the C:\nucleardawn\cfg folder. (Remember NOT to save it as a "txt" file)

Heres a base server.cfg file:

// Nuclear Dawn Configuration File, To be used with ND only! // Server Name hostname "Nuclear Dawn Server" sv_tags "nucleardawn" // Rcon Cvars rcon_password "" // Set remote control password sv_rcon_banpenalty 15 // Number of minutes to ban users who fail rcon authentication sv_rcon_log 1 // Enable/disable rcon logging sv_rcon_maxfailures 3 // Max number of times a user can fail rcon authentication before being banned sv_rcon_minfailures 5 // Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned sv_rcon_minfailuretime 10 // Number of seconds to track failed rcon authentications sv_password "" // Password protects server mp_roundtime 35 // Minutes in a round mp_maxrounds 2 // Number of rounds mp_timelimit 70 // Minutes for a map to last // Team balance mp_limitteams 1 // Sets how many players can a team have over the opposite team. mp_autoteambalance 2 // 0 = No balancing, 1 = Only balance on end of round (default), 2 = Only balance during the game, 3 = Balance throughout the round and at the end of the round. mp_unbalance_limit 2 mp_autoteambalance_delay 60 // Specify the amount of seconds into a round that balancing will occur // Communications // enable voice communications sv_voiceenable 1 // Players can hear all other players, no team restrictions 0=off 1=on sv_alltalk 0 // Allow or disallow clients from using voice_inputfromfile on this server. 0=disallow 0=allow sv_allow_voice_from_file 1 // toggles whether the server allows spectator mode or not mp_allowspectators 1 // Contact & Region // Contact email for server sysop sv_contact emailaddy@example.com // The region of the world to report this server in. // -1 is the world, 0 is USA east coast, 1 is USA west coast // 2 south america, 3 europe, 4 asia, 5 australia, 6 middle east, 7 africa sv_region -1 // Type of server 0=internet 1=lan sv_lan 0 // Round-end Teamswap mp_roundend_teamswap 1 // Auto swap teams at round-end? (0=no/1=yes)

Optional:

// Commander selection nd_commander_accept_time 15 // The time (seconds) the selected commander has to accept nd_commander_election_time 45 // How long until a commander is selected at the beginning of a round // Team votes nd_commander_mutiny_min_players 3 // Minimum number of players connected to start a mutiny vote nd_commander_mutiny_surpress_time 5 // Time in minutes before a mutiny can start after a previous one, or after a new round nd_commander_mutiny_time 30 // Time (in seconds) a mutiny vote lasts nd_commander_mutiny_vote_threshold 51.0 // The percentage of team votes required for the current commander to be voted off nd_commander_surrender_vote_threshold 51.0 // The percentage of team votes required for the team to surrender the round // Resources nd_starting_resources 3000 // Resources that each team starts the game with // Spawning nd_spawn_min_time 6.0 // Min time in seconds player must be dead for before they can spawn nd_spawn_wave_interval 12.0 // Time in seconds between spawn waves // Bots bot_quota 6 // How many bots should enter the game bot_quota_mode fill // Fill the server with bots, if less than x players bot_join_after_player 0 // Should bots join after players have joined or start playing without players (1) // Additional nd_xmas 0 // disable or enable Christmas hats. 0=disabled, 1=hats only for commanders 2=hats for everyone. Only active during Christmas period. // Teams mp_force_autoassign 0 // force players to join a team when joining the server. 0=disabled 1=enabled
Starting the Server
To start the ND dedicated server you can use this command:

ndsrv.exe -console -game nucleardawn -port 27015 +maxplayers 32 +map downtown

This will start the server with the basic commands, for 32 players with the map downtown. Ofcourse you can always add other commands like +ip you.ip.number.xxx to set the server to a specific ip.
Running srcds in the background
There is a handy tool for Windows servers called ServerChecker that will allow you to start a process of SRCDS (Nuclear Dawn Source server) and monitors it and auto-restarts if it goes down.

More information about ServerChecker can be found here[www.dumbclan.co.uk].

You may download the latest version of ServerChecker v3.04 from here[www.interwavestudios.com].

If you are using Window Vista or Newer (that includes Windows Server 2008 and beyond) you may need this third party 3.04 version. available here[www.dumbclan.co.uk].
Hacker Prevention
VAC

Valve Anti-Cheat will automatically detect and ban many users that are using programs used for playing unfairly on server (examples being speed hacking, aimbot use and in some extreme cases, usage of sv_cheats related commands such as noclip). VAC is enabled by default on all servers and requires the administrator to expressly disable it by adding the -insecure line to the launch options Server Settings

Outside of VAC securing a server, the first line of defense against cheating is the server variable (console command) sv_pure. This variable controls where a client gets its information and acts as a means to restrict what kind of content and files can be modified/substituted on the player's side. This can be easily exploited by players if not configured properly. Its optional (but not vital) to set this variable to 1 or 2 if you don't want to allow any form of cheating on your servers. By default sv_pure is set to 0 which restricts nothing. Possible values are 0, 1, and 2 which are explained below.

sv_pure = 0 allows the client to specify the location of ANY game file. A client can potentially use modified files to gain an unfair advantage by doing things such as replacing enemy player models with ones that use bright colored skins, make walls invisible, add beacons onto buildings, or just about anything else you can think of. VAC doesn't protect against these kinds of exploits because they don't modify the game process itself. Its up to the server to decide what its clients can do.

sv_pure =1 restricts where the client can get information from based on a white list (list of allowed content). The default white list is still set to allow custom player models as well as any potential exploits such as bright skins.

sv_pure = 2 forces the client to ignore ALL user content, and instead forces them to use the information supplied by Steam. While this is the most secure, sv_pure 2 will prevent the use all custom skins/models and even custom sprays.

Many servers typically run sv_pure with a value of 1 together with a modified white list either to allow directories of content that are difficult or impossible to cheat with, or remove the ability for players to supply their own models.

SourceMod Anti-Cheat

SourceMod Anti-Cheat (formerly known as Kigen Anti-Cheat) is a plugin based system comprised of different modules to help protect your gameserver against common threats, hacks, scripts, exploits, commands, cvars, or cheats currently being used today to cause your servers harm.

It protects your gameserver from most if not all of the common problems you would see on any gameserver and takes actions against those who cause the problems.

You can get it over here[forums.alliedmods.net].
8 Comments
fdgewrhrqewr 1 Jul, 2024 @ 10:58pm 
大神请问你知道如何关闭这款游戏的武器开枪环境闪光特效吗,特别刺眼。。
还有游戏的bot难度也不能设定,感觉好难玩。。 这款游戏的开枪闪烁特效太晃眼了。
还有被击中时的屏幕抖动也无法关闭。。:steamsad:
Klesk 🌈 Нептун 🇺🇦 7 Sep, 2021 @ 11:30pm 
Section "Starting the Server" isn't quite self-explaining.
I had to:
- open notepad
- type "cd C:\Program Files (x86)\Steam\steamapps\common\Nuclear Dawn" (to get to the location of "ndsrv.exe". On your computer it might be another folder)
- hit enter
- type ndsrv.exe -console -game nucleardawn -port 27015 +maxplayers 32 +map downtown
- hit enter
淫神 Nafryti 4 Feb, 2017 @ 1:29am 
This is excellent, however i have two big questions that i hope are able to be answered by anybody knowing the secret, as i've googled and googled, and have not found the answer...

HOW do i edit the map list
HOW do i add maps from the Workshop

Currently there are only six out of TEN maps in cycle, i would like to have all ten regardless of gamemode, in the cycle, PLUS some extra's from the workshop, now i know there is an option for the workshop in the DS, as during the startup it dictates that "Workshop.vdf" was not found, and skips the attempt to load it....

Please help, would be ever so grateful!!
kaos 27 Dec, 2014 @ 6:40pm 
nd_xmas 0 // disable or enable Christmas hats. 0=disabled, 1=hats only for commanders 2=hats for everyone. Only active during Christmas period.
THIS doesn't work. I tested it and no dice.
swenor 27 Dec, 2014 @ 6:33pm 
Then drop it deeper: e.g. C:\ND\nucleardawn\cfg , but I guess a simple try is way too hard, isn't it?
Wolfwood 26 Dec, 2014 @ 11:23pm 
Getting "'server.cfg' not present" when running. i put it both in the nd\config and made a nd\cfg folder. It wont pick it up.
Stromboli 28 Jun, 2014 @ 7:44pm 
I keep getting an error that says command not found: ndsrv.exe, my nd server exe file is in c drive nucleardawn
Bxsvark 16 Jun, 2013 @ 7:24am 
nice