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 yesterday
Latest stable file elements_vault-1.0.1.jar
Game version 1.21.1
Loader NeoForge

Elements: Vault elements_vault-1.0.1.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.1.jar need?

elements_vault-1.0.1.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.1.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.1.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.1.jar. It opens that exact file at the source.

About this project

What does Elements: Vault add?

Minecraft NeoForge Side Type Source

Elements: Vault

Hey! Elements: Vault is a free economy API for NeoForge 1.21.1. I made it because there wasn't a good Vault-style option for NeoForge 1.21.1, and I wanted economy, shop and currency mods to be able to talk to each other instead of each one doing its own thing.

Vault doesn't do anything on its own. It holds no money and adds no commands. An economy mod (like my own Elements: Economy) plugs into it as the provider, and any other mod can then use that one economy through Vault.

What mods can do with it

  • Read balances, take money, pay money and move money between players
  • Check first with "dry runs" before changing anything
  • Plug in their own money system (digital, coins, another mod's currency)
  • Connect their shop or auction house so it follows the server's currency
  • Listen for events: transactions, balance changes, shop purchases, auction listings and sales, and currency switch-overs

For server owners

You only need Vault if a mod asks for it. Elements: Economy already has Vault built in, so you don't need to install it separately for that.

For mod developers

Add it with CurseMaven:

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

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

Then use it like this:

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()) first, since the service only exists while a provider is running.

License

Free to use in any modpack. Just credit Telmarine and don't sell it. Full terms are on GitHub.

Bug reports and ideas are always welcome!

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

2 of 2 releases match

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