Remote Console Command

From NFBSP

Jump to: navigation, search
Remote Console Command
Author(s) FordGT90Concept
Size 5.89 KiB
Release Date 28 Dec 2007
Current Version 2.0.0
Prerequisites .NET Framework 2.0
CLR Compliant Yes
Download


Remotely administrates a server. The server must be running, have rcon_password set, and you must not be banned from the server in order to use this successfully.









Usage

RemoteConsoleCommand -ipport "#.#.#.#:0-65535" -password "password" [-command "command"] [-quiet]

OR

RemoteConsoleCommand [-ip "#.#.#.#"] [-port "0-65535"] -password "password" [-command "command"] [-quiet]
  • -ipport "#.#.#.#:0-65535" - The IP Address and Host Port number of the computer to connect to separated by a colon.
  • -ip "#.#.#.#" - The IP Address of the server. If not provided, uses "localhost."
  • -port "host port" - The Host Port number to use. If not provided, it uses 26015.
  • -password "password" - The Remote Console password required to connect to the server.
  • -command "command" - If you want to pass just a single command to the server, use this. If you want to establish a connection to send multiple commands, omit this.
  • -quiet - If present, console messages are kept to a minimum.

Examples:

RemoteConsoleCommand -password "mine"
RemoteConsoleCommand -password "mine" -command "quit"
RemoteConsoleCommand -ip "1.2.3.4" -port 26016 -password "mine"
RemoteConsoleCommand -ipport 1.2.3.4:26015 -password "mine"
RemoteConsoleCommand -ipport localhost:26015 -password "mine" -quiet

Version History

  • 2.0.0 - Completely reworked from the version found on JBNF.net. It is coded in C# and is CLR Compliant.
Personal tools