Home›Java›Mods›InfValets - Multi-Currency Economy | Dynamic Exchange Rates | Public API | Vault Support
ModsJava
InfValets - Multi-Currency Economy | Dynamic Exchange Rates | Public API | Vault Support
Java mod listed for Minecraft 1.13–26.x. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotInfValets
A self-contained multi-currency economy for your server.
Create as many currencies as you like, let players pay and exchange them, and let other plugins use them through a clean public API. No Vault required - but if you have it, InfValets plugs right in.
Supports Minecraft 1.13 - 26.x (Spigot, Paper and forks) | Java 8+ | No dependencies
Features
Dynamic exchange rates
Every exchange pair is configured separately and can be FIXED or DYNAMIC.
FIXED - one constant rate.
DYNAMIC - the rate moves between a minimum and a maximum you choose, depending on two things:
Convert:
fee-percent : 0
pairs:
coin-gems:
mode : FIXED
rate : 10 # 1 coin = 10 gems
gems-coin:
mode : DYNAMIC
rate : 0.09 # base rate
min-rate : 0.05
max-rate : 0.1
fee-percent : 1
supply:
reference : 1000000 # "normal" total amount of the target currency
sensitivity : 0.5
demand:
window-minutes : 60
reference-ops : 20 # "normal" number of exchanges per window
sensitivity : 0.5
Commands
If you only have one currency, the currency argument can be left out.
Permissions
PlaceholderAPI
Identifier: infvalets. Values are cached and refreshed in the background, so they never block the server thread.
Vault
Vault is not required. If it is installed, InfValets registers itself as an economy provider for one currency of your choice (set in the Vault section of the config), so shops, jobs and similar plugins work out of the box.
Limitations: bank accounts are not supported, and amounts must be whole numbers.
For developers
InfValets has its own public API (no Vault needed) with multi-currency support, atomic operations and cancellable events. It never throws exceptions at you and is safe to call from async tasks.
InfValetsAPI api = InfValetsAPI. get ( ) ; // null if InfValets isn't running
if (api == null ) return ;
long coins = api. getBalance (player, "coin" ) ;
TransactionResult result = api. withdraw (player, "coin", 100 ) ;
if (result. isSuccess ( ) ) {
// give the item
}
ConversionResult exchange = api. convert (uuid, name, "coin", "gems", 50 ) ;
Events: ValetTransactionEvent (before a change, cancellable) and ValetBalanceChangedEvent (after a change).
Full documentation: API documentation on GitHub
Installation
Good to know
Support
Found a bug or have an idea? Open an issue here: issue tracker - or leave a message in the discussion tab. A review is always appreciated!
A self-contained multi-currency economy for your server.
Create as many currencies as you like, let players pay and exchange them, and let other plugins use them through a clean public API. No Vault required - but if you have it, InfValets plugs right in.
Supports Minecraft 1.13 - 26.x (Spigot, Paper and forks) | Java 8+ | No dependencies
Features
- Any number of currencies - each with its own name and its own per-player limit
- Exchange between currencies with fixed or dynamic exchange rates (see below)
- Optional exchange fee per pair
- Pay other players, online or offline
- Top lists for every currency
- Paid commands - let players spend a currency to run commands you define in the config
- Public API for developers, registered through Bukkit's ServicesManager, with custom events
- Optional Vault support - works with shops, jobs and other plugins that only know Vault
- Optional PlaceholderAPI support - balances, totals, limits, exchange rates and leaderboards
- SQLite (built in, zero setup) or PostgreSQL
- Safe by design - balances can never go negative or above the limit, transfers and exchanges are atomic (all or nothing)
- Fully configurable messages with colour codes
Dynamic exchange rates
Every exchange pair is configured separately and can be FIXED or DYNAMIC.
FIXED - one constant rate.
DYNAMIC - the rate moves between a minimum and a maximum you choose, depending on two things:
- How much of the target currency exists - the more of it is in circulation (compared to the "normal" amount you set), the cheaper it gets, so players receive more of it per unit.
- How often players exchange into it - frequent exchanges into a currency make it more expensive, so players receive less of it. The time window and the "normal" number of operations are configurable.
Code (YAML):
Convert:
fee-percent : 0
pairs:
coin-gems:
mode : FIXED
rate : 10 # 1 coin = 10 gems
gems-coin:
mode : DYNAMIC
rate : 0.09 # base rate
min-rate : 0.05
max-rate : 0.1
fee-percent : 1
supply:
reference : 1000000 # "normal" total amount of the target currency
sensitivity : 0.5
demand:
window-minutes : 60
reference-ops : 20 # "normal" number of exchanges per window
sensitivity : 0.5
Commands
If you only have one currency, the currency argument can be left out.
- /balance (aliases /bal, /money) - your balances
- /balance <currency> - your balance in one currency
- /balance <player> [currency] - another player's balance
- /balance top [currency], /baltop [currency] - leaderboard
- /pay <player> [currency] <amount> - send money to a player
- /convert <from> <to> <amount> (aliases /exchange, /conv) - exchange currencies
- /convert rate [from] [to] - show current exchange rates
- /costcommands <name> (aliases /paycmd, /payc) - run a paid command from the config
- /eco give|take|set <player> [currency] <amount> (alias /economy) - admin tools
- /eco reset <player> [currency] - set a balance to zero
- /infvalets reload (alias /ivalets) - reload the config
Permissions
- infvalets.balance - own balance and leaderboards (default: everyone)
- infvalets.balance.others - other players' balances (default: operators)
- infvalets.pay - /pay (default: everyone)
- infvalets.convert - /convert (default: everyone)
- infvalets.costcommands - /costcommands (default: everyone)
- infvalets.admin - /eco, /infvalets reload and the admin subcommands of /balance (default: operators)
PlaceholderAPI
Identifier: infvalets. Values are cached and refreshed in the background, so they never block the server thread.
- %infvalets_balance_<currency>% and %infvalets_balance_formatted_<currency>%
- %infvalets_limit_<currency>%
- %infvalets_total_<currency>% - how much of a currency all players own together
- %infvalets_rate_<from>_<to>% - current exchange rate
- %infvalets_top_<currency>_<1-10>_name% and _balance% - leaderboard places
Vault
Vault is not required. If it is installed, InfValets registers itself as an economy provider for one currency of your choice (set in the Vault section of the config), so shops, jobs and similar plugins work out of the box.
Limitations: bank accounts are not supported, and amounts must be whole numbers.
For developers
InfValets has its own public API (no Vault needed) with multi-currency support, atomic operations and cancellable events. It never throws exceptions at you and is safe to call from async tasks.
Code (Java):
InfValetsAPI api = InfValetsAPI. get ( ) ; // null if InfValets isn't running
if (api == null ) return ;
long coins = api. getBalance (player, "coin" ) ;
TransactionResult result = api. withdraw (player, "coin", 100 ) ;
if (result. isSuccess ( ) ) {
// give the item
}
ConversionResult exchange = api. convert (uuid, name, "coin", "gems", 50 ) ;
Events: ValetTransactionEvent (before a change, cancellable) and ValetBalanceChangedEvent (after a change).
Full documentation: API documentation on GitHub
Installation
- Drop InfValets.jar into your plugins folder and start the server.
- Edit plugins/InfValets/config.yml: define your currencies, exchange pairs and messages.
- Run /infvalets reload to apply changes.
Good to know
- Balances are whole numbers.
- Exchange history is stored for 30 days and is only used to calculate dynamic rates.
- This plugin uses bStats to collect anonymous usage statistics. You can opt out in plugins/bStats/config.yml.
Support
Found a bug or have an idea? Open an issue here: issue tracker - or leave a message in the discussion tab. A review is always appreciated!
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.13, 1.14, 1.15
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
InfValets - Multi-Currency Economy | Dynamic Exchange Rates | Public API | Vault Support is a free Minecraft Java mod. Compatible with Minecraft 1.13, 1.14, 1.15, 1.16 and newer. Downloaded 4 times (via Spigot). Download it and open it directly in the game.