Jump to content

Recommended Posts

Posted

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

Posted

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).

  • Upvote 2
Posted

Hey Sim, Thanks!  Sounds perfect. 

  • 3 weeks later...
Posted

Interesting info...thanks Sim.....what is the location of saved chat txt file?

Thanks

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
×
×
  • Create New...