Skip to content

A Counter-Strike 2 and Source engine based game servers RCON tool for Windows

Notifications You must be signed in to change notification settings

fpaezf/Counter-Strike-dedicated-server-admin-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

1

Counter-Strike dedicated server remote admin tool

Windows NET

This software is a RCON (Remote CONsole) tool that allows you to control and manage multiple Counter-Strike 2 or other Source engine based game servers at same time using the TCP/IP-based Source RCON protocol.

In the past, a lot of RCON tools were published, maybe the most popular was HLSW but currently the project is abandoned and no updates are released. Some clones like Source Admin Tool tried to take over but most of them are outdated and doesn't support Counter-Strike 2 at 100%.

Seeing the lack of updated and functional tools to manage my own game servers i decided to code a new one by myself. In early releases of this tool i've used a RCON library i found in GitHub but it was unstable and makes the application crash.

Finally i coded my own RCON class and rebuilt the application from scratch without the third party dlls.

The Source RCON protocol

The Source RCON Protocol is a TCP/IP-based network communication protocol which allows to remotely send console commands to any Source-based game server. The most common use of the RCON protocol is to allow server owners to manage their game servers without direct access to the machine where the game server is running on.

In order for commands to be accepted, the connection between client and server must first be authenticated using the server's RCON password, which can be set up using a special console variable. Normally, this variable is located inside server.cfg file.

rcon_password "123456"

You can view more details of how the Source RCON protocol works in Valve's website:

Main features

  • Visual servers list
  • GeoIP-based servers country flags
  • Manage workshop maps/collections
  • Retrieve map group from server
  • Source RCON protocol data query from servers
  • Steam web API data query from servers
  • Retrieve server players list via RCON commands or A2S UDP packets
  • Kick/Ban/Mute players by Name, Ip or ID
  • Quick server actions (add bots, change map, restart game...)
  • Send console commands and show the server's response
  • Autofilling console commands dropdown list
  • Send/receive/log chat messages
  • Edit/Save predefined broadcast messages
  • Auto send messages every X minutes
  • Scheduled commands (daily at specified time or every x minutes)
  • Open the game and join a server
  • Shutdown remote server
  • Application log
  • Server manager
  • Metamod & Counter-StrikeSharp commands

Why source code is not published?

I shared my RCON class in GitHub to allow users to copy and modify the code. RCON class is the core of this application, all other stuff is only a fancy GUI. Stop asking for full source code, i will not publish it. You can use my class and create your own tool as i did.

Your code is a pile of sh!t

I know my code is a spagetti bowl, i'm not a professional developer, feel free to fix it and if you want, share your corrections with me to keep it updated and working.

Screenshots

1 2 3 4 5 6 7 8 9

Other CS2 admin tools

aaaa

To easly manage my own game servers i also published a tool that allows you to install, update, start and stop the servers with just one click.

You can publish your comments, ask for new features or send your feedback on Reddit: