Azrova's Economy
A robust and feature-rich economy plugin for PaperMC/Bukkit servers, designed to provide essential economic functionalities with support for Vault and optional PlaceholderAPI integration.
- Загрузки
- 199
- Подписчики
- 0
- Обновлён
- 8 июня 2025 г.
- Лицензия
- Apache-2.0
Опубликован 30 мая 2025 г.
Azrova's Economy - This project is no longer managed by Azrova, you can fork but please make sure to give us credits!
A robust and feature-rich economy plugin for PaperMC/Bukkit servers, designed to provide essential economic functionalities with support for Vault and optional PlaceholderAPI integration.
Features
- Core Economy via Vault: Leverages Vault for broad compatibility with other economy-related plugins.
- Player Account Management: Complete user account creation, removal, and access control system.
- User Access Control: Administrators can remove users from the economy system, preventing access to all economy commands.
- Configurable Starting Balance: Set a starting amount for new players.
- Daily Rewards: Allow players to claim a configurable daily reward.
- Player-to-Player Payments:
/paycommand for transferring money. - Banknotes:
/withdrawcommand to create physical banknotes that can be redeemed. - Balance Checking:
/balancecommand for players to check their own or others' balances (permission-based). - Richest Players List:
/money topcommand to display the top N richest players. - Organized Admin Commands: Separate command sets for balance management and user management.
- Comprehensive Help System: In-game help via
/eco help [topic]for economy, admin, and user management commands. - PlaceholderAPI Support (Optional): Display player balances via
%azrovaseconomy_balance%. - Configurable Currency Symbol: Customize the currency symbol (e.g., $, €, etc.) in
config.yml. - SQLite Data Storage: Player data is saved locally using SQLite, requiring no external database setup.
Dependencies
- Vault (Required): Azrova's Economy relies on Vault to provide the economy API. This plugin will not function without Vault installed.
- PlaceholderAPI (Optional): If you wish to use placeholders like
%azrovaseconomy_balance%in other plugins (e.g., scoreboards, chat), PlaceholderAPI must be installed. The plugin will function normally without it, but placeholders will not be available.
Installation
- Ensure your server is running PaperMC 1.21.x or a compatible version.
- Install Vault if you haven't already. Download it from SpigotMC and place the JAR file in your server's
pluginsfolder. - (Optional) Install PlaceholderAPI if you intend to use placeholders. Download it from SpigotMC and place the JAR file in your server's
pluginsfolder. - Download the latest release of
AzrovasEconomy.jarfrom the Releases Page. - Place the
AzrovasEconomy.jarfile into your server'spluginsfolder. - Restart or reload your server.
Configuration
The plugin will generate a config.yml file in its plugin folder (plugins/AzrovasEconomy/config.yml) upon first run. You can modify these settings:
starting-balance: 100.0
daily-reward-amount: 100.0
currency-symbol: "$"
daily-enabled: true
starting-balance: The amount of money a player receives when they join the server for the first time and an account is created for them.daily-reward-amount: The amount of money a player receives when they use the/dailycommand.currency-symbol: The symbol used before amounts in messages (e.g., "$100.00").daily-enabled: Whether the daily reward system is enabled. Set tofalseto disable the/dailycommand entirely.
Commands & Permissions
Below is a list of commands and their associated permissions. Permissions set to true under default are enabled for all users by default. Permissions set to op are enabled for server operators by default.
Player Commands
| Command | Description | Permission | Default |
|---|---|---|---|
/pay [user] [amount] |
Pay a user an amount of money. | azrova.economy.pay |
true |
/withdraw [amount] |
Withdraw money as a physical banknote. | azrova.economy.withdraw |
true |
/balance or /bal |
Shows your current balance. | azrova.economy.balance |
true |
/balance [user] |
Shows another user's balance. | azrova.economy.balance.others |
op |
/money top |
Shows the top richest players. | azrova.economy.money.top |
true |
/daily |
Claim your daily reward. | azrova.economy.daily |
true |
Admin Commands
Help System
| Command | Description | Permission | Default |
|---|---|---|---|
/eco help |
Shows available help topics. | azrova.admin |
op |
/eco help economy |
Shows general economy commands help. | azrova.admin |
op |
/eco help admin |
Shows admin balance commands help. | azrova.admin |
op |
/eco help user |
Shows user management commands help. | azrova.admin |
op |
Balance Management (Legacy /eco commands)
| Command | Description | Permission | Default |
|---|---|---|---|
/eco set [user] [amount] |
Set a user's balance. | azrova.admin.set |
op |
/eco remove [user] [amount] |
Remove money from a user. | azrova.admin.remove |
op |
/eco delete [user] |
Delete a user's economy account. | azrova.admin.delete |
op |
Balance Management (New /eco admin commands)
| Command | Description | Permission | Default |
|---|---|---|---|
/eco admin set [user] [amount] |
Set a user's balance. | azrova.admin.set |
op |
/eco admin add [user] [amount] |
Add money to a user's balance. | azrova.admin.add |
op |
/eco admin remove [user] [amount] |
Remove money from a user. | azrova.admin.remove |
op |
/eco admin delete [user] |
Delete a user's economy account. | azrova.admin.delete |
op |
User Management
| Command | Description | Permission | Default |
|---|---|---|---|
/eco user create [username] |
Create an economy account for a user. | eco.admin.user.create |
op |
/eco user remove [username] |
Remove a user's economy account. | eco.admin.user.remove |
op |
Base Admin Permission
| Permission | Description | Default |
|---|---|---|
azrova.admin |
Base permission for all admin commands. | op |
User Access Control
Azrova's Economy includes a comprehensive user access control system:
Account Management
- Account Creation: Administrators can create economy accounts for users with
/eco user create [username] - Account Removal: Administrators can remove users from the economy system with
/eco user remove [username] - Access Prevention: Removed users cannot use any economy commands until their account is recreated
Removed User Behavior
When a user's economy account is removed:
- All economy commands (
/balance,/pay,/withdraw,/daily) will fail with a clear error message - The user receives the message: "You do not have an economy account. Contact an administrator."
- No automatic account recreation occurs - accounts must be manually recreated by administrators
- Other players cannot pay money to removed users
Account Recreation
- Removed users can have their accounts recreated using
/eco user create [username] - New accounts start with the configured starting balance
- All economy functionality is restored upon account recreation
Help System
The plugin features a comprehensive in-game help system accessible through /eco help:
/eco help- Shows all available help topics/eco help economy- Lists all player economy commands/eco help admin- Lists all admin balance management commands/eco help user- Lists all user management commands with usage notes
Placeholders (PlaceholderAPI)
If PlaceholderAPI is installed, the following placeholder is available:
%azrovaseconomy_balance%: Displays the player's current balance, formatted with the configured currency symbol.- Example:
You have: %azrovaseconomy_balance%might display asYou have: $150.50 - Returns
$0.00for users without economy accounts
- Example:
Building from Source
If you wish to build the plugin from source:
- Clone the repository:
git clone https://github.com/Azrova/AzrovasEconomy.git - Navigate to the project directory:
cd AzrovasEconomy - Ensure you have Java 21 (or the version specified in
build.gradle.kts) installed and configured. - Run the Gradle build command:
- On Windows:
.\gradlew build - On Linux/macOS:
./gradlew build
- On Windows:
- The compiled JAR file will be located in
build/libs/.
Authors & Support
- Authors: CNethuka, Sobble
- Support & Bug Reports: Please use the Issues Page on GitHub.
- Project Repository: https://github.com/Azrova/AzrovasEconomy
Made with ❤ by CNethuka and Sobble
Ченджлог
1.1.0Релиз1.21.3, 1.21.4, 1.21.5 · 8 июня 2025 г.
What's new?
- Converted /help to /eco help so it doesn't overwrite the /help which the server provides: ✔️
- Added new commands, /eco user remove [username] and /eco create [username]. What does these commands do? /eco remove [username] makes it so the user is deleted from the database, and will not be able to use Economy commands again. Unless if an Admin does /eco create [username] to create their Economy account once again!: ✔️
Fixed bugs:
- Made it so the plugin won't automatically do /daily on the user, because when it does $200 will be added and the /daily is useable again: Fixed ✔️
What's Changed
- Better way to send alpha bulids by @Sobble2546 in https://github.com/Azrova/AzrovasEconomy/pull/3
Full Changelog: https://github.com/Azrova/AzrovasEconomy/compare/1.0.0...1.1.0
1.0.0Релиз1.21.3, 1.21.4, 1.21.5 · 31 мая 2025 г.
Azrova's Economy - 1.0.0
Features:
- Has basic commands that an Economy plugin has
- Folders and files more in the right order than just messy like the old plugins code
- Only works with Vault now (Vault Unlocked will no longer will work with this plugin)
Fixed bugs
- Duping money fixed
- Some commands like /bal (/balance) are default enabled for users, but this bug made it so it blocked even default permissions--which is now fixed
Developed by CNethuka & Sobble
What's Changed
- Added github actions and .gitignore by @Sobble2546 in https://github.com/Azrova/AzrovasEconomy/pull/1
- Added issue templates :> by @Sobble2546 in https://github.com/Azrova/AzrovasEconomy/pull/2
New Contributors
- @Sobble2546 made their first contribution in https://github.com/Azrova/AzrovasEconomy/pull/1
Full Changelog: https://github.com/Azrova/AzrovasEconomy/commits/1.0.0
Комментарии
Загружаем…