Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Creators
Details
Is player's item loss on death always a good award. For people that like survival experience and keepinventory this is a balance of both. With rolled chance an inventory can be prevented from being lost. This mod is designed for giving a more balanced and customizable death penalty without fully disabling item loss.

Q&A
Where can I run this mod?
>...You can run this mod on Server side only.
Does everyone need mod installed to join my Server?
>...No! Only dedicated server needs to have mod installed, other players can join without mod installed. This includes singleplayer worlds connected with LAN or Essentials etc. where only host needs mod installed.
Does it work with modded items?
>...Yes! It can work with any items, modded or vanilla.
Config "chance", "messages", "creative":
>...There is a config json file inside config/ called keepchance.json, it has default values set like this: {"chance":0.41,"messages":true,"isCreativeModeIncluded":true}
"chance" will roll a chance to keep player's inventory on death, 0.41 means that it has 41% chance to succeed. It can go in ranges 0.01 - 1.0.
"messages" will display custom messages upon player's death if chance succeeds, only player that triggered event can see a message, no one else can. These messages can be enabled or disabled with true or false.
"isCreativeModeIncluded" tells if player is in creative mode and then decides if that player's inventory should have a chance to be kept. Configured with true to allow keepinventory chance and false to disallow.
What software was used for mod's creation
>...It was created in Eclipse IDE.



