Mineuniverse
Log in Register
Mods

keepinventory-command

Adds a /keepinventory command which allows per-player keepinventory
by WayOfTheQway
Claim this project
3,208 downloads
0 likes
Updated Jun 30, 2026
0 hypes

Runs using Fabric and Fabric API. Mod is not required client-side if installed on a server.

Two forms of the command exist:

/keepinventory [value]

  • sets the per-user keepinventory value for yourself
  • all players have access to this form

/keepinventory [targets] [value]

  • sets the per-user keepinventory value for all specified targets (using standard Minecraft selectors)
  • only operators have access to this form

Valid values are true, false, and default. true and false override the gamerule; default obeys it.

I wrote this in about four hours so if it breaks and you lose your items, I'm sorry. Please don't yell at me. Please do submit an issue on the GitHub though.

:)

No files available for download.

More from WayOfTheQway

Crybaby
539,559

You Might Also Like

APTweaks: Items (11.x Classic)
Item clustering (fallen blocks, experience orbs, ...) and garbage cleanup.
9,884,514
VanillaDeathChest (Fabric)
Places containers when players die that contain their items.
994,762
Styled Nicknames
Simple, but configurable nicknaming mod allowing your server's players (and admins) to change their nickname with full formatting support
989,499
Tiquality
Make server lag the problem of the source player.
99,489
Blame (Fabric)
Those gosh darn crashlogs not saying which worldgen feature is crashing!
99,012
Weathering with You
Forecast Minecraft weather with a radar or a hat!
98,579