Respawn Chest

A new update (0.9.3) is available now!
  • Hello everyone,

    you probably know the problem: there are loot chests at spawn, someone empties them, and sooner or later an admin has to refill them by hand.


    Respawn Chest takes care of exactly that.

    Fill a chest once and save its contents as a template. As soon as a player removes an item, a timer starts. When the timer expires, the chest is cleared and restored to its saved contents.


    The plugin is deliberately lightweight. Registered chests are not constantly checked in the background, so even a large number of them should have practically no noticeable impact on server performance.

    How it works

    • Place and fill a normal chest
    • Look at the chest
    • Use /make-refill <minutes> in Chat
    • A player removes an item
    • The refill timer starts
    • The world keeps turning
    • When the timer expires, the chest is cleared and restored from the saved template


    Putting items into the chest does not start the timer.

    If a timer is already running, removing additional items does not restart or extend it.

    Automatic resets happen silently, without chat spam.

    Commands

    Only server admins listed in Server_Admins in server.properties can use these commands.

    • /make-refill <minutes> – registers the targeted chest and saves its current contents as the template
    • /refill-update – replaces the saved template with the chest's current contents
    • /refill-now – resets the chest immediately
    • /refill-remove – unregisters the chest
    • /refill-info – shows the current refill status


    A value of 0 minutes uses a 5-second timer for testing.

    Maximum refill time: 24 hours.

    Important: When a chest resets, everything currently inside it is removed before the saved template is restored.

    The chest is not a hotel. It is a template with discipline.

    Download / Installation

    Latest release:

    Respawn Chest v1.1.0

    Place the JAR here:

    ./plugins/RespawnChest/RespawnChest.jar

    Restart the server afterwards.

    Built against Rising World Plugin API 0.9.3.

    License: MIT

    Source code:

    GitHub – rw-respawn-chest

    Bugs / Feedback

    If something behaves strangely, feel free to post it here.

    If you are reporting a problem with a registered chest, including the output of /refill-info can make troubleshooting easier.

    Have fun.

    The admins can finally stop refilling chests by hand.

    Probably.

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!