Skip to content

About

Seal a chest until a future date — a time capsule for your Minecraft server. Spigot/Paper 1.21.x.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TimeCapsule

TimeCapsule lets players seal a chest, trapped chest, barrel or shulker box until a set time. Until then nobody can open it, break it, blow it up or move items in or out with a hopper, and the owner can't open it either. Once the time has passed it works like a normal container again, and by default the whole server gets a message that a capsule has unlocked.

Commands

/tc seal <time>   seal the container you are looking at
/tc info          owner, seal date, unlock date and time left
/tc list          your capsules and where they are
/tc unseal        take the seal off early
/tc reload        reload config.yml

/timecapsule and /capsule work as well. You have to look at the container from at most 6 blocks away. <time> is either a countdown such as 7d, 2w, 12h30m or 1y2w3d (units s, m, h, d, w and y), or a date in the server's time zone: 2026-12-25 or 2026-12-25 18:00.

Permissions

timecapsule.use is for sealing and managing your own capsules and everyone has it by default. timecapsule.admin (ops by default) can reload the config, unseal anyone's capsule and break a sealed capsule, which removes the seal.

Config

max-seal-duration caps how far ahead a capsule can be sealed (10 years by default). broadcast-on-unlock sends the server-wide message, and broadcast-coordinates adds the position to it. That one is off by default so nobody's base gets revealed. effects and ambient-particles turn the sounds and particles on or off, and allowed-containers sets which blocks can be sealed. All player messages are in the config as well. Both halves of a double chest are protected. Capsules are saved to plugins/TimeCapsule/capsules.yml, and the unlock message goes out within 30 seconds of the unlock time.

Installing and building

Put the jar from the releases page in plugins/ and restart. It needs Spigot or Paper 1.20.6 to 1.21.x on Java 21. I have tested it in-game on 1.20.6, 1.21.1, 1.21.4 and 1.21.11.

To build it yourself, run mvn clean package with JDK 21. The jar ends up in target/.

Questions and bug reports: Discord or the issue tracker here. MIT licensed, see LICENSE.

About

Seal a chest until a future date — a time capsule for your Minecraft server. Spigot/Paper 1.21.x.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages