Essentials: Curses with essentials.keepinv

Created on 3 May 2020  路  3Comments  路  Source: EssentialsX/Essentials

Feature request

Feature description
Add configuration options to

  1. Make items with curse of vanishing disappear on death, even if the player has essentials.keepinv
  2. Make items with curse of binding drop on death, even if the player has essentials.keepinv

How the feature is useful
Curse of vanishing is supposed to disappear when the player dies. However, if the player has essentials.keepinv, then the player keeps their inventory, essentially making the enchantment pointless.

Curse of binding is supposed to be unremovable except by either the player dying or the durability reaching 0. However, if the player has essentials.keepinv, then the only way that the player can remove an item with binding is by allowing the durability reach 0. This means getting attacked a lot and potentially dying multiple times. This can spam the server with death messages, and it's even worse if the armor has unbreaking or mending.

discussion enhancement

Most helpful comment

that is uh what permissions do

All 3 comments

There are probably multiple ways to handle this, dunno which one is the most correct, but here's a few other alternatives

  • Match the behaviour of the vanilla gamerule keepInventory, which is what the current behaviour does
  • Remove the curse of binding from affected items, and make curse of vanishing items be removed anyways
  • Strip the enchantment from both sets of items

What if keepinv was able to be toggled on and off by the player?

that is uh what permissions do

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Castiella picture Castiella  路  3Comments

TheMattVid picture TheMattVid  路  3Comments

drtshock picture drtshock  路  3Comments

MithrandirCraft picture MithrandirCraft  路  3Comments

TheNety picture TheNety  路  3Comments