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

  1. File -> Open... and select the thundereconomy folder (the one containing pom.xml).
  2. IntelliJ will detect it as a Maven project and import it automatically.
  3. Make sure a JDK 25 is configured: File -> Project Structure -> Project -> SDK.
  4. Open the Maven panel (right sidebar) and run the package lifecycle goal, or simply run mvn clean package in the terminal.
  5. The built jar will be at target/ThunderEconomy-1.0.0.jar.
  6. Drop that jar into your Paper 26.2 server's plugins/ folder and restart the server.

Commands

CommandDescriptionPermission
/te /economyhelp /moneyhelp /ecohelpShows every command (admin section only visible to ops)anyone
/balance /bal /moneyCheck your own balancethundereconomy.use
/balance <player>Check another player's balancethundereconomy.balance.others
/pay <player> <amount>Send money to another playerthundereconomy.use
/baltopServer-wide money leaderboardthundereconomy.use
/request <player> <amount>Ask a player for money — sends a clickable Accept/Deny promptthundereconomy.use
/moneyrequest <accept\|deny> <id>Manually respond to a request (also works by clicking the buttons)thundereconomy.use
/eco give\|take\|set\|reset\|reloadFull economy administrationthundereconomy.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 /request arriving → 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
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover