Better Keepinventory is a mod that makes it so you only drop loot when killed by players. This helps make servers more engaging by allowing for PVP with looting while still ensuring you don't lose everything after falling into lava. To disable BKI functionality temporarily, run /gamerule betterKeepinventory false
. This will allow for default keepinventory rules to take precedence. Run /gamerule betterKeepinventory true
to reenable BKI.
The officially supported versions are 1.17.1, 1.19, and all 1.20+1.21 versions. However, because the mod is so minimal, many other versions should be supported with straightforward modifications.