
Modrinth · Minecraft mod
Stay A While
Add gamerules for item despawn timers!
Quick answer
Which Stay A While release should I use?
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.
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.
Install Fabric API first. We found matching files for this game-version and loader setup.
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.
- 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.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
Do not install it on the client. It must be installed on the dedicated server.
- 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 (usingQkey
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.
26.2
1 loader build1.21.4
1 loader build1.21.1
2 loader builds1.20.2
1 loader build1.20.1
1 loader build1.20
1 loader build1.19.4
1 loader build1.19.2
1 loader buildCheck 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
3.0.0
stayawhile-3.0.0-fabric-26.2.jar
9 Aug 2026
3.0.0
stayawhile-3.0.0-fabric-1.21.1.jar
9 Aug 2026
3.0.0
stayawhile-3.0.0-neoforge.jar
9 Aug 2026
2.0.0
stayawhile-2.0.0-neoforge.jar
2 Feb 2026
2.0.0
stayawhile-2.0.0-fabric.jar
2 Feb 2026
1.2.0
stay-a-while-1.2.0-1.21.4.jar
29 Jan 2025
1.2.0-1.20.2
stay-a-while-1.2.0-1.20.2.jar
22 Oct 2023
1.1.1-1.20.2
stay-a-while-1.1.1-1.20.2.jar
20 Oct 2023
1.1.1-1.20.1
stay-a-while-1.1.1-1.20.1.jar
20 Oct 2023
1.1.1-1.20
stay-a-while-1.1.1-1.20.jar
7 Jun 2023
1.1.1-1.19.2
stay-a-while-1.1.1-1.19.2.jar
13 Apr 2023
1.1.1-1.19.4
stay-a-while-1.1.1-1.19.4.jar
11 Apr 2023
Looking for an older file? The official Modrinth project page is in Resources.