How to get position of all players?

The same way you override any C++ function. You did it with PostLogin and Logout.