Post by Flasher on May 12, 2008 23:31:27 GMT 10
This is the official dedicated server guide for Crysis and will get updated frequently.
The documentation includes a step-by-step instruction how to correctly set up a dedicated server including features like:
* Server Instances
* Level Rotation
* Remote Control
* Punkbuster
* DX10 Server
* And more…
Additionally it includes a whole server command list of all important console variables that are needed for server administration.
Next to the documentation itself we would like to provide you with some additional files such as .cfg files, Punkbuster files, a startup batch and a standard level rotation. Basically everything that comes in handy when setting up a dedicated server for Crysis.
(1.5mb)
www.crymod.com/filebase.php?fileid=308
--------------------------------------------------------------------------------------
Server Command List
Server Settings
sv_bandwidth [50000] (Default: 50000)
Bit rate on server
sv_bind [0.0.0.0] Bind server to a specific address.
sv_cheatprotection [3] (Default: 3)
Enables Crysis internal cheat protection.
sv_DedicatedCPUPercent [0] (Default: 0)
Sets the target CPU usage when running as a dedicated
server, or disable this feature if it's zero.
Usage: sv_DedicatedCPUPercent [0..100]
sv_DedicatedMaxRate [50] (Default: 50)
Sets the maximum update rate when running as a
dedicated server.
Usage: sv_DedicatedMaxRate [5..500]
sv_gamerules [gamerules] (Default: Singleplayer)
InstantAction or PowerStruggle
sv_gs_report [1] (Default: 1)
Enables Gamespy server reporting. Necessary for NAT
negotiation.
sv_gs_trackstats [1] (Default: 1)
Enables Gamespy stats tracking.
sv_lanonly 0 (Default: 0)
Set 1 for a LAN server.
sv_levelrotation [levelrotation] Map list for the server.
sv_map [mapname] The map the server should load.
sv_maxplayers [maxplayers] (Default: 32)
Number of max players on the server
sv_maxspectators [maxspec] (Default: 32)
Number of max spectators on a server
sv_packetrate [30] (Default: 30)
Packet rate on server.
sv_password [password] Server password.
sv_port [64087] (Default: 64087)
Bind server to a specific port.
sv_ranked [0] (Default: 0)
Enables statistic report, for TSP servers only.
sv_say Broadcasting a message to all clients
sv_servername [name] Name for the server that is used ingame. If no name is
set machine name will be used instead.
sv_timeofdayenable [0] (Default: 0)
Enables time of day.
sv_timeofdaylength [1] (Default: 1)
Sets time of day changing speed.
sv_timeofdaystart [12] (Default: 12)
Sets time of day start time.
sv_voting_cooldown [180] (Default: 180)
Sets voting cooldown.
sv_voting_ratio [0.51] (Default: 0.51)
X% of player votes needed for successful vote.
sv_voting_team_ratio [0.61] (Default: 0.61)
X% of team member votes needed for successful vote.
sv_voting_timeout [60] (Default: 60)
Voting timeout in seconds.
Game Settings
g_fraglead [1] (Default: 1)
Number of frags a player has to be ahead of other
players once g_fraglimit is reached.
g_fraglimit [0] (Default: 0 = infinite)
Number of required frags before a round ends.
g_minplayerlimit [0] (Default: 0)
Minimum number of players before game starts. For
Instant Action only.
g_nextlevel Switches to next level of the map list.
g_MPDeathCam [1] (Default: 1)
Shows the killer’s location.
g_revivetime [20] (Default: 20)
Revive time.
g_spectate_TeamOnly [0] (Default: 0)
If set to 1 (true) it allows to spectate your team mates
only.
g_teamlock [2] (Default: 2)
Does not allow joining a team that has 2 more players
than the other.
g_tk_punish [1] (Default: 1)
Allows team kill punishment.
g_tk_punish_limit [10] (Default: 10)
Number of team kills a user will be banned for.
g_teamlock [2] (Default: 2)
Number of players one team needs to have over the
other to not allow joining this team anymore.
g_minteamlimit (1) (Default:1)
Minimum number of players in each team to start a
match. For Power Struggle only.
g_friendlyfireratio [1] (Default: 1)
Sets friendly damage ratio. [0] will disable friendly fire.
Common Commands
Ban [playername] Bans player for [ban_timeout] minutes from server.
ban_remove [playername] Removes player from ban list.
ban_status Shows currently banned players.
ban_timeout Ban timeout in minutes.
Net_next_map Notifies clients on server about the next map.
Kick [playername] Kicks player from the server.
Kickid [playerid] Kicks player via ID from the server.
Status Shows current status of server.
RCon Commands
rcon_command Issues a console command to a RCon server.
rcon_connect
[addr:<server address>]
[port:<rcon port>]
[pass:<password>]
To connect to a remote control server.
rcon_disconnect To disconnect from a remote control server.
rcon_startserver
[port:<port>] [pass:<password>]
To start a remote control server
rcon_stopserver To stop a remote control server
Net Settings
Net_pb_sv_enable Enables Punkbuster for the next map.
If you wish to remotely admin a Crysis server please download this:
Crycon (2.26mb)
www.crymod.com/filebase.php?fileid=277
-Install the program and run it.
You will see the following:
Note that it is in German by default. Fix this by clicking on the English flag.
(You need the ip of the server you want to admin at this stage so contact the member who's running it if you don't know the ip)
-click on the + button two on the left of the German flag, this will add a server.
Enter the server ip, rconport, gameport and rcon password and then click on +
For example 121.44.36.84 64087 64087 supply
(I use the games port 64087 for rcon and gameport)
-Now click on the pull down menu and select the server.
-You will now be able to admin that server. If you click on server status it will give you some info if you have entered the ip and ports correctly.
This configuration has been tested by me and i can confirm that it works.
The documentation includes a step-by-step instruction how to correctly set up a dedicated server including features like:
* Server Instances
* Level Rotation
* Remote Control
* Punkbuster
* DX10 Server
* And more…
Additionally it includes a whole server command list of all important console variables that are needed for server administration.
Next to the documentation itself we would like to provide you with some additional files such as .cfg files, Punkbuster files, a startup batch and a standard level rotation. Basically everything that comes in handy when setting up a dedicated server for Crysis.
(1.5mb)
www.crymod.com/filebase.php?fileid=308
--------------------------------------------------------------------------------------
Server Command List
Server Settings
sv_bandwidth [50000] (Default: 50000)
Bit rate on server
sv_bind [0.0.0.0] Bind server to a specific address.
sv_cheatprotection [3] (Default: 3)
Enables Crysis internal cheat protection.
sv_DedicatedCPUPercent [0] (Default: 0)
Sets the target CPU usage when running as a dedicated
server, or disable this feature if it's zero.
Usage: sv_DedicatedCPUPercent [0..100]
sv_DedicatedMaxRate [50] (Default: 50)
Sets the maximum update rate when running as a
dedicated server.
Usage: sv_DedicatedMaxRate [5..500]
sv_gamerules [gamerules] (Default: Singleplayer)
InstantAction or PowerStruggle
sv_gs_report [1] (Default: 1)
Enables Gamespy server reporting. Necessary for NAT
negotiation.
sv_gs_trackstats [1] (Default: 1)
Enables Gamespy stats tracking.
sv_lanonly 0 (Default: 0)
Set 1 for a LAN server.
sv_levelrotation [levelrotation] Map list for the server.
sv_map [mapname] The map the server should load.
sv_maxplayers [maxplayers] (Default: 32)
Number of max players on the server
sv_maxspectators [maxspec] (Default: 32)
Number of max spectators on a server
sv_packetrate [30] (Default: 30)
Packet rate on server.
sv_password [password] Server password.
sv_port [64087] (Default: 64087)
Bind server to a specific port.
sv_ranked [0] (Default: 0)
Enables statistic report, for TSP servers only.
sv_say Broadcasting a message to all clients
sv_servername [name] Name for the server that is used ingame. If no name is
set machine name will be used instead.
sv_timeofdayenable [0] (Default: 0)
Enables time of day.
sv_timeofdaylength [1] (Default: 1)
Sets time of day changing speed.
sv_timeofdaystart [12] (Default: 12)
Sets time of day start time.
sv_voting_cooldown [180] (Default: 180)
Sets voting cooldown.
sv_voting_ratio [0.51] (Default: 0.51)
X% of player votes needed for successful vote.
sv_voting_team_ratio [0.61] (Default: 0.61)
X% of team member votes needed for successful vote.
sv_voting_timeout [60] (Default: 60)
Voting timeout in seconds.
Game Settings
g_fraglead [1] (Default: 1)
Number of frags a player has to be ahead of other
players once g_fraglimit is reached.
g_fraglimit [0] (Default: 0 = infinite)
Number of required frags before a round ends.
g_minplayerlimit [0] (Default: 0)
Minimum number of players before game starts. For
Instant Action only.
g_nextlevel Switches to next level of the map list.
g_MPDeathCam [1] (Default: 1)
Shows the killer’s location.
g_revivetime [20] (Default: 20)
Revive time.
g_spectate_TeamOnly [0] (Default: 0)
If set to 1 (true) it allows to spectate your team mates
only.
g_teamlock [2] (Default: 2)
Does not allow joining a team that has 2 more players
than the other.
g_tk_punish [1] (Default: 1)
Allows team kill punishment.
g_tk_punish_limit [10] (Default: 10)
Number of team kills a user will be banned for.
g_teamlock [2] (Default: 2)
Number of players one team needs to have over the
other to not allow joining this team anymore.
g_minteamlimit (1) (Default:1)
Minimum number of players in each team to start a
match. For Power Struggle only.
g_friendlyfireratio [1] (Default: 1)
Sets friendly damage ratio. [0] will disable friendly fire.
Common Commands
Ban [playername] Bans player for [ban_timeout] minutes from server.
ban_remove [playername] Removes player from ban list.
ban_status Shows currently banned players.
ban_timeout Ban timeout in minutes.
Net_next_map Notifies clients on server about the next map.
Kick [playername] Kicks player from the server.
Kickid [playerid] Kicks player via ID from the server.
Status Shows current status of server.
RCon Commands
rcon_command Issues a console command to a RCon server.
rcon_connect
[addr:<server address>]
[port:<rcon port>]
[pass:<password>]
To connect to a remote control server.
rcon_disconnect To disconnect from a remote control server.
rcon_startserver
[port:<port>] [pass:<password>]
To start a remote control server
rcon_stopserver To stop a remote control server
Net Settings
Net_pb_sv_enable Enables Punkbuster for the next map.
If you wish to remotely admin a Crysis server please download this:
Crycon (2.26mb)
www.crymod.com/filebase.php?fileid=277
-Install the program and run it.
You will see the following:
Note that it is in German by default. Fix this by clicking on the English flag.
(You need the ip of the server you want to admin at this stage so contact the member who's running it if you don't know the ip)
-click on the + button two on the left of the German flag, this will add a server.
Enter the server ip, rconport, gameport and rcon password and then click on +
For example 121.44.36.84 64087 64087 supply
(I use the games port 64087 for rcon and gameport)
-Now click on the pull down menu and select the server.
-You will now be able to admin that server. If you click on server status it will give you some info if you have entered the ip and ports correctly.
This configuration has been tested by me and i can confirm that it works.