Skip to content

Version 1.1

Choose a tag to compare

@arpcache-oss arpcache-oss released this 03 Dec 02:58
· 8 commits to main since this release

PercEconomy v1.1 🚀

The latest update to PercEconomy brings exciting new features for administrators and a fully customizable experience through configuration options. Take greater control over your server's economy with new admin commands and fully editable messages with dynamic placeholders.


🆕 New Features

1. Admin Commands

Easily manage player balances with the new /economy commands:

  • /economy give <player> <amount>
    Adds the specified amount to the target player's balance.
    Example: /economy give Notch 500

  • /economy set <player> <amount>
    Sets the target player's balance to the specified amount.
    Example: /economy set Steve 1000

  • /economy take <player> <amount>
    Removes the specified amount from the target player's balance.
    Example: /economy take Alex 200

  • /economy reload
    Reloads the plugin's configuration file without restarting the server.
    Example: /economy reload

2. Customizable Messages

All plugin messages can now be fully customized in config.yml. Use the following placeholders to make messages dynamic and personalized:

Placeholder Represents
{balance} Player's current balance after transaction
{player} Target player's name
{sender} Command executor's name
{receiver} Recipient player's name
{amount} Amount of currency involved
{currency} Currency symbol defined in config.yml
{target} Name of a player not found

Example configuration:

# The starting balance for new players
starting-balance: 1000.0

# Currency symbol
currency-symbol: "$"

# Messages
messages:
  balance:
    self: "&aYour balance is: &6{currency}{balance}"
    others: "&a{player}'s balance is: &6{currency}{balance}"
    usage: "&cUsage: /balance [player]"
    no-permission: "&cYou do not have permission to check others' balances."
    player-not-found: "&cPlayer {target} not found."
  pay:
    success: "&aYou have paid &6{currency}{amount} &ato &b{receiver}. Your new balance is &6{currency}{balance}"
    received: "&b{sender} &ahas paid you &6{currency}{amount}. Your new balance is &6{currency}{balance}"
    insufficient-funds: "&cYou do not have enough balance. Your balance is &6{currency}{balance}"
    invalid-amount: "&cInvalid amount."
    negative-amount: "&cAmount must be positive."
    pay-self: "&cYou cannot pay yourself."
    player-not-found: "&cPlayer {target} not found or not online."
    usage: "&cUsage: /pay <player> <amount>"
  economy:
    give: "&aYou have given &6{currency}{amount} &ato &b{player}. &aTheir new balance is &6{currency}{balance}"
    take: "&aYou have taken &6{currency}{amount} &afrom &b{player}. &aTheir new balance is &6{currency}{balance}"
    set: "&aYou have set &b{player}'s &abalance to &6{currency}{balance}"
    reload: "&aPlugin configuration reloaded."
    player-not-found: "&cPlayer {target} not found."
    invalid-amount: "&cInvalid amount."
    usage: "&cUsage: /economy <give|take|set|reload> [player] [amount]"
    no-permission: "&cYou do not have permission to use this command."