Keep Inventory Orbs logo with blurred background

Keep Inventory Orbs

A fully server-side approach to the gravestone concept introducing 'orbs' to store your inventory upon death.

Upon death:

  • An Orb will spawn that will keep your inventory safe.
  • A compass to help you locate your last orb will be given to you.

Recovering Inventory:

  • When an Orb is broken, it will attempt to restore its inventory only to its owner.

    If the Orb's owner is not nearby (within 6 blocks), nothing will happen and the orb will not break.

    Orb Stealing is [OFF] by default. To steal an Orb that is not yours, an Admin needs to enable it in the Menu [see below]

  • Orbs will re-equip your armor and items exactly into the slot they were.

    If the slot is occupied by something else, the item will drop in the player's position.

Orb behavior:

  • Orbs will always spawn on the player's death position
  • Orbs will spawn in the world's minimum height if the player dies in the void
  • Orbs will never despawn.
  • Orbs have gravity and will fall if they have no support.
  • Orbs will _move upwards if they are inside of a block.
  • Orbs cannot be moved by pistons

Server-side advantages

If you are a server owner or admin, installing this datapack/mod into the server makes it work for everyone!

There is no need to install it on the client side!

Menu (for Server Admins)

The following command opens the built-in Chat Menu:
/function #keep_inventory_orbs:menu

an image of the Menu showing all the options mentioned below

Orb Stealing

Orb Stealing will enable all players to steal an Orb even if it is not theirs

Buttons:

  • Toggle [ON/OFF] orb stealing for all players

Player Actions

These actions will apply to your own player only and orbs in loaded chunks

Buttons:

  • Collect My Nearest Orb
    • Collects your nearest orb
  • Collect All My Orbs
    • Collects all your orbs

Stats Management

Orbs keep 'Stats' with information about the player's death. These stats are kept even after the orbs are collected.

Buttons:

  • Get Nearest Stats
    • Shows the Stats from the nearest Stats/Orb
    • Gives you options to:
      • Show the inventory saved by the Stats/Orbs
      • Collect/Destroy/Respawn specific Orbs
      • Erase specific Stats
  • Enable/Disible Visible Stats
    • When enabled, shows particles locating Stats/Orb within 16 blocks, and points towards the nearest selected one
  • Delete All Stats
    • Counts all Stats/Orb in currently loaded chunks and deletes them

Project members

CreepermeYT

Member

Details

Licensed MIT
Published 9 months ago
Updated 4 months ago