- MongoDB installed locally: https://www.mongodb.com/try/download/community
- OpenAI API Key (if you want to use the ChatGPT integration): https://platform.openai.com/account/api-keys
Go program that performs various commands via RCON base on local TF2 console output. Get all the players' name and steamID on the server and store them into the local MongoDB instance.
$ ./auto_build.sh
$ ./run.sh
$ ./auto_build.sh
$ ./run.bat
You should launch your TF2 with the following launch options:
-flushlog -rpt -novid -usercon -ip 0.0.0.0 +rcon_password 123 +net_start
The password really doesn't matter as nobody will be accessing it except for you. At the moment the password use to connect to RCON is hardcoded as 123
so please don't change it; otherwise, the program will not work.