Tavern Tokens - Virtual Currency System
The Tavern Tokens modification represents an innovative system for managing in-game currency that uses physical items as the basis for economic operations. The developers have created a special wallet that allows players to safely store huge amounts of coins - up to the limit of the Long data type in Java, which is approximately 9 quintillion units.
The feature of this system is that the wallet is saved in the player's data, providing constant access to funds at any time. This solution eliminates the need to carry heavy bags of coins and risk losing them.
Opportunities for Developers
The mod provides developers of other modifications with tools to create their own currency systems. The built-in item tag system significantly simplifies the process of adding new currency types to the wallet. To do this, it's enough to assign the taverntokens:valid_currency tag to an item.
Important Technical Features
When currency is placed in the wallet, all additional NBT tags are removed. This means that if you want to create an item with custom description or special properties, this functionality must be implemented directly in your modification.

