Skip to content
This repository was archived by the owner on May 27, 2024. It is now read-only.

Commands | Economics

GamerCoder edited this page Jan 10, 2023 · 1 revision

One of the most important things for users and administrators alike is the management of balances for different Economies. This section will help you understand what commands allow you to manage balances, convert money, and more!

User Commands

Commands that are usable by all players, by default.

View Balance

View the player's current balance for each economy.

Player Required: true

Permission: novaconomy.user.balance

/balance

Pay another Player

Command used to open the menu, to pay another player using one's own balance.

An inputted amount can be changed through the menu, and will not pay automatically.

Player Required: true

Permission: novaconomy.user.pay

/pay <player> [economy] [amount]

Required Arguments

Player: The name of the online player you are paying.

Optional Arguments

Economy: The name of the economy you are paying in.

Amount: A preset amount you are paying.

Convert Economy Balances

Commands used to convert a balance from one economy to another.

There are two commands: /convert takes all input from the command arguments, and /exchange uses a GUI to convert economies and preview the new balances.

Player Required: true

Permission: novaconomy.user.convert

/convert <econ-from> <econ-to> <amount>

Required Arguments

Economy From: The Currency for the balance you are converting from.

Economy To: The Currency for the balance you are converting to.

Amount: How much you are converting on the Currency on the Economy From.

/exchange <amount>

Required Arguments

Amount: How much you are converting.

Creating a Check (with withdraw)

Command used to create a check, taking the money from the user's balance.

Player Required: true

Permission: novaconomy.user.check

/createcheck <economy> <amount>

Required Arguments

Economy: The Currency used on the check.

Amount: How much the check holds in value for the Currency.

View Balance Leaderboard

Command used to view the top 15 players online with the highest balances for select economies.

Player Required: true

Permission: novaconomy.user.leaderboard

/balboard [economy]

Optional Arguments

Economy: The economy to search on the leaderboard for.

By default, the leaderboard will show a combined balance based on the Economy's conversion scale. For example, if a player has 50$ and 25%, and a $ has a scale of 1 and a % has a scale of 2, the total balance would be 100: (50 * 1) + (25 * 2).

Administrator Commands

All administrator commands for managing other user's balances and other economy-related measurements and actions.

Set Balance

Command used to set a player's balance for the Novaconomy plugin.

Player Required: false

Permission: novaconomy.economy.setbalance

/econ setbalance <economy> <target> <amount>

Required Arguments

Economy: The economy to set the balance for.

Target: The name of the online player you are setting the balance for.

Amount: The amount you are setting.

Add Balance

Command used to add an amount to a player's balance.

Player Required: false

Permission: novaconomy.economy.addbalance

/econ addbalance <economy> <target> <amount>

Required Arguments

Economy: The economy that you are adding the balance for.

Target: The player you are adding the balance to.

Amount: How much that will be added to the payer's current balance for the economy inputted.

Remove Balance

Command used to remove a specific amount from a player's balance.

Player Required: false

Permission: novaconomy.economy.removebalance

/econ removebal <economy> <target> <amount>

Required Arguments

Economy: The economy used to remove the balance for.

Target: The name of the player that the balance will be removed from.

Amount: How much should be removed from the player's current balance.

Creating a Check (without withdraw)

Command used to create a check without requiring a withdraw from the administrator's current balance. The item will be added to the player's inventory.

Player Required: true

Permission: novaconomy.economy.check

/econ createcheck <economy> <amount>

Required Arguments

Economy: The economy that the check will be using.

Amount: How much the check should be worth.

Clone this wiki locally