Dedicated Server Guide
Dedicated Server Guide
Dedicated Server Guide
Warning: Running the game and the dedicated server on the same computer is not suggested.
Profiles
Starting dedicated server
Running a server without profiles
Mapcycle
FAQ
Command list
Profiles
FarCry dedicated server should ideally be used with a server profile created inside the games
multiplayer create game menu. Load up FarCry and go to the multiplayer create game section. Enter
the server name, initial map and game mode, time settings and adjust any other settings you wish to
use in the server.
When you’re done adjusting the server settings, click on “save profile” and save the profile you have
created, for example “myprofile1”.
If you intend to run an internet dedicated server, you must create the game in the internet tab of the
multiplayer menu. This will automatically try to register the server through UBI.com in the profile and
allow the server to be seen in players server listing. You must log in to UBI.com before you can do
this!
The profiles are stored in the profiles/server directory in the FarCry root folder. You can edit a profile
with any text editor and make changes later.
In the command line of the dedicated server you can issue commands:
Begin by setting the games log_verbosity to 3. This will allow you to view any warnings or errors
during the game. Type this into the command line of the dedicated server. You can use auto complete
by typing the first few letters and hitting tab to cycle through the commands.
To load the profile you created in the multiplayer/create game menu, type the following (case
sensitive):
You can issue other commands once the level has finished loading.
You can create a shortcut on your desktop that will automatically launch the dedicated server and
your profile as follows:
You can also run a FarCry multiplayer game without creating a profile (although we recommend using
profiles, as it will save you typing a lot of variables each time you wish to start the server).
6. Initiate the server with the command start_server <map name>. For example,
start_server mp_monkeybay. It’s important to always specify the gametype before starting
the server, if you don’t, it could lead to problems.
You should be able to see the server in the FarCry multiplayer list. You can issue more commands
once the level has loaded
Cheat Protection
You can increase or remove cheat protection by adding the following command in your dedicated
server profile:
net_cheatprotection = “1”
0 – off
1 – beginning default level
2 - intermediate level
3 – advanced level
Mapcycle
The map cycle is currently always on. If you wish to have only one level running, simply edit the
Mapcycle.txt in the profiles/server folder to only contain that one map.
It’s possible to specify to the server to use a specific network adapter by passing a command line
argument. To do so, it’s suggested to first setup a shortcut as explained previously in this document.
Inside the Target entry field, add –IP:xxx.xxx.xxx.xxx with the ip address of the network adapter right
after Dedicated Server.
Here’s an example:
To have your server listed on Ubisoft.com, you just need to set SV_ServerType to UBI . By default,
SV_ServerType is set to LAN.
FAQ
A: Currently you can tweak the profiles for the server (found in /profiles/server), system.cfg (found in
the root folder) and the Mapcycle.txt (found in /profiles/server).
A: You can change the player limit in the multiplayer/create game menu or use the command
sv_maxplayers.
A: Yes, but this will result in degradation of quality for other players. With a few players, this may be
acceptable, but with larger numbers we do not advise it.
More information can be found in the FarCry support folder with further details on compatibility
and contact details.
Command list
Client commands:
Server commands:
gr_countdown - when prewar is on, this value is used to specify the countdown time after a round
gr_friendlyfire - toggles freindly fire
gr_invunerabilitytimer - sets the time at which players are invunerable
gr_maxteamlimit -
gr_minteamlimit
gr_prewaron - toggles prewar (prewar is used in clan matches etc to only start the game when a
specific number of players has joined and are ready - hence the ready button in the limbo menu)
gr_respawntime - time taken for dead players to respawn (including cycles)
gr_scorelimit - score limit before the round ends
gr_timelimit - defines the time allowed for that round