Sueta

Custom Death Drops

1.2

This plugin allows players to have a chance to keep their inventory and gear.

·Plugin

Custom Death Drops

I do not actively maintain this plugin anymore!

This plugin allows players to have a chance to keep their inventory and gear. You can configure the chances for a player to keep their items and have specific items always drop or never drop. You can have different groups with permissions for each.

Commands:

  • /customdeathdrops - Reloads the plugin config.

Permissions:

  • customdeathdrops.reload - Allows the user to reload the config

Default Config:

# +----------------------------------------------------+
# <         Gear is armor and the item in hand         >
# <           'Inventory' is everything else           >
# +----------------------------------------------------+


#The message sent to the player when their inventory is saved.
#keep-inventory-message: '' <- that will disable this message
keep-inventory-message: '&bYou kept your inventory!'

#The message sent to the player when their gear is saved.
#keep-gear-message: '' <- that will disable this message
keep-gear-message: '&bYou kept your gear!'

#The message sent to the player when they partially keep their inventory
#keep-partial-inventory-message: '' <- that will disable this message
keep-partial-inventory-message: '&bYou kept roughly &c$percent$% &bof your inventory!'

#The message sent to the player when they partially keep their gear
#keep-partial-gear-message: '' <- that will disable this message
keep-partial-gear-message: '&bYou kept roughly &c$percent$% &bof your gear!'

#Here is where you can create your own groups for drops.
groups:
  sample:

    #Permission required for the player to be in this group.
    permission: customdeathdrops.sample

    #Percent chance the player will keep their inventory.
    inventory-keep-percent: 25
    #If keeping the inventory fails, each item in the inventory will
    #    have this percent chance of getting kept
    inventory-partial-keep-percent: 50

    #Percent chance the player will keep their gear.
    gear-keep-percent: 25
    #If keeping the gear fails, each gear item will
    #    have this percent chance of getting kept
    gear-partial-keep-percent: 50

    #List of items that will always be dropped.
    always-drop:
    - wool:7
    - stone
    #List of items that will always be kept.
    never-drop:
    - diamond_sword
    - diamond_block

TODO:

  • Nothing planned right now. Comment if you'd like something added!

Donators:

  • Espinete87

Similar projects

Plugin →