Download Revault — Minecraft Mods — MetaMods
Revault

Revault

Active

Downloads

0

Last update

2 weeks ago

Versions

1.21 — 1.21.9
Server
Fabric
Forge
Neoforge
Quilt
Game mechanics
Utils

Revault

Revault is a datapack that enables vaults and ominous vaults to restock after a certain period of time. Normally, once a vault is opened, the player cannot open it again, but with Revault, this becomes possible after a waiting period.

Main Features

  • Works in both singleplayer and multiplayer modes with any number of players
  • When a vault is opened, an individual timer starts for each player
  • When the timer completes, the corresponding player gains the ability to reopen that vault
  • Timers are tied to game time, so vaults restock even in unloaded chunks (but not when the world/server is paused)
  • Smoke particles are displayed above vaults (similar to trial spawners on cooldown), visible only to players waiting for their timer to finish
  • By default, a regular vault restocks in 1 hour, while an ominous vault takes 5 hours (for comparison: a trial spawner recharges in 30 minutes)

Configuration

You can change game rules in the world by executing the command /function revault:gamerules via chat. Setting the reset time to -1 means that particular vault type will never recharge.

For Modpack Makers

Since this is a datapack, it does not have a configuration file. You can modify game rules for each world by altering or overwriting the "revault:default_gamerules" function.

Installation and Removal

  • Works automatically when installed during world creation
  • When first installed into an existing world, repair mode activates, resetting all previously opened vaults
  • When updating Revault from an older version to 1.3, if your world contains vaults opened before installing Revault, you should manually enable repair mode: /scoreboard players set RepairMode revault.time 1
  • When uninstalled, all vault markers remain
  • When reinstalled, all vaults that should have unlocked will be unlocked

Free to use in any modpacks on any platforms.

Project members
EMD123

EMD123

Developer

Created: 18 Jun 2024

ID: 8308