keepinventory-command

Adds a /keepinventory command which allows per-player keepinventory

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.

:)

The keepinventory-command Team

profile avatar
  • 1
    Followers
  • 2
    Projects
  • 542.3K
    Downloads

More from WayOfTheQway

  • Crybaby project image

    Crybaby

    • 539.2K
    • Mods

    Cry into a bottle you salty baby

    • 539.2K
    • April 13, 2017
    • Mods
  • Crybaby project image

    Crybaby

    • 539.2K
    • Mods

    Cry into a bottle you salty baby

    • 539.2K
    • April 13, 2017
    • Mods