Hi there,
are there any good DRM tools which require an server to work? As example: I create a code, user uses code, server check code and activates his game.
This all depends on what you want to do.
If you want to sell a game through one of the game portals, they will tell you which DRM to use because they already have one setup.
If you want to make your own DRM and sell the game through your own website, then yes there are such tools - but those I've heard of all require payment to use them...
If you sell on the likes of BFG or Steam, they have their own DRM and you don't have to worry about it (I'm not sure with Steam - if they ask you to add anything to your game for their DRM. BFG don't).
For the smaller portals like Amaranth Games and Aldorlea Games, you set up your payment processor and you choose the DRM you want to use. Best thing is to check with your payment processor and see which ones they recommend. They'll usually have two or three that will work well with their system, and you'd probably be doing yourself a favour going with one of those.