Skip to content

Buy/sell diamonds #12

@zefir-git

Description

@zefir-git

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA request, idea, or new functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions