• check_circle Advancements
  • check_circle Functions
  • 9,358 views, 19 today
  • 1,386 downloads, 0 today
  • 54
  • 57
  • 38
EMD123
Level 62 : High Grandmaster System
107
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.

Revault Minecraft Data Pack Revault Minecraft Data Pack Revault Minecraft Data Pack
CompatibilityMinecraft 1.21
Tags

4 Update Logs

1.2.1 : by EMD123 04/01/2025 10:30:49 pmApr 1st

Updated to 1.21.5
LOAD MORE LOGS

Create an account or sign in to comment.

User5636995G
03/11/2025 1:43 pm
Level 1 : New Miner
Does this work with other datapacks that add custom vaults?




For example i have a datapack that replaces elytra spawns with a vault to everyone can get one.
1
EMD123
03/14/2025 7:13 pm
Level 62 : High Grandmaster System
Yes
1
Geklo
01/04/2025 6:28 pm
Level 1 : New Miner
does this work on realms with no one logged in? I opened a ominous vault one night and over 12 hours later the vault wasn't able to be reopened
1
Boskeverde
12/04/2024 8:06 pm
He/Him • Level 13 : Journeyman Artist
I like it
2
ARegularBlueSlime
09/03/2024 10:43 am
Level 32 : Artisan Toast
history
will there be a way to reset already opened vaults in single player worlds?
1
EMD123
09/07/2024 8:18 pm
Level 62 : High Grandmaster System
It's not currently planned, but if enough people need it, I'll add it.
1
Songar87
07/31/2024 4:06 pm
Level 4 : Apprentice Miner
It seems like it doesn't work with vaults that were opened prior to installing the datapack. Is that intended behavior?
1
EMD123
08/01/2024 10:22 am
Level 62 : High Grandmaster System
Yes, this is intended. To fix them have another player open them.
2
Bugbat
08/28/2024 2:04 pm
Level 1 : New Miner
history
I tried this and it didn't work. Any idea how to fix it? I used the "/scoreboard objectives setdisplay sidebar revault.time" command and it stated "Unknown scoreboard objectives ''revault.time'".
1
Bugbat
08/28/2024 2:31 pm
Level 1 : New Miner
I used the "/scoreboard objectives setdisplay sidebar revault.time" command and it stated "Unknown scoreboard objectives ''revault.time'".
1

Welcome