Geckonomy

Geckonomy

Implements VaultUnlocked's economy with multiple currency support with SqlLite and MariaDb support.

7 downloads

Geckonomy

Geckonomy is a plugin that allows you to set up an economy with multiple working currencies.

Features

  • Many currencies: you can set up different currencies and different storage methods. You can set up a default currency too.
  • Legacy support: Plugin fully supports legacy vault's Economy interface. It would integrate seamlessly with plugins that rely on legacy vault's APIs.

Dependencies

VaultUnlocked
PlaceholderAPI

Configuration

Confirugation reference can be found here

Commands & permissions

Command (aliases) Description Base permission Per-currency permission
/balance (/bal) [player] [currency] Show own or another's balance geckonomy.balance (+.others) geckonomy.balance.<code> (+.others.<code>)
/pay <player> <amount> [currency] Transfer to another player geckonomy.pay geckonomy.pay.<code>
/baltop [currency] Richest accounts geckonomy.baltop geckonomy.baltop.<code>
/eco give <player> <amount> [currency] Add balance geckonomy.admin
/eco take <player> <amount> [currency] Remove balance geckonomy.admin
/eco set <player> <amount> [currency] Set balance geckonomy.admin
/eco reset <player> [currency] Reset to starting balance geckonomy.admin
/geckonomy reload Reload config & languages geckonomy.admin
/geckonomy version Show version geckonomy.admin

Placeholders

<code> is optional everywhere — absent means the default currency. <n> is a 1-based rank.

Placeholder Renders
%geckonomy_balance[_<code>]% balance, toPlainString() — alias of _raw
%geckonomy_balance_raw[_<code>]% same, spelled explicitly (see §Shadowing)
%geckonomy_balance_formatted[_<code>]% FormatMoney — the currency's format template
%geckonomy_balance_commas[_<code>]% grouped digits only, no template
%geckonomy_balance_fixed[_<code>]% setScale(0, RoundingMode.DOWN) — truncated, as Vault's _fixed
%geckonomy_balance_name[_<code>]% Currency.nameFor(balance) — the name agreeing with the balance
%geckonomy_symbol[_<code>]% Currency.symbol
%geckonomy_name[_<code>]% singular — alias of _name_singular
%geckonomy_name_singular[_<code>]% singular, spelled explicitly
%geckonomy_name_plural[_<code>]% plural
%geckonomy_digits[_<code>]% fractionalDigits
%geckonomy_format_<amount>[_<code>]% an arbitrary amount through FormatMoney
%geckonomy_baltop_player_<n>[_<code>]% account name at rank <n>
%geckonomy_baltop_balance_<n>[_<code>]% balance at rank <n>, toPlainString()
%geckonomy_baltop_balance_formatted_<n>[_<code>]% balance at rank <n>, formatted
%geckonomy_baltop_rank[_<code>]% the requesting player's own rank

No gallery available for this project.