pConomy - The simple, developer friendly economy plugin

History & Description

Created for the CurlyBraceProductions Game Server, pConomy is an economy plugin that provides an API for developers. Currently, the only way to add money to a player's account is to either have another plugin hook in to it using its API, or to use the commands built into it.

Commands

  • /pconomy - Base command. Aliases: /eco, /bal, /balance, /money, /pco
  • Sub Commands:

- no sub command = Shows your balance.

- <player> = Shows <player>'s balance.

- set <player> <amount> = Set <player>'s balance to <amount>.

- add <player> <amount> = Add <amount> to <player>'s balance.

- remove <player> <amount> = Remove <amount> from <player>'s balance.

Commands in bold require the permission pconomy.admin to use.

Developer API

The API is currently limited, and will stay this way for a while, until people begin to ask for features.

pConomyAPI api = pConomy.getInstance().getAPI(); // get the API's instance.

if (api.hasBalance(String player, double amount) {
    // code.
}

api.setBalance(String player, double amount); // set player's balance to amount

api.addBalance(String player, double amount); // add amount to player's balance

api.removeBalance(String player, double amount); // remove amount from player's balance

Plugins adding features to pConomy

- None :(


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    47105
  • Created
    Nov 10, 2012
  • Last Released File
    Nov 10, 2012
  • Total Downloads
    1,591
  • License

Categories

Members

Recent Files

Bukkit