What you should learn from game programming about security is to:
Never thrust the client!
I'm baffled that in games like Minecraft, the server sends all blocks to the client, instead of just the blocks that are visible. Or that you can give yourself any weapon and infinite ammo in DayZ. etc ...
To be fair, it's very hard to do, especially in a sandbox game - the computer has not only to have a good model of the world, but also a model of how the client sees the world.
And in Minecraft it's not really a problem, because the game is more cooperative than competitive.