Eliteone Posted March 21, 2006 Posted March 21, 2006 THE SCMD SYSTEM =========================================================================== The SCMD interface is used to execute server side commands through a text based console. SCMD sends commands to the server to control settings from the hosting client, a remote client or the standalone server. It offers a generalized user interface that works on all three of these entry points. On a hosted or remote client, commands are entered through the chat interface. On the Stand-alone server, commands are entered through the console interface. To use SCMD, just follow these steps: 1. Before launching your server (either hosted or dedicated), set the "Allow SCMD" option to "Yes" and then specify a password. 2. Launch the server. 3. Type SCMD and press <Enter> on the command line of your dedicated server, or in the chat interface on a host or client to see a list of available commands. You will need to scroll up to see the entire list. 4. Log in to the system by typing SCMD followed by the password that you specified in the host options. Once you have successfully logged in, you can then use any of the other SCMD commands. Note that only one host or client can be logged into the system at once. The format for all SCMD commands is: SCMD command [arg1] [...] Example: You are logged into SCMD through a client connected to a dedicated server, and one of the other players becomes abusive. With SCMD, you can boot the player through your client like this: Type "SCMD listclients". This will display text similar to the following: Client List format: clientid) [name][ping][ip] 0) [smiley][0][0.0.0.0] 1) [Cheater][80][123.456.789.012] 2) [Player0][120][321.654.987.210] From here, you can type "SCMD bootname Cheater", or "SCMD bootid 1" to remove the problem player from the server. Then, if the player logs in again and continues to cause trouble, you can locate his IP address from the client list, and then ban that IP. For instance, if the IP address was 123.456.789.012, you would ban it by typing "SCMD addban 123.456.789.012". For a full list of commands, please see the section below. SCMD COMMANDS =========================================================================== Following is the list of commands currently supported by SCMD: Command Description --------------------------------------------------------------------------- Help Shows a list of all commands Login Logs into server. Logout Logs out of server. ListClients Lists all clients connected. BootName Boots a player by name BootId Boots a player by clientid ListBans Shows all currently banned IP's. AddBan Bans IP with mask support (e.g. 123.456.789.012 or 123.456.789.*) RemoveBan Removes an IP from the banned list. BanClient Adds a client's IP to the list of bans. ListMissions List all missions in current campaign. Nextmission Goes to next mission SetMission Sets the mission by mission index. ListGameOptions List all game options that can be set. SetGameOption Sets a game option by its index.
Recommended Posts