Revault
ModAllows vaults to be reopened after a configurable cooldown.
Description
Revault is a datapack that makes vaults and ominous vaults restock after some time. Normally once a vault is opened, it can't be opened again by that player, but Revault lets that player open it again, after some time has passed.
- Works in both singleplayer and multiplayer, with any number of players.
- Each player starts a timer in the vault when they open it. Once a timer finishes, the player who started that timer will be allowed to open that vault again.
- Timers are linked to gametime, so vaults will restock even in unloaded chunks (but not if the world/server is paused).
- Vaults will display smoke particles on top (similar to a trial spawner on cooldown) that are ONLY visible to players that are on cooldown.
- By default, a normal vault takes 1 hour to restock, and an ominous vault takes 5 hours. (For reference, a trial spawner takes 30 minutes)
Configuration
You can change gamerules in a world by clicking on chat after running /function revault:gamerules
Setting a reset time to -1 means the vault type will never reset.
For Modpack Makers
Since this is a datapack, it does not have a config.
You can change gamerules in every world by modifying/overwriting the function
"revault:default_gamerules"
I recommend watching the tutorial.
Advanced information about customizing gamerules here.
Installing and Uninstalling
Will work automatically when installed with world creation
- When first installed into an existing world, Repair Mode will activate, which causes all previously opened vaults to be reset.
- When updating Revault from an older version to 1.3, if your world has any vaults that were opened before you installed Revault, you should enable Repair Mode manually: /scoreboard players set RepairMode revault.time 1
- When Uninstalled, all vault-markers will stay.
- When Reinstalled, all vaults that would have unlocked already, will unlock.
Free to be used in any modpack, on any platform.
Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Screenshots
Similar Mods
Jasione
Reduce GC pressure by safely eliminating Enum#values array cloning and memory allocation overhead through bytecode analy...
Skyblock Enhanced Storage
A unified overlay for Hypixel SkyBlock storage — all your Ender Chests and Backpacks in one searchable view.
Carpet Org Addition
This is an expansion mod for Carpet that offers some useful or useless features, which does not change the mechanics of...
Taterzen NPCs [Forge]
A NPC / citizen like mod
Create: Propulsion
A mod that adds optical sensors and thruster to the Create mod. All stuff works with Valkyrien Skies 2!
The Zenith Sword
Brings the Zenith from Terraria to Minecraft