Compatibility
Minecraft: Java Edition
1.21–1.21.9
Platforms
Supported environments
Creators
Details
Licensed Apache-2.0
Published last year
Updated 3 weeks ago
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.