Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
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 they will work even in unloaded chunks.
Configuration
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)
You can change these values in a world by running /function revault:gamerules
You can change these values in every world by modifying/overwriting the function
"revault:default_gamerules"
Setting the reset time to -1 means the vault will never reset.
Advanced information about customizing gamerules here.
Installing and Uninstalling
When installed into an existing world, all already opened vaults will stay locked until opened by a new player, where they would then unlock for all players when the last timer ends.
- 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.