Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buyOn this page, you will find how players exchange one currency for another.
Rates are set per currency and saved to its own file in the currencies folder.
Players exchange with /<currency> exchange <currency> <amount>, or from the wallet. The command without arguments lists the rates of that currency.
The amount is what the player pays. What they get is the amount times the rate, cut to the decimals of the currency they get. An exchange that would give nothing, or push them past that currency's maximum balance, is refused. Both currencies have to be usable by the player, where they are.
The Exchange Rates screen of a currency lists every other currency. Set a rate to allow exchanging into it: a rate of 100 on Gems toward Money gives 100 money for every gem. A currency without a rate cannot be exchanged into.
Rates only go one way. Exchanging Money back into Gems needs a rate on Money, such as 0.01.
Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buy