58 ratings
Neotokyo Server Guide
By niar
Guide on setting up a Neotokyo dedicated server.
On Linux
There are no Linux binaries for Neotokyo currently. You can, however, run the dedicated server with Wine. Follow this guide for Linux instead:
On Windows
Get SteamCMD. Direct link:

Run, allow through firewall if necessary, type in the following commands:

login anonymous
force_install_dir .\neotokyo\
app_update 313600 validate
(wait, this will take a while. eventually you should be greeted with "Success! App '313600' fully installed")

This will install the Neotokyo dedicated server files.

Navigate to the "neotokyo" folder. It should look something like this:

Use the srcds.exe to launch your dedicated server. Make sure to allow it past your firewall/router!
If it does nothing, see the troubleshooting section below for a batch file that should fix it.
Recommended cvar values
You can set these in your cfg/server.cfg file.

rcon_password - If you have no need for remote controlling the server, make sure this has no value (rcon_password ""). This will disable remote access to the server altogether. If you need it, make sure to pick a strong password.
neo_score_limit 7 - How many wins required per map. 7 is the standard.
neo_round_timelimit 2.76 - 2:45 minutes + 15 seconds freezetime.
The old standard was 3:00 minutes (value 3.26), but the 15 seconds smaller 2:45 has proven itself pretty good, gameplay-wise.
neo_ff_feedback 0 - Mirrored friendly fire damage, optional. Traditionally disabled.
neo_teamkill_punish 0 - Insta-ban temporarily for FF. Stops teamkilling efficiently, however this will also ban a lot of people accidentally firing their own team. If you're going to install server plugins and have active admins, it is recommended to disable this. However, if you can't invest a lot of time in managing your server, you might want to consider enabling it.

If you enable rcon (rcon_password), a few recommended additional cvars:
sv_logbans 1 - Log server bans in the server logs.
sv_rcon_maxfailures 3 - Max number of times a user can fail rcon before being banned
sv_rcon_minfailures 3 - Number of times a user can fail rcon in minfailuretime before being banned
sv_rcon_banpenalty 1440 - Number of minutes to ban users who fail rcon authentication
sv_rcon_minfailuretime 180 - Number of seconds to track failed rcon authentications

This will IP ban anyone trying incorrect rcon password more than 3 times for 24 hours.
Essential server plugins
You should use Metamod:Source[] and SourceMod[] for advanced server functionality.

If you need help setting up Metamod:Source or SourceMod, see the section below this one.

Here are some essential Neotokyo SourceMod plugins:

- No Block[] - made by sslice (fix player "collisions" occasionally glitching)
- Spawn Protection[] - Made by Soft as HELL
- Restart Fix[] - made by Agiel
- Teamkill Penalty Fix[] - made by Agiel
- Kill Assists[] - made by Agiel
- Votescramble / balancer[] - made by gH0sTy
- NEOTOKYO° Unlimited Squads[] - made by Soft as HELL
- NT° Radio[] - made by Soft as HELL

If the default SourceMod mapchooser doesn't auto-start voting properly:
- Here's a version modified for NT[]
You might be able to also get the newer versions working by adding "NEOTOKYO Modification" marked blocks of code, if you're feeling adventurous.
This may have been fixed in current SourceMod versions, please try the original SourceMod mapchooser before using this one.

If you are running HLStatsX:
- SuperLogs: NeoTokyo[] - made by psychonic (headshot logging)
- NEOTOKYO° Ghost capture event[] - made by Soft as HELL (ghost capture logging)

For more various Neotokyo specific plugins, have a look at:
- Glub's plugins[]
- Soft as HELL's plugins[]

Here is a SourceMod online compiler for your use.[] Just paste in the source code of a plugin to compile.

If your plugin has any 3rd party includes, you can either compile locally[] or try this online compiler instead:
Installing Metamod:Source and SourceMod
NOTE: The default metamod.vdf may not work, use the format below if that is the case!

Get MM:S from

Create an "addons" folder in NeotokyoSource, and paste the "metamod" folder there. Create a new file called metamod.vdf in the addons folder. Open it in a text editor and enter:
"file" "../NeotokyoSource/addons/metamod/bin/server"

Restart the server. Command "meta" in the server console should now return Metamod:Source information. If you get an unknown command error, there's something wrong with the installation.

Get SourceMod from

Paste the contents in addons/sourcemod and cfg/sourcemod folder paths. Restart your server. Command "sm" in the server console should now return SourceMod information. If you get an unknown command error, there's something wrong with the installation.

If you need further help with Metamod:Source or SourceMod, see the AlliedModders Wiki[].
I need help with port forwarding!
Open up a command prompt (Windows+R -> cmd). Type in "ipconfig". Look for the "IPv4 address" entry. It usually starts 192... if you are behind a router. This is your internal IP. You need to forward the game port (usually 27015) to this internal IP. This way incoming connections from the internet will get routed to your PC instead of stopping at your router. If you need to, look up a manual for your specific router brand on how port forwarding is done.

srcds.exe doesn't run!
Try creating a launcher.bat file in your srcds.exe folder. Open it in a text editor, and paste in the following:
srcds.exe -autoupdate -game NeotokyoSource -maxplayers 24 +sv_lan 0 +map nt_dawn_ctg
Launch from the launcher.bat. You can edit maxplayers (32 players max) and startup map to your liking.

"Your version does not match the servers..."
Check the NT Hub Announcements for any recent patch releases. You might have to update your server and/or game client, depending on the update. Server updating happens with SteamCMD.
app_update 313600 validate

My server isn't in the serverlist!
Check the NT Hub Announcements for any recent patch releases. You might have to update your server and/or game client, depending on the update. Server updating happens with SteamCMD.
app_update 313600 validate

Otherwise, make sure your cfg/server.cfg contains the following commands:
sv_master_legacy_mode 0
sv_lan 0

If that doesn't help either and you're behind a router, check the "I need help with port forwarding" section above.

Metamod:Source doesn't launch!
The default metamod.vdf may not work. Use the format described in the installation section above if this is the case.

The SourceMod map vote plugin doesn't work!
Try this version[] instead.

How do I auto-restart the server on crash?
Create a new autorestart.bat file with the following code:
Launch from the autorestart.bat file.

I need feature X for my server!
Install Metamod:Source and SourceMod (section above), and you'll be able to expand your server's functionality a lot. You can find many server plugins here[]. Always test to make sure the plugin works and supports NT!

I want SourceMod command X to be public / admin only!
This can be achieved with overrides[].

My server is laggy!
Check out the Steam Support article for some basic tips and bandwith requirements. Note that the bandwith requirements won't be 100% accurate for Neotokyo.

Something else!
Ask below!
< >
niar  [author] Dec 30, 2017 @ 4:29am 
Now that I think of it, 60*0.01=0.6, so it's actually 0.4 seconds off. :steamfacepalm: Offsetting by 0.017 might be closer to truth. Well, close enough!
niar  [author] Dec 30, 2017 @ 4:23am 
It's a bit of a personal preference. You'll actually get the round start "GO GO GO" player unfreeze only once the clock is less than (60 * neo_round_timelimit) seconds, that is to say, the following second. For example, setting the value to 1.0 will let players move only at 0:59 (and not at 1:00 like one might expect). I like to offset the value by +0.01 so the "GO GO GO" unfreeze happens exactly on the second.
TS2 Dec 29, 2017 @ 11:52pm 
Rain, I've found a small typo in this one. After opening the server config for the first time, I have found that the original neo_ round_timelimit value is 3.25 in truth, not 3.26.

That being said, is the value for 2:45(2.76) correct, or is that also a typo?
niar  [author] Oct 5, 2015 @ 4:28am 
RIP old forums. Added newer links for those ("Assign Star" is replaced by "Unlimited Squads").
gk8000 Oct 4, 2015 @ 5:59pm 
The links for the votescramble and assign star plugins are dead. Does anyone have a copy or a mirror laying around for those?
niar  [author] Aug 8, 2015 @ 7:02am 
It's mostly the -game argument in the batch you need, if it doesn't auto detect Neotokyo. You could also use a shortcut to achieve the same thing.
Kat Aug 8, 2015 @ 6:51am 
Why do i need to use the launcher.bat to start srcds.exe? Like what makes it different to just clicking on srcds.exe/why doesnt clicking the .exe directly work?
niar  [author] Jul 19, 2015 @ 2:00am 
Adding a password or SteamID based authentication should accomplish that. Or use sv_lan for LAN environment.
Elderr Jul 18, 2015 @ 7:32pm 
Does this guide also include/involve private servers? Or is there a thread somewhere else about them? I'd like to host a server exclusively within my friend group, and not for the public. :\
niar  [author] May 10, 2015 @ 11:05am 
Any port that's available, pretty much, afaik. 27015-27020 are common choices.