Back to mods
Stay A While project artwork

Modrinth · Minecraft mod

Stay A While

Add gamerules for item despawn timers!

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Stay A While release should I use?

Updated yesterday
Latest stable file 3.0.0
Game version 26.2
Loader Fabric

Stay A While 3.0.0 targets 26.2 with Fabric. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.

Where it goes

Is Stay A While required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does Stay A While 3.0.0 need?

3.0.0. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by Stay A While 3.0.0
required
Matching file found Matched file: 0.157.0+26.2

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Stay A While without breaking your instance.

Built for Stay A While 3.0.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 3.0.0. It targets 26.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 3.0.0. It opens that exact file at the source.

About this project

What does Stay A While add?

Stay A While

Have you ever thought that your items disappear too quickly? Perhaps the normal timer is just fine, but you wish you had
just a little more time to collect your items after you die. Or maybe you want your items to despawn faster to give death
that little extra stress factor. You might also hate it when you die and your items scatter everywhere.
If any of these things sound like you, Stay A While can help with that.

What does it do?

By default, Stay A While makes items dropped upon death never despawn and not scatter randomly.
Additionally, it adds 4 new gamerules to customize behavior:

  • thrownItemDespawnTime (1.21.1)/stay_a_while:thrown_item_despawn_time (26.2) - the amount of ticks an item that was thrown by a player (using Q key
    by default)
    takes to despawn (default: 6000)
  • deathDropDespawnTime (1.21.1)/stay_a_while:death_drop_despawn_time (26.2) - the amount of ticks an item that was dropped by a player upon death
    takes to despawn (default: -1; vanilla behavior: 6000)
  • itemDespawnTime (1.21.1)/stay_a_while:item_despawn_time - the amount of ticks all other dropped items take to despawn (default: 6000)
  • scatterDeathDrops (1.21.1)/stay_a_while:scatter_death_drops (26.2) - whether or not items dropped upon death scatter randomly (default: false,
    vanilla behavior: true)

In case you are unfamiliar with them, 20 ticks == 1 second : 1200 ticks == 1 minute : 6000 ticks == 5 minutes
Values less than 0 (i.e. negative values) on the despawn time gamerules are make their category of items never despawn

Other questions you might want answers to

Does this work on servers?

Yes! Just install on the server and you're good to go. No players need to install!

What if I change the value while items are still on the ground?

If the max age is raised while the item is still alive, it will always follow the new lifespan, extending the life of the item.
If the max age is lowered while the item is still alive, the behavior currently differs between modloaders:

  • On Fabric: items begin checking against the new age immediately, so the item's lifespan is reduced upon changing
    the gamerule
  • On Neoforge: items only begin checking against the new age if they attempt to despawn, so the item's lifespan is unaffected,
    continuing to follow the previous timer

Project description from Modrinth.

Pick your setup

Stay A While by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

9 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Stay A While versions and loaders

14 of 14 releases match

Looking for an older file? The official Modrinth project page is in Resources.