SL-CustomEconomy
Version: 1.0
Minecraft Version: 1.20.4 (should work from 1.8 to the latest)
API: Placeholder API (
required)
Overview
The
SL-CustomEconomy introduces a simple yet powerful economy management system for Minecraft servers. With easy-to-use commands and PlaceholderAPI support, you can track player balances, reward them, and enhance the gameplay experience. Perfect for servers of all sizes!
Features
-
Flexible balance management: Add, remove, or set player balances using
/Sleco.
-
UUID-based storage: Securely stores data using player UUIDs in a configuration file.
-
Colorful messages: Beautifully formatted messages with color codes (supported from 1.16.5+).
-
Placeholder support: Use
%sl_customeconomy_balance% to display player balances anywhere!
-
Lightweight and modular: Clean code with separate classes for commands and economic logic.
Commands
Add money to a player's account:
Remove money from a player's account:
Set a player's balance to a specific amount:
Permissions:
- customeconomy.admin (default for OPs).
Installation
1. Download the plugin from SpigotMC.
2. Place the `.jar` file in the `plugins` folder.
3. (
required) Install PlaceholderAPI for placeholder support.
4. Restart your server and enjoy!
Configuration
The plugin uses
config.yml to store player balances and messages.
Example:
Code (YAML):
#
# PERMISSIONS
#
# /eco add <player> <amount> - sl.customeconomy.admin
# /eco remove <player> <amount> - sl.customeconomy.admin
# /eco set <player> <amount> - sl.customeconomy.admin
#
messages:
add
:
"&aAdded &a{money} &7to &a{player}&7's account."
set
:
"&aSet &a{player}&7's account to &a{money}&7."
remove
:
"&cRemoved &c{money} &7from &c{player}&7's account."
no-permission
:
"&cYou don't have permission!"
invalid-amount
:
"&cAmount must be a positive number!"
insufficient-funds
:
"&cPlayer {player} doesn't have enough funds!"
invalid-action
:
"&cInvalid action! Use: add, remove, set"
usage
:
"&cUsage: /sleco [add|remove|set] <player> <amount>"
users:
"123e4567-e89b-12d3-a456-426614174000"
: 100.0
I plan to add MySQL support in the near future. Feel free to send me ideas for new plugins or to this plugin on Discord: .sunlight_._
Thank you for all the feedback, both positive and negative.
Enjoy using the plugin.