Keep Inventory penalty

Quick rating

Community listing page, reviews here may not be monitored by the author.

Keep Inventory penalty

No reviews yet

By default, dying will cut the player's XP in half, making `keepInventory` feel less overpowered while still keeping its convenience.

Mod Loaders
Minecraft

About

Description

Keep Inventory Tax

Keep Inventory Tax adds a configurable XP penalty when a player dies while keepInventory is enabled.

By default, dying will cut the player's XP in half, making keepInventory feel less overpowered while still keeping its convenience.


Features

  • XP penalty on death
  • Fully configurable behavior
  • Config stored inside the world folder
  • Supports config reload with /reload

Default Behavior

With the default settings, when a player dies while keepInventory is active:

  • their items stay with them,
  • but their XP is reduced by 50%.

This adds a simple and balanced cost to using keepInventory.


Config Options (1.21+)

  • Penalty enabled
    Default: true

  • Penalty loss percentage
    Default: 0.5

  • Random penalty between two values
    Default: false

  • Global chat message shaming the dying player about XP loss
    Default: false

  • If killed by another player, give the penalized XP to the attacker
    Default: false

  • Lose items enchanted with Curse of Vanishing
    Default: true


Why use this mod?

keepInventory is useful, but it can remove most of the risk from dying.

Keep Inventory Tax brings back a consequence without making death too punishing.
It is a lightweight solution for players and servers that want a better balance between convenience and survival gameplay.


FAQ

Can I include this in my modpack?

Yes.

Will there be backports?

No.

Is this mod compatible with other mods?

Unknown for now.
If any incompatibilities are discovered, they can be listed in the future.

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.