Free shipping on card orders above $25 In the U. For example: rcon exec admin.Home Company of Heroes 2 console command list Rcon exec - Replace with a console command you would like to execute on the server. Rcon users - This command lists all the users connected to the server. Rcon login - Use this command to login to the server. Now you can access the server remotely by using the following commands from a client: To setup remote console access to the server, onthe server create a new plain text document in \admin\ called default.cfg and enter the following text into the new file: Bans the player from the server by using their CDĪdmin.addAddressToBanList - Enter the IP number you want to ban.Īdmin.addKeyToBanList - Enter the CD key hash you want to ban.Īdmin.removeAddressFromBanList - Enter the IP address to remove from the ban list.Īdmin.removeKeyFromBanList - Enter the CD key hash you want to remove from the ban list.Īdmin.clearBanList - Clears all ban lists.Īdmin.listBannedAddresses - Displays a list of the currently banned IP addresses.Īdmin.listBannedKeys - Displays a list of the currently banned CD keys.Īdmin.kickPlayer - Enter the ID number of the player you want to kick. perm for permanent ban, round to ban them for the rest of the round, and 180 is 180 seconds (3 minutes).Īdmin.banPlayerKey - Enter the player The timeout value controls the length of the ban e.g. Bans the player from the server by using their These commands are used by server administrators.Īdmin.listPlayers - Lists the players connected to the server, showing their name, ID number and IP number.ĪnNextLevel - Forces the server to end the round and start the next map in the map list.Īdmin.currentLevel - Shows the map list ID number for the current map being played.Īdmin.nextLevel - Shows the map list ID number for the next map to be played.Īdmin.restartMap - Restarts the current map.Īdmin.banPlayer - Enter the player ID Players] - Same as mapList.append command, but with this command youĬan specify at what map ID number to insert the new map into the list. MapList.remove - Removes the specified map from the map list MapList.clear - Clears the current map list MapList.currentMap - Shows the map list ID number of the current map being played MapList.mapCount - Shows the total number of maps in the current map list MapList.save - Saves the current map list on the server to the file _n MapList.load - Makes the server reload _n Default is \My Documents\Battlefield 2 Demo\ServerConfigs\ nfigFile - Used to specify the location of the _n file. MapList.list - Lists map ID numbers, map name, game mode and the number of players if specified.
These commands are used to manage lists of maps by server administrators. These settings should be used in the n file under your \Documents and Settings\\My Documents\Battlefield 2 Demo\Profiles\\ directory.ĬontrolMap.addAxisToAxisMapping -ĬontrolMap.addButtonsToAxisMapping -ĬontrolMap.addKeyAndButtonToAxisMapping -ĬontrolMap.addKeysToAxisMapping -ĬontrolMap.addButtonToTriggerMapping -ĬontrolMap.AddKeyToTriggerMapping -ĬontrolMap.InvertMouse - Set to 1 for inverted mouse, 0 for default mouseĬontrolMap.mouseSensitivity - Determines the sensitivity of the mouseĬontrolMap.keyboardSensitivity - Deterimes the sensitivity of the keyboard GameLogic.togglePause - Toggles pausing the game. Renderer.drawFps - Displays the current and average frames per second (FPS) in the top left corner. Renderer.drawConsole - Turns off access to the in-game console if set to 0. Renderer.drawHud - Turns the Heads Up Display (HUD) on or off. tDefaultUser - Sets the profile to use, the first one being 0001, then 0002 etc. tTotalPlayedTime - Sets the time the game has been played using the current account tNumTimesLoggedIn - Sets the number of times the player has logged in with the current account
tPassword - Sets the password for the current account tEmail - Sets the email account for the current account tGamespyNick - Sets the GameSpy login name for your account tNick - Sets the nickname for your current account tName - Sets the name for your current account Game.toggleFullscreen - Toggles between fullscreen and windowed mode Game.allowToggleFullscreen - If set to 1 allows toggling of fullscreen/windowed mode Game.lockFps - Caps the game's maximum framerate to specified number
Game.sayTeam - Says the specified text in team chat
Game.sayAll - Says the specified text in global chat Demo.recordDemo - Starts recording current gameplay and saves the file as demoname.bf2demo in your \Program Files\EA Games\Battlefield 2 Demo\mods\bf2\Demos\ĭemo.stopRecording - Stops current demo recording