Jump to content
Sign in to follow this  

Suggestions for logging and RCon

Recommended Posts


So I checked the RCon documentation out and noticed that there are a few rcon commands which are not documented, eg `ChatSync`.

But thats not what I wanted to talk about.

Currently it is impossible to log chat, other than polling `ChatSync` which is suboptimal. Either write a logfile with chat like you do for game events or enable an event based rcon connection.

Since the current one uses http, how about Upgrade to ws? or just plain old TCP socket would be fine too.

`PlayerSync` only gives steam ids, which require me query the steam api to get the playername.

The current situation is a bit confusing. On the one hand, you can get live data from the `LiveLog.json` (Only second precision on timestamp is also not enough) on the other you have this weird request response http api which requires inefficient polling.

An example Websocket based API can be found here:


This is an api for gsmanager.de which works for cod4 and bf3,hl,4

List of possible events: https://www.gsmanager.de/lexicon/entry/34-list-of-events/ (not all documented)

I hope this gets improved in upcoming versions.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this