BetterKeepInventory
Enchantment "Curse of Vanishing" has ability to be lost upon death, but if keepinventory is true, the enchantment is not lost upon death.
This is a bit inconvenient for survival servers, so I have created a small plugin to make this configurable.

Commands

  1. /bkireload - Reload config.



Permissions

  1. betterkeepinventory.reload - Allow /bkireload command.



Config

keep-inventory:
 # If true, the inventory is kept.
  enabled: true
  # If true, the enchanted item is kept.
  enchantments:
    CURSE_OF_VANISHING: false
    CURSE_OF_BINDING: false
  durability:
   # Randomly reduces the durability of an item upon death.
    # min: Minimum durability reduction
    # max: Maximum durability reduction
    min: 0.1
    max: 0.3
keep-level:
 # If true, the level is kept.
  enabled: true
  # Randomly reduces the level upon death.
  # min: Minimum level reduction
  # max: Maximum level reduction
  multiplier:
    min: 0.1
    max: 0.5



日本語: https://forums.minecraft.day/resources/17/