Virtual worlds can have monetary system. Second Life has the Linden Dollar.OpenSim does not have a built in currency but several currency systems are available to implement in it and across other virtual worlds.

Monetary systems and currency exchanges

Blog posts about monetary systems