This article's documentation is for anything that uses the Source engine. Click here for more information.

Rcon: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Removed redirect to Source RCON Protocol)
Tag: Removed redirect
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{LanguageBar}}
{{This is a|console command|name=rcon}} It can be used to issue commands on server as a client. Server must have cvar <kbd>rcon_password</kbd> set as non-empty string and the client must have it set to the same value to be able to issue commands.
{{This is a|console command|name=rcon}} It can be used to issue commands on server as a client. Server must have cvar <kbd>rcon_password</kbd> set as non-empty string and the client must have it set to the same value to be able to issue commands.


Line 4: Line 5:
<code>rcon <command></code>
<code>rcon <command></code>


For example: <code>rcon say This say command will be issued from the server console</code>
== Examples ==
* <code>rcon say This say command will be issued from the server console</code>
* <code>rcon sv_cheats 1</code>


== See also ==
== See also ==
* [[Source RCON Protocol]]
* [[Source RCON Protocol]]

Latest revision as of 00:49, 30 June 2025

English (en)中文 (zh)Translate (Translate)

rcon is a console command available in all Source Source games. It can be used to issue commands on server as a client. Server must have cvar rcon_password set as non-empty string and the client must have it set to the same value to be able to issue commands.

Syntax: rcon <command>

Examples

  • rcon say This say command will be issued from the server console
  • rcon sv_cheats 1

See also