Tags
Creators
Details
1.19.0
Compatibility
Changes
π What's new
1.19.0 is a follow-up to the 1.18.0 per-world economy release. It fixes two issues that stopped the new economy from working cleanly in a common setup. InvSwitcher now functions as a true standalone economy β you no longer need a separate economy plugin such as EssentialsX for it to take effect β and admin economy commands now report the correct balance for offline players instead of a stale value.
β¨ Highlights
π Standalone economy now works on its own
InvSwitcher registers its own per-world Vault economy, but BentoBox hooks Vault during its early startup, before addons enable. When InvSwitcher was the only economy on the server, that early hook found nothing and was discarded, so BentoBox's getVault() stayed empty β and economy-dependent addons such as Bank disabled themselves with "Vault is required" even though a working per-world economy was present. InvSwitcher now registers a fresh Vault hook with BentoBox once its provider is live, so it works as the server's only economy.
Companion framework PRs harden this further: BentoBox #2995 retries the Vault hook after addons enable, and Bank #67 retries before disabling.
π Correct balance reported for offline economy transactions
Admin eco give, eco set, and eco take on an offline player reported a stale balance β for example "New balance: 0.00" right after giving 2,000. The money was always stored correctly, but the confirmation message re-read the balance from the database before the asynchronous save had flushed, returning the pre-transaction value. The commands now report the authoritative balance returned by the transaction itself.
This release also hardens the underlying offline read-after-write path: offline saves are tracked while in flight so two rapid sequential transactions on the same offline player can no longer load independent stale copies and lose an update β without blocking the main thread or caching offline players indefinitely.
βοΈ Compatibility
βοΈ BentoBox 3.17.0 βοΈ Paper Minecraft 1.21.5 β 26.1.2 βοΈ Java 21
π₯ How to update
- Take backups of your server, for safety.
- Stop the server.
- Drop the new InvSwitcher jar into the addons folder and remove the old one.
- Restart the server.
- You should be good to go!
What's Changed
- π Register a fresh Vault hook so InvSwitcher works as a standalone economy by @tastybento in https://github.com/BentoBoxWorld/InvSwitcher/commit/d929649
- π Report offline economy balances correctly and harden offline saves by @tastybento in https://github.com/BentoBoxWorld/InvSwitcher/commit/a15c645
- Add MC 26.1.2 to Modrinth game-versions by @tastybento in https://github.com/BentoBoxWorld/InvSwitcher/pull/52
Full Changelog: https://github.com/BentoBoxWorld/InvSwitcher/compare/1.18.0...1.19.0
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:5C3aTus2:3K4Gw26x"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:5C3aTus2:3K4Gw26x"
}

