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 7 days ago
Latest stable file 2.0.3
Game version 26.3
Loader Fabric

Stay A While 2.0.3 targets 26.3 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 2.0.3 need?

2.0.3. 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 2.0.3
required
Matching file found Matched file: 0.163.0+26.3

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 2.0.3. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.0.3. It targets 26.3 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 2.0.3. It opens that exact file at the source.

About this project

What does Stay A While add?

Stay a While

Stay a While allows you to customize the amount of time it takes for items on the ground to despawn, and allows for
customization based on how the item was dropped. It makes items dropped on death not randomly scatter on the ground.

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

Works Fully Serverside

In multiplayer, the mod only needs to be installed on the server to function, and players without the mod installed are able to connect to servers with the mod installed.

Version Policy

As with most of my mods, the plan is to keep Stay a While on 1.21.1 Neoforge & Fabric
for as long as 1.21.1 is a prominent version for modpacks, and continue pushing
updates for the latest version of Minecraft on Fabric.

As the "long-term-support" version, 1.21.1 is the only Minecraft version
older than Latest Release which will be receiving new versions of the mod.

Bug Reports

If you find any bugs, please report them to the codeberg repo

Modpacks

As with all of my mods, you may include Stay a While in any modpack.

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.

10 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

18 of 18 releases match

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