Skip to content

Bank Commands

This page describes the usage and permissions of the Bank commands. The bank command always starts with /bank <name>, while <name> is the name of the bank.

Important things to remember:

  • Required arguments are declared with <example>
  • Optional arguments are declared with [example]

Index


/bank [list]

Permission: dkcoins.command.bank

This is the base bank command. It lists all your bank accounts.


/bank <name>

Permission: dkcoins.command.bank

This is the base command for a specific bank. It shows you all your account credits with the certain amount. If the bank does not exist, it will be shown in the chat.


/bank <name> create [accountType]

Permission: dkcoins.command.bank
Arguments:

  • <accountType> The account type (e.g. user, bank)

This command creates a bank with the specific name and account type. Default there are two account types, bank and user, but a user account can't be created manually.


/bank <name> delete

Permission: dkcoins.command.bank

This command deletes an existing bank account and all credits. You need to be the owner of the specified bank.


/bank <name> settings <setting> <value>

Permission: dkcoins.command.bank
Arguments:

  • <setting> The setting type
  • <value> The value to be changed

This command changes settings of a bank.

Settings: * receivenotifications, boolean value


/bank <name> transfer <receiver> <amount> [currency]

Permission: dkcoins.command.bank
Arguments:

  • <receiver> The receiver bank
  • <amount> The amount to be transferred
  • [currency] currency to be transferred, if not given the default currency will be chosen

This command transfer money from a bank to another bank in a specified currency. If the sender bank does not have enough money of the currency, it will not be work.


/bank <name> exchange <source> <target> <amount>

Permission: dkcoins.command.bank
Arguments:

  • <source> The source currency
  • <target> The target currency
  • <amount> The amount to be transferred

This command exchanges a specified amount of money from a currency to another specified currency.


/bank <name> member

Permission: dkcoins.command.bank

This command controls the member management of the bank. For more information about the member commands, click here.


/bank <name> limit

Permission: dkcoins.command.bank

This command controls all global bank limits of the bank. For more information about the limit commands, click here.


/bank <name> statement

Permission: dkcoins.command.bank

This command shows you all your bank transfers and exchanges.


/bank <name> role <role>

Permission: dkcoins.command.bank

This command controls the role of the bank. This sub commands are not available for user bank accounts. For more information about the role commands, click here



Last update: 2021-03-24