Physical economy for VaultUnlocked.
Find a file
adrian 717f1b9a1a Bumped version to 1.2.
Added `/balance` and `/pay` commands and a config option to enable them.

Added safeIs method to Config to match values without case sensitivity.

Added getCurrencyText method to Config to generate a formatted string from a currency amount.

Value 'format' from config file now supports amount-name replacement.

Main now stores the instance of VaultLayer for further use.
2026-01-02 20:55:50 -03:00
.github/workflows I promise I'll stop using GitHub to edit files. 2025-12-31 15:27:44 -03:00
gradle Initial commit 2025-12-30 11:53:41 -03:00
src/main Bumped version to 1.2. 2026-01-02 20:55:50 -03:00
.gitignore Initial commit 2025-12-30 11:53:41 -03:00
build.gradle.kts nor read all the errors 2025-12-31 15:22:56 -03:00
gradlew Initial commit 2025-12-30 11:53:41 -03:00
gradlew.bat Initial commit 2025-12-30 11:53:41 -03:00
gradlew.properties Initial commit 2025-12-30 11:53:41 -03:00
LICENSE Configured build to use VaultUnlocked. 2025-12-31 13:15:08 -03:00
README.md Bumped version to 1.2. 2026-01-02 20:55:50 -03:00
settings.gradle Configured build to use VaultUnlocked. 2025-12-31 13:15:08 -03:00

ItemEconomy II

ItemEconomy II is a fork of ItemEconomy, keeping it updated to later versions of Minecraft and adding new features.

This PaperMC plugin integrates with Vault to provide a unique, item-based economy system for your Minecraft server. Instead of relying solely on virtual balances, players use in-game items as physical currency, adding a layer of immersion and realism to your economy. Features:

  • Item-Based Currency: Set any Minecraft item as your server's currency (default: diamonds).
  • VaultUnlocked Integration: Fully compatible with VaultUnlocked, enabling seamless interaction with other economy-based plugins.
  • Simple logic: Just checks if the user has the item/how many when queried.
  • Customizable Formatting: Define how your currency is displayed, including singular and plural forms.
  • Ender Chest support: Items on Ender Chests are counted in the user balance.
  • Built-int optional balance and pay commands with support for permissions.

Configuration Example:

item: diamond        # Define the item to be used as currency.
singular: diamond    # Singular form of the currency.
plural: diamonds     # Plural form of the currency.
format: "{} $"       # {} will be replaced with the amount and $ either with singular or plural
ender_chest: balance # Either none or balance
commands: true       # Disabling this will disable /balance and /pay

This configuration will use diamonds as the currency, displayed as {amount}$, e.g., "5 diamonds" or "1 diamond".

Usage:

  • Players can earn, trade, and store the configured item as physical currency.
  • Integrates seamlessly with Vault-compatible plugins for shops, auctions, and more.
  • Administrators can customize the item and formatting to match their server's theme.