keep_item

Keeps an item in the player's inventory when they die, instead of it being dropped.

Categories: inventory, player

Optional arguments

Key(s)DescriptionTypeDefault
slotThe inventory slot of the item to keep, e.g. mainhand or slot_0. If omitted, the item providing this effect is kept.STRING

Example

effects:
  - id: keep_item
    args:
      slot: mainhand # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue