Jump to content
Sign in to follow this  
caryatid23

grepping in game chat

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...