Also remember this:
All data the client send you is potentially faked/a bot/ hacker. So nmake sure you properly validate everything if it makes sense. If you skip that part prepare for a world of pain
Just ask the DayZ guys on how NOT to do this.