Instructions:
Partial Keep Inventory (Only Keep Equipted Armour):
Using cheats, add yourself to the "HLose" team. Upon death, you should drop your entire inventory, including offhand except for the armour you were wearing upon death.
No Keep Inventory:
Using cheats, add yourself to the "Lose" team. Upon death, your entire inventory will be dropped just like if the gamerule was turned off.
The Purpose:
The datapack allows users to play with friends whilst customising who plays with what level of keep inventory. I first originally made this for just my friends as we wanted to play together but give one of our friends a small handicap by letting him keep his armour.
Please Note that without modifying the teams, everyone will have keep inventory on by default. if you don't know how to manually load datapacks, you should use the Global Packs mod as well (Made by JTK222)
Have fun with the datapack! Let me know of any bugs, issues or requests via comments or discord (User: EggsCracked)

