Thunder-Relay/MC/ThunderEconomy
0 forks
id: 25982
2,041 Lines
- Java 87.6%
- Yaml 6.4%
- Markdown 3.3%
- XML 2.7%
README.md
ThunderEconomy
A polished economy plugin.
Requirements
- Java 25 (Minecraft/Paper 26.2 requires it).
- A Paper 26.2 server.
Opening the project in IntelliJ IDEA
File -> Open...and select thethundereconomyfolder (the one containingpom.xml).- IntelliJ will detect it as a Maven project and import it automatically.
- Make sure a JDK 25 is configured:
File -> Project Structure -> Project -> SDK. - Open the Maven panel (right sidebar) and run the
packagelifecycle goal, or simply runmvn clean packagein the terminal. - The built jar will be at
target/ThunderEconomy-1.0.0.jar. - Drop that jar into your Paper 26.2 server's
plugins/folder and restart the server.
Commands
| Command | Description | Permission |
|---|---|---|
/te /economyhelp /moneyhelp /ecohelp | Shows every command (admin section only visible to ops) | anyone |
/balance /bal /money | Check your own balance | thundereconomy.use |
/balance <player> | Check another player's balance | thundereconomy.balance.others |
/pay <player> <amount> | Send money to another player | thundereconomy.use |
/baltop | Server-wide money leaderboard | thundereconomy.use |
/request <player> <amount> | Ask a player for money — sends a clickable Accept/Deny prompt | thundereconomy.use |
/moneyrequest <accept\|deny> <id> | Manually respond to a request (also works by clicking the buttons) | thundereconomy.use |
/eco give\|take\|set\|reset\|reload | Full economy administration | thundereconomy.admin (op by default) |
Examples:
/eco give Steve 500
/eco take Steve 100
/eco set Steve 0
/eco reset Steve
/eco reset all
/eco reload
Configuration (config.yml)
starting-balance: 1000.0
currency-symbol: "$"
currency-singular: "Coin"
currency-plural: "Coins"
request-expiry-seconds: 120
autosave-interval-seconds: 300
leaderboard-size: 10
Balances are stored in plugins/ThunderEconomy/data.yml and are auto-saved periodically,
after every transaction, and safely on server shutdown.
Sound feedback
Every meaningful action plays a matching sound cue (tweak them in util/SoundUtil.java):
- Successful payments / admin gives → bright pickup chime
- Receiving money → level-up jingle
- A new
/requestarriving → note-block ping - Request sent / accepted button click → soft UI click
- Denied requests / money taken by an admin → low note-block thud
- Errors (insufficient funds, invalid input, player not found) → negative buzz