Page 1 of 1

Player Join Handler

Posted: Mon Jan 25, 2016 3:36 am
by allejo
...a very generic and descriptive plug-in name; not my best, I know.

This plug-in keeps track of player sessions and automatically moves players to the observer team if a match is active on the server and they are either unverified or they were not already previously on the server within _sessionTime seconds. In other words, when a match is ongoing, players will automatically be moved to the Observer team if they are unverified or they were not previously already on the observer team; this prevents random players from joining matches and then immediately getting kicked.

I put it to the test at today's Battle of the Genders matches and it worked flawlessly. Enjoy!

GitHub
playerJoinHandler.cpp

License: MIT