KeepChoice is a modern plugin that allows the players to choose whether they keep their inventory or not. This plugin works on all Minecraft versions 1.16 and newer (including 1.21+).
To set up, just paste it into your plugins folder.
NOTE: This plugin operates independently from Minecraft's KeepInventory setting!
Toggle your keepinventory status with one command: `/keepinventory`
This next section will cover some common setup scenarios:
If you make no changes to the default configuration, this will happen:
/ki command.To set keep inventory on all worlds (giving the player a choice), run:
/ki setdefaultkion #default yesTo not give the player a choice whether they keep their inventory, run:
/ki setrunson #all no/gamerule keepInventory true Note that this method effectively disables the plugin.For example, let's say I have two worlds: pvp and survival. I want the player to always keep inventory on pvp, but have a choice on survival (but default to no). We would run the following:
/ki setrunson #all no (shut off plugin)/gamerule keepInventory true (run this on pvp)/ki setrunson survival yes (allow to run on survival)/ki setdefaultkion survival no (set default to no on survival.)For additional documentation, visit https://github.com/Enderbyte-Programs/KeepChoice/blob/main/README.md

I kept my items!

Now I didn't because I ran /keepinventory to toggle it

I can change my status on any world where the plugin is enabled, whether or not I actually go there!

For Admins: Spy on the userbase's status.