caryatid23 Posted July 30, 2015 Posted July 30, 2015 Hey all; Anyone know if there is a way to get the in game chat text as the server is running ( read only is fine )? In particular I'd like to be able to monitor the chat for specific keywords. Letting the players type something like "ADMIN: shiznitz broke dawg." So that I can handle things without having to have the client up; or even have some automated behaviours. Thanks! Dave
Sim Posted July 30, 2015 Posted July 30, 2015 Well, there is a "chatlog = 0" entry in the data/startup.cfg file. I think if you set it to 1 - a chat log will be generated (I haven't tried it yet - just guessing). Then you need a script or program to parse this log for new items every second or so and look for keywords. And for automated behaviors... your script/program then can also establish rcon connection with your dedicated server (see bin/console/readme.txt file for details). With player chat input and rcon interface you could trigger server-side commands (Translator: Server Input). In the end - players could influence the mission with chat commands (if that's what you are looking for with automation). 2
4SCT_Vespa Posted August 15, 2015 Posted August 15, 2015 Interesting info...thanks Sim.....what is the location of saved chat txt file? Thanks
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now