An open API service indexing awesome lists of open source software.

https://github.com/hsgamer/bettereconomy

A simple Economy plugin
https://github.com/hsgamer/bettereconomy

bukkit economy economy-plugin minecraft spigot spigot-api

Last synced: 6 months ago
JSON representation

A simple Economy plugin

Awesome Lists containing this project

README

          

# BetterEconomy
A simple economy plugin

## Commands & Permissions
| Command | Permission |
|-------------------------------|-------------------------------------------------------|
| `/eco give ` | bettereconomy.set |
| `/eco take ` | bettereconomy.set |
| `/eco set ` | bettereconomy.set |
| `/eco reload` | bettereconomy.reload |
| `/balance` | bettereconomy.balance
bettereconomy.balance.others |
| `/baltop` | bettereconomy.balancetop |
| `/pay ` | bettereconomy.pay |

## Config
```yaml
# The file handler to store the balance
# Allow: file, mysql, sqlite, json
handler-type: file

# Enable if the plugin should hook to other economy cores (Vault, Treasury, etc)
hook-enabled: true

# Settings on formatting the balance
currency:
symbol: $
singular: $
plural: $
format-fractional-digits: 2

# Settings on balance tasks
balance:
top-update-period: 100
file-save-period: 200
start-amount: 0.0
min-amount: 0.0

# Settings on database
database:
mysql:
host: localhost
port: '3306'
dbname: ''
username: root
password: ''
```

## Placeholders

> Requires [PlaceholderAPI](https://www.spigotmc.org/resources/placeholderapi.6245/)

| Placeholder | Description |
|--------------------------------------------------|--------------------------------------------------------------------------------|
| `%bettereconomy_balance%` | The balance of the player |
| `%bettereconomy_balance_formatted%` | The formatted balance of the player |
| `%bettereconomy_top%` | The current top position of the player |
| `%bettereconomy_top_name_%` | The name of the player at the position `` (starts from 1) |
| `%bettereconomy_top_uuid_%` | The uuid of the player at the position `` (starts from 1) |
| `%bettereconomy_top_balance_%` | The balance of the player at the position `` (starts from 1) |
| `%bettereconomy_top_balance_formatted_%` | The formatted balance of the player at the position `` (starts from 1) |