promotional bannermobile promotional banner

InventoryKeeper

Consume a specific item or permission to restore players' inventory and EXP.

File Details

InventoryKeeper-1.4.0.jar

  • B
  • Oct 9, 2020
  • 48.36 KB
  • 219
  • CB 1.7.9-R0.2+12

File Name

InventoryKeeper-1.4.0.jar

Supported Versions

  • CB 1.7.9-R0.2
  • 1.16
  • 1.15
  • 1.14
  • 1.13
  • 1.12
  • 1.11
  • 1.10
  • 1.9
  • 1.8.3
  • 1.8.1
  • 1.8
  • CB 1.7.9-R0.1

New Features:

  • New PlaceholderAPI variable: %inventorykeeper_amount_PlayerName% - Returns the virtual key amount of other players. (Only for online players.)
  • Now supports executing commands when a player died (Inventory items dropped).
  • Now supports death check. Now 'Saving stick' will only work when the specific death type enabled.


You will need to add following contents in settings group in config.yml before update!

  #Execute commands if player inventory drops on death.
  run-commands-on-death-if-drops:
   - 'eco take %player% 50'
    - '[OP]fly off'
  #Execute a random command group if player inventory drops on death.
  run-random-commands-on-death-if-drops:
   - '10|50|eco take %player% %random%;tell %player% You lost %random%coins!'
    - 'tell %player% You died!'
  #Execute commands if player inventory drops on respawn.
  run-commands-on-respawn-if-drops:
   - '10|40|eco take %player% %random%'
  #Execute a random command group if player inventory drops on respawn.
  run-random-commands-on-respawn-if-drops:
   - '15|90|effect %player% minecraft:nausea %random% 0'
  #The following are the settings for the effective death types
  #When a death type is set to true, the inventory will be restored if the player died from this death type
  #If set it to false, the saving stick will not work.
  #For a detailed explanation of death types, see https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html
  enabled-death-type:
    CONTACT: true
    LAVA: true
    CRAMMING: true
    ENTITY_SWEEP_ATTACK: true
    FIRE_TICK: true
    ENTITY_EXPLOSION: true
    WITHER: true
    FIRE: true
    MAGIC: true
    PROJECTILE: true
    CUSTOM: true
    FALL: true
    SUICIDE: true
    DRAGON_BREATH: true
    DROWNING: true
    LIGHTNING: true
    FALLING_BLOCK: true
    FLY_INTO_WALL: true
    THORNS: true
    ENTITY_ATTACK: true
    BLOCK_EXPLOSION: true
    HOT_FLOOR: true
    STARVATION: true
    VOID: true
    PVP: true