Sueta

ClearInventory [1.18.x - 1.20.x]

1.2.1

Clears player inventory, xp and drops on player death and or leaving. (customizable)

·Plugin

Simple plugin which allows the following things to be enabled (optional)

  • Clear inventory on death
  • No xp dropping on death
  • No item dropping on death
  • Clear inventory on leaving the server
  • Clear xp on leaving the server

Plugin can be excluded from specific worlds in the config.

Config (default)
# Worlds in which the plugin is not active
# Meaning all options below will be considered false in this world.
# (Leave empty or remove if not needed)
excludedWorlds:
  - world_the_end
  - world_nether

# should the players inventory be cleared on death? (items that are not dropped will be cleared)
clearInventoryOnDeath: true

# should player death still drop items or not
dropItemsOnDeath: false

# should player xp be cleared on death
dropXpOnDeath: false

# should player xp be cleared on leave
clearXpOnLeave: true

# should inventory be cleared on leave?
clearInventoryOnLeave: true
Permissions
clearinventory.leave.bypass: Players xp and inventory will not be wiped upon leaving.
clearinventory.leave.clearxpbypass: Players xp will not be cleared when leaving
clearinventory.leave.clearinvbypass: Players inventory will not be cleared when leaving

Support, questions or feature requests:
https://discord.gg/PwE5ZXZshh

Similar projects

Plugin →