Tool created for very basic Counter-Strike 2 server management for a small LAN event.
https://github.com/fpaezf/Valve-RCON-protocol-in-VB.NET
In file "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg\server.cfg"
Add following line
rcon_password "yourpassword"
"C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\bin\win64\cs2.exe" -dedicated -maxplayers 16 -maxplayers_override 16 -usercon +game_type 0 +game_mode 1 +map de_inferno +ip 0.0.0.0
This repository contains 2 tools
- CLI
- UI
They work independently, use the one you want.
Download latest release of the program from the releases page of this repo here.
UI-win-x64.zip
Unzip and start CounterStrike2RconTool.Wpf.exe
Double click RconWpf.exe to start.
Set Ip, Port and Password of the server and click the Connect button.
To change game mode, select one from the Game Mode drop down and click the Change game mode button.
Always select a map after changing the game mode.
To change the map, select one from the Map drop down and click the Change map button.
Bots are added on the wrong team and in some cases server became unstable after running the command.
The Kick all bots button works.
The Restart game button restarts current game with the current configuration after a 5 seconds countdown.
Type your command in the Manual command Textbox and click the Send command button to execute it.
You can execute several commands at once, they have to be "; " separated.
Download latest release of the program from the releases page of this repo here.
CLI-win-x64.zip
Unzip and .\CounterStrike2RconTool.Cli.exe
Updates ip, port and password to use. Changes are saved in a configuration file.
CounterStrike2RconTool.Cli.exe updateinfo --ip "172.30.240.1" --port 27015 --password "yourpassword"
Reads a file with a set of commands to execute.
Sample files are included in the 'RconCommandFiles' directory. Create your own files or customize existing ones.
CounterStrike2RconTool.Cli.exe readfile --file commands.txt
Executes a " ;" separated command.
CounterStrike2RconTool.Cli.exe exec "your ; separated command"