-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Important
Requires integration with BankAccounts to:
- check if you have sufficient money to buy diamonds
- issue currency to the Central Bank's account
Nation leaders can sell diamonds from their inventory to the Central Bank (via BankAccounts).
Config entry for item type (diamonds), buy/sell price, fee, and central bank (server) account.
The fee is a fixed value that the central bank retains as profit from the sale. Example:
Player sells 10 diamonds at $5,000 each = total value $50,000.
Fee is set to $1,000
Central Bank issues $50,000 in currency to itself
Central Bank sends $49,000 to player's national bank
=> Central Bank has kept a $1,000 fee for the entire transaction
All sales and purchases must be logged. The plugin checks your nation's selling/buying limits that are based on active players.
The plugin never allows buying more diamonds that were sold, meaning that new diamonds are never created.