CS2: How to Install Fake RCON

How to run server commands from inside the game on your DatHost CS2 server with the Fake RCON plugin, and other options.

CS2's own rcon_password  and rcon  commands don't work from the game's console. Fake RCON is a free plugin that adds its own versions, so you can run server commands, like changelevel  or mp_restartgame , while you play.

You don't need it to run commands from the control panel. The Console page in the panel runs server commands on its own.

Install Fake RCON

  1. Go to your DatHost Control Panel and click Edit on your CS2 server.
  2. Open Mods & Plugins in the left menu, then Plugins. Under Frameworks, turn on MetaMod.
  3. In the Plugin library, turn on Fake RCON.
  4. Click Save changes, then restart the server.

CS2 Mods & Plugins with MetaMod turned on

CS2 Mods & Plugins with Fake RCON turned on

  1. Click Files and open addons/configs/fake_rcon/config.cfg. You can also search for rcon.
  2. Put your password in the quotes after "rcon_password". Use at least 4 characters. This is separate from Server RCON in Settings.
  3. Save the file, then restart the server.

Fake RCON config.cfg in the DatHost File Manager

Run commands in game

Open the game's developer console and type:

fake_rcon_password yourpassword
fake_rcon mp_restartgame 1

The first line logs you in. After that, put fake_rcon in front of any server command. If commands stop working after you rejoin, log in again.

Other ways to run commands in game

These use your admin rights instead of a password, so they need CounterStrikeSharp on and you added as an admin.

Troubleshooting

The game doesn't recognise fake_rcon. Fake RCON isn't loaded. Check MetaMod and Fake RCON are on in Mods & Plugins, then restart. To check, type meta list on the Console page; Fake RCON should be in the list.

Commands do nothing, or "bad password". Use the password from Fake RCON's config.ini, not Server RCON from Settings. Log in again with fake_rcon_password after you join.

It stopped working after a CS2 update. CS2 updates can break MetaMod plugins until they're updated. We update the Plugin library as soon as a fix is out. Meanwhile, use the Console page in the panel. See CS2: How to Install Plugins.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us