Back to mods
Keep Inventory Penalty project artwork

Modrinth · Minecraft mod

Keep Inventory Penalty

Adds a configurable xp penalty when you die while using keepInventory.

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

Quick answer

Which Keep Inventory Penalty release should I use?

Updated 1 year ago
Latest stable file 3.0.0
Game version 1.21.1
Loader NeoForge

Keep Inventory Penalty 3.0.0 targets 1.21.1 with NeoForge. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.

Where it goes

Is Keep Inventory Penalty 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 NeoForge
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 Keep Inventory Penalty 3.0.0 need?

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

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Keep Inventory Penalty without breaking your instance.

Built for Keep Inventory Penalty 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 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  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 Keep Inventory Penalty add?

Keep Inventory Penalty

Keep Inventory Penalty adds a configurable xp penalty when you die while using keepInventory. With the default configuration your XP will be halved each time you die.

Features:

  • XP penalty on death
  • Config file inside your world folder
  • Reload the config using the /reload command

Config Options for 1.21+

  • Penalty enabled (default: true)
  • Penalty loss percentage (default: 0.5f)
  • Random penalty between two values (default: false)
  • Global chat message shaming the dying player about his xp loss (default: false)
  • If the player gets killed by another player, give the attacking player the penalized xp (default: false)
  • Lose items enchanted with curse of vanishing (default: true)

FAQ

Can I include this in my Modpack?

Yes.

Backports?

No.

Is this mod compatible with X?

I don't know. I will add a list of incompatible mods if problems come to my attention.

Project description from Modrinth.

Pick your setup

Keep Inventory Penalty 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

Keep Inventory Penalty versions and loaders

7 of 7 releases match

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