Back to mods
Elements: Vault project artwork

CurseForge · Minecraft mod

Elements: Vault

A free economy API for NeoForge 1.21.1 so mods can share one currency for balances, shops and auction houses.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Elements: Vault release should I use?

Updated today
Latest stable file elements_vault-1.0.2.jar
Game version 1.21.1
Loader NeoForge

Elements: Vault elements_vault-1.0.2.jar targets 1.21.1 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Elements: Vault required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Elements: Vault elements_vault-1.0.2.jar need?

elements_vault-1.0.2.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Elements: Vault without breaking your instance.

Built for Elements: Vault elements_vault-1.0.2.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use elements_vault-1.0.2.jar. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside elements_vault-1.0.2.jar. It opens that exact file at the source.

About this project

What does Elements: Vault add?

MinecraftNeoForgeVersionEnvironmentTypeSource

Elements: Vault

A shared economy API for NeoForge 1.21.1. Vault holds no money itself. An economy mod registers itself as the provider, and any other mod can use it to read balances, take or pay money, and hook in its own shops or currency.

For server owners

You only need Vault when another mod asks for it. Put it in your server's mods folder next to that mod. It has no config files and no commands.

Only currencies that come with a mod count as currencies. Vanilla items only count after the server owner lists them in the economy mod's config and an admin confirms.

For mod developers

  • EconomyAPI: the entry point. EconomyAPI.get() returns the running economy, or empty when no provider is running.
  • EconomyService: balances, top balances, dry runs, withdraw, deposit, set, transfer, conversion between currencies and coin items. Async versions for offline players.
  • Account: named accounts besides a player's default one, such as a team bank or a shop's till, for currencies where supportsAccounts is true. Create, delete, list, and move money between them.
  • Currency: one kind of money, with its name, symbol, decimals and formatting. Digital, item or external.
  • CurrencyBackend: plug in your own money system.
  • ShopBridge: plug in a shop or auction mod.
  • Events on the game bus: transactions, balance changes, currency switches, shop purchases and auction listings and sales.
EconomyAPI.get().ifPresent(eco -> {
    Money price = eco.primaryCurrency().of(250);
    Result r = eco.withdraw(player.getUUID(), price, Cause.plugin("mymod"));
});

Always check EconomyAPI.isAvailable() (or use EconomyAPI.get()) before calling anything, since the service only exists while a provider is running.

Adding it to your project

Vault is on CurseForge, so you can pull it with CurseMaven:

repositories {
    maven {
        url = "https://cursemaven.com"
        content { includeGroup "curse.maven" }
    }
}

dependencies {
    compileOnly "curse.maven:elements-vault-1730724:9860520"
}

License

Free to use in any modpack. Credit Telmarine. No resale.

Project description from CurseForge.

Pick your setup

Elements: Vault by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Elements: Vault versions and loaders

3 of 3 releases match

Looking for an older file? The official CurseForge project page is in Resources.