"Money is not a problem of the government as it can alway create its own money but it may inflation will destroy the economy. So the government needs to print a way to prevent inflation.
So, are you confused?! Because I am."
Was that a typo? Did you mean to say 'the government needs to find a way to prevent inflation'?
Accoding to MMT, the way to prevent inflation is to ensure that the volume of money being spent does not exceed current prices. If your inflation is higher than the target level, then decrease spending and/or increase taxation. If you can rapidly increase production, that would also help.
"what about when the real resources become virtual?"
Are you saying that land and people can be converted into a virtual state and are no longer real?