Save The Hotbar!

Save The Hotbar!

KeepInventory and Gravestones, balanced, configurable alternative!

by
1.1K Downloads
fabricadventureequipmentgame-mechanics
Rent Server with this Mod

About this Mod

SaveTheHotbar!

keepInventory GameRule should be set to true for the mod to work


Description

SaveTheHotbar! is a balanced alternative to keepInventory and gravestone type mods.
It allows you to keep the armour or the hotbar after death and drop the rest of the inventory,
so that you don't lose the armament required to get the rest of your loot back!



Configuration

You can access and edit the config in game entering it's configuration through the Mod Menu.
SaveTheHotbar! can be configured with the following options:


enabled

Defaults to true
If false, the mod will become disabled, just as if it wasn't installed.


saveHotbar

Defaults to true
If true, the hotbar will be kept after death.

saveArmor

Defaults to true
If true, the armor will be kept after death.

saveSecondHand

Defaults to true
If true, the second hand will be kept after death.

saveArsenal

Defaults to true
If true, the Arsenal's back slot will be kept after death.
Does not do anything if the Arsenal mod is not installed

experienceBehaviour

Defaults to false
If DROP, the experience will be dropped after death.
If STORE, the experience will be stored in the "grave" block. (if containDrop is false, EXP will drop instead)
If KEEP, the player will keep the experience.
No matter which mode is selected, the new EXP amount after death will be calculated according to experienceCalculationMode setting

experienceCalculationMode

Defaults to FRACTION
If ALL, the experience stays unchanged.
If FRACTION, the experience is multiplied by experienceFraction.
If VANILLA, the new experience value is calculated with the vanilla formula -> new_exp_points = {player_level} * 7.

experienceFraction

Defaults to 0.2
The fraction of experience that should be dropped/stored/kept after death when experienceCalculationMode is set to FRACTION

randomDropChance

Defaults to 0.0 (0.0 -> 0%; 1.0 -> 100%)
Adds a random chance to drop an otherwise kept item
E.g. Even when the armor should be kept, each piece will still have a change to be dropped instead, increasing the risk!

rarityDropChanceDecrease

Defaults to 0.2 (0.0 -> 0%; 1.0 -> 100%)
A percentage by which the random drop chance will be decreased according to item's rarity
(e.g. rdc = 20%, rdcd = 20%, UNCOMMON item will have 16% change to drop)

luckDropChanceDecrease

Defaults to 0.2 (0.0 -> 0%; 1.0 -> 100%)
A percentage by which the random drop chance will be decreased according to player's luck effect
(e.g. rdc = 20%, ldcd = 20%, with luck 1, item will have 16% change to drop)


randomSpread

Defaults to false
If true, all the dropped items after death will be spread randomly in all directions.
If false, all the item will stay in the exact position of your death and can only fall downwards.
Does not do anything if containDrop is true.

containDrop

Defaults to false
If true, all the non-kept items will be stored in a block specified by the containDropMode option.
If false, all the non-kept items will be dropped after death.

containDropMode

Defaults to "SACK"
The block where the non-kept items will be stored if containDrop is true.

  • "SACK"
    After player death, a sack will be spawned, containing all the non-kept items.
    Drops items on destruction. Can be waterlogged. Does not drop itself.
  • "SKELETON_HEAD" / "ZOMBIE_HEAD" / "RANDOM_HEAD"
    After player death, mob head grave will be spawned, containing all the non-kept items.
    Drops items on destruction. Does not drop itself.
    The Grave will be spawned in the first found valid spawn location, which is a full block with replaceable block on top.
    If such location inside mobGraveMaxSpawnRadius radius isn't found, a SACK grave will be spawned instead.
  • "GRAVE"
    GRAVESTONES  MOD REQUIRED!!!
    After player death, a grave from the Gravestones mod will be spawned,
    containing the non-kept items and XP according to its configuration.

mobGraveMaxSpawnRadius

Defaults to 1
The maximum search radius for a valid sack spawning position.
If no valid place is found, a Sack will be spawned directly at the death position replacing whatever block was there.

mobGraveMaxSpawnRadius

Defaults to 32
The maximum search radius for a valid mob grave spawning position.
If no valid place is found, a Sack will be spawned instead.

allowGravesToSpawnOnSlabs

Defaults to false
If true a top slab block will also be considered a valid grave spawning block


logDeathCoordinatesInChat

Defaults to false
If true, the coordinates of the death will be logged in the chat.

logGraveCoordinatesInChat

Defaults to false
If true, the coordinates of the grave will be logged in the chat.



Roadmap:

  • Make config translations translatable through translation files

Available Versions

Save The Hotbar! 1.2.0release
MC 1.20.1, 1.20.2, 1.20.3, 1.20.4fabric
November 1, 2025
SaveTheHotbar! 1.1.1release
MC 1.20.1, 1.20.2, 1.20.3, 1.20.4fabric
October 20, 2025
SaveTheHotbar! 1.0.0release
MC 1.20.1, 1.20.2, 1.20.3, 1.20.4fabric
October 20, 2024

How to Install Save The Hotbar! on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.4).

3

Install Mod

Open the mod browser in the dashboard and search for "Save The Hotbar!". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.20.4, 1.20.3, 1.20.2 (+1 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Save The Hotbar! server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.4). You can switch loaders with one click in the panel.

Is Save The Hotbar! compatible with fabric?

Save The Hotbar! officially supports fabric for Minecraft 1.20.4, 1.20.3, 1.20.2. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Save The Hotbar! – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Save The Hotbar! consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Save The Hotbar! with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
Apache License 2.0
Server-side
Required

Supported Versions

1.20.41.20.31.20.21.20.1