Crysis 2
From Verywiki-EN
Contents |
RCON commands
Crysis 2 supports the same HTTP/XML-RPC protocol from Crysis and Crysis Wars. Your server provider will inform you of the IP, port and password required.
- Once started, you can use a third party HTTP/XML-RPC client. Please note that any clients written for Crysis or Crysis Wars will not have knowledge of the levels and modes available in Crysis 2, but player administration should still be possible. There is no internally developed HTTP/XML-RPC client available at this time.
Crysis 2 also supports the same rcon protocol from Crysis and Crysis Wars. Your server provider will inform you of the IP, port and password required.
- Clients will be able to connect to the dedicated server by using the following command on their in-game console:
rcon_connect addr:%external IP of the dedicated server% port:%port as specified on the dedicated server% pass:%password as specified on the dedicated server%
- Once connected, commands may be issued to the dedicated server by using the following command on their in-game console:rcon_command %command%
where %command% is the remote command that they wish to execute on the dedicated server. Exemple : rcon_command sv_maxplayers 8
- Clients may disconnect from the rcon server by using the following command on their in-game console:rcon_disconnect
RCON commands list
map <map> - start a map that you specify prefix all map names with "Wars/"
Exemple : Sanctuary is "Wars/cw2_church"
Maps name :
gl_map <map>
Switch to the specified map with rules set by gl_gamerules (will end the current game if one is in progress)
gl_gamerules <mode>
As sv_gamerules but affects the next map in the playlist
g_timelimit<number>
Sets the time limit for each round (in minutes, 0 = infinite time)
g_scorelimit<number>
Sets the score need to finish the round (0 = infinite score)
gl_time<number>
Sets the time between rounds (in seconds)
gl_initialtime<number>
Sets the time until a round starts when the minimum number of players join
g_minplayerlimit<number>
Sets the minimum number of players required to start the match
g_autoReviveTime <time>
Amount of time between spawns in seconds
g_gameRules_startTimerLength <time>
Amount of time spent in pre-game after loading a map
g_numLives <number>
Number of lives for life based game modes (Extraction & Assault only; 0 = infinite) Extraction defaults to 0 and Assault defaults to 1
gl_startgame
Starts the server, ignoring the minimum number of players and initial time.
status
Shows the status of the running server
ban <profile id> <minutes>
Bans the specified profile for the given number of minutes (see status command to get profile id of player to ban)
kick <name>
Kicks the named player from the server
net_reserved_slot_system <1 or 0>
Enables or disables the slot reservation system
net_add_reserved_slot <name>
Adds a reservation for player specified by name
net_remove_reserved_slot <name>
Removes a reservation for player specified by name
net_list_reserved_slot
Shows list of currently reserved slots
CVAR commands
Weapon Indices for g_forceWeapon command
| Index | Weapon | Index | Weapon |
|---|---|---|---|
| 0 | Feline | 13 | Cell Gauss |
| 1 | Cell Feline | 14 | Jackal |
| 2 | K-Volt | 15 | Marshall |
| 3 | Cell K-Volt | 16 | Mk60 |
| 4 | SCAR | 17 | LTag |
| 5 | Camo SCAR | 18 | Mike |
| 6 | Desert SCAR | 19 | Cell Mike |
| 7 | Cell SCAR | 20 | Nova |
| 8 | Grendel | 21 | Hammer |
| 9 | SCARAB | 22 | Cell Hammer |
| 10 | Cell SCARAB | 23 | AY69 |
| 11 | DSG1 | 24 | Revolver |
| 12 | Gauss |
EA Official documentation
Read the official documentation made available by Electronic Arts : http://dl-2.verygames.net/ea/crysis2/C2MP-Dedicated-Server-Setup-Rental-Customer.docx
