Dedicated Server

From Reflex Wiki
Revision as of 03:22, 27 December 2015 by AEon (Talk | contribs)

Jump to: navigation, search

Installing and Updating Using SteamCMD

Installing a Reflex Dedicated server using SteamCMD
  1. Download Steamcmd from this page (This page has a lot of useful documentation)
  2. Extract steamcmd.exe to a folder (For this example I'll extract it to a folder named steamcmd in my C drive)
  3. Open Command Prompt and navigate to the folder where steamcmd.exe resides using the "cd" command. (Example - cd c:\steamcmd)
  4. Next, paste the following line of paramters into Command Prompt to run steamcmd.exe begin downloading the Reflex Dedicated Server files.
    steamcmd +login anonymous +force_install_dir ./reflex_ds +app_update 329740
  5. Once your Command Prompt shows "Success! App '329740' full installed", close it and navigate to "reflex_ds" in your "steamcmd" directory. Run reflexded.exe once to generate "dedicatedserver.cfg"
  6. Once you've generated your config, it's time to configure your server. Here you can change the player limit, server password, your servers name, and several other parameters

Server Commands

Ports

Reflex operates on two ports. These two ports are the sv_gameport and sv_steamport defined in your dedicatedserver.cfg. If you're running reflexded on the default ports, you'll want to ensure you have forwarded port 25787 and 25797. If you want to run multiple servers on the same machine, you will need to forward an additional two ports per server. One for the game and one for the outbound Steam connection (Example Server One running on 25787 & 25797, Server Two running on 25788 and 25799)

Setting Up Multiple Servers

For each Reflex server you would like to run, you will need to open two ports. One port will allow the server to send and receive data to and from the clients connecting to it. The second will allow the server to tell Steam that it is online and tell Steam things like the map, player count, and gamemode so Steam can populate Reflex's in-game server browser. The default ports for these two tasks are 25787 and 25797. The problem with these ports is that they can only be utilized by one server so we are going to need to setup our servers to use two different sets of ports.

The easiest way to do this is to define two different sets of ports in your two servers' config files.

In this example server one is running on 25787 & 25797 while server two is using 25788 & 25796

Gallery