Перейти к содержимому
Mineforgian

Diamond Economy

An item-based economy plugin using Vault. Choose what item to use for your economy. Messages are configurable for translation. Player balance data is stored with a SQLite database.

Загрузки
1K
Подписчики
5
Обновлён
25 февраля 2026 г.
Лицензия
MIT

Опубликован 30 июля 2025 г.

DiamondEconomy

A lightweight, highly configurable economy plugin that bridges Vault banking with physical items.

Features

  • Configurable Currency: Tired of Diamonds? Easily switch to Emeralds, Iron Ingots, or Amethyst Shards via config.yml.
  • Custom Symbols & Formatting: Change the currency symbol (e.g., from to $) and fully customize all message colors/translations using messages.yml.
  • Vault Integration: Hooks into Vault for seamless compatibility with Vault plugins.
  • Physical Economy: Deposit items to bank, withdraw items from bank. Automatically handles inventory space (drops items if full).
  • Admin Tools: Full control over the economy with /eco (give, take, set) and /balance [player] for offline support.
  • Privacy Features: Players can toggle their visibility on /baltop.
  • SQLite Database: Uses a local SQLite database for high performance and crash-safe data storage.
  • Fractional Balances: Supports precise payments down to 0.01, but players can only withdraw whole items.

Dependencies

  • Vault - This plugin is required for DiamondEconomy to function.

Installation

  1. Make sure you have Vault installed on your server.
  2. Download the latest release of DiamondEconomy.
  3. Place the JAR file into your server's plugins folder.
  4. Restart your server.

Configuration & Localization

DiamondEconomy creates two files in the plugin folder for easy customization:

config.yml

  • currency-item: The material players deposit/withdraw (e.g., DIAMOND, EMERALD, AMETHYST_SHARD).
  • currency-symbol: The symbol used in chat (e.g., , $, ).

messages.yml

  • All user-facing text can be edited here.
  • Supports Minecraft color codes (e.g., &a, &c).
  • Useful for translating the plugin to other languages.

Permissions

Permission Description Default
diamondeconomy.use Use /pay, /deposit, /withdraw. true
diamondeconomy.balance.others Check balances of other players via /balance [player]. op
diamondeconomy.toggle Toggle own visibility in /baltop. true
diamondeconomy.admin Use /eco, /diamondeconomy reload, and checks offline balances. op

Commands

Command Alias(es) Description
/balance [player] /bal Check your balance or another player's.
/deposit <amount|all> /dep Deposit currency items from your inventory.
/withdraw <amount|all> /with Withdraw currency items into your inventory.
/pay <player> <amount> none Pays another player from your balance.
/baltop [toggle] /balancetop View the richest players, or toggle visibility.
/eco <give|take|set> <player> <amount> none Modify player balances (Admin).
/diamondeconomy reload /de Reload configuration and messages.

Usage Examples

Depositing

/deposit 5        # Deposits 5 currency items
/dep all          # Deposits all currency items in your inventory

Withdrawing

/withdraw 64      # Withdraws 64 items (gives 1 stack)
/with all         # Withdraws as many whole items as your balance allows

Paying

/pay Steve 50     # Pays Steve 50.00 currency
/pay Alex 0.50    # Pays Alex 50 cents

Admin Management

/eco give Steve 1000      # Give Steve 1000 currency
/eco take Alex 500         # Take 500 currency from Alex
/eco set Herobrine 0       # Set Herobrine's balance to 0
/de reload                 # Reload config/messages

Ченджлог

1.2.2Релиз26.1.1, 26.1.2, 26.2 · 25 февраля 2026 г.

Finally fixed towny bug, thanks to JamesAmericansky

1.2.1Релиз1.21.9, 1.21.10, 1.21.11 · 24 февраля 2026 г.

Fixed named item dupe exploit. Attempted to patch towny bug, needs further testing.

1.2.0Релиз1.21.9, 1.21.10, 1.21.11 · 25 января 2026 г.

Fixed bug with certain plugin interactions. Added bstats integration. Added update check on startup.

1.1.0Релиз1.21.9, 1.21.10, 1.21.11 · 24 января 2026 г.

Fixed off-hand dupliation glitch. Added many configuration options. Added suite of Admin commands.

1.0.2Релиз1.21.8, 1.21.9, 1.21.10 · 14 октября 2025 г.

Now compatible with 1.21.9 and 1.21.10.

1.0.1Релиз1.21.6, 1.21.7, 1.21.8 · 30 июля 2025 г.

Now compatible with the chest shop plugin, does not yet support servers with separate economies per world.

1.0.0Релиз1.21.6, 1.21.7, 1.21.8 · 30 июля 2025 г.

The first release of DiamondEconomy. All the basic economy commands are available.

Комментарии

Загружаем…