Deepnox Posted March 26, 2017 Share Posted March 26, 2017 I currently own a gaming server and I would like to build myself some protections. What I'm looking forward to do is quite simple. I am going to connect to my game server using the RCON protocol. I will then be able to see all events happening on this one. (I.E: Player "John" joined the server, Player "Mark" killed "Patrick" with "Hammer", ...). What I need to do is for every line that would pop-up, handle it and take proper actions depending on each of these lines. (If it is about a player that is joining the server, check if he is authorized (for example)). Most of my other scripts are already written in PHP. I'd like to do that in PHP as well! Is there any PHP functions that allows me to track these events? The only way I'm actually thinking of doing this is scanning every second the console and if a new line appears, analyze it and take action. Am I going the right way? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.