To bring up the console to enter the codes press Ctrl + ] during gameplay (European players press Ctrl + +). Then type these case-sensitive codes into the console and press 'Enter' to enable their effect in the game. Where # appears in the code insert a number for the desired amount.
Unlock God Mode: LogSender:GodMode(1) (this only effects the main character)
Disable Fog of War: UI:FOWEnable(0)
Use Spells Repeatedly: LogSender:NoManaUsage(1)
Get Indicated amount of Raw Materials: LoGgSender:GiveGood(#) Give(#)
Get Indicated amount of Money: LogSender:AddMoney(#) Give(#)