HomeJavaModsDeath Loot - distribute loot according to damages inflicted!
Death Loot - distribute loot according to damages inflicted!
ModsJava

Death Loot - distribute loot according to damages inflicted!

Death Loot Manager ​ >>> What is this? You own a Faction, RPG, or any server with a working economy and an important PvP or PvE side ? If yes, you…

⬇ Download on Spigot

Death Loot Manager


>>> What is this?

You own a Faction, RPG, or any server with a working economy and an important PvP or PvE side ? If yes, you probably know that when fighting, everyone wants to be as close as possible to the targeted entity to have a chance to get the loot. Pretty ineffective, isn't it?

With this plugin, each player can receive the part of the loot corresponding to his participation to the kill.


>>> Features


>>> Permissions & commands

Permissions:
deathloot.bypass : all players with this permission won't be affected by loot repartition on death
deathloot.admin : allow player to reload config
deathloot.bagsize.<number>: define the player's bag size. The number is the rows count of the inventory, it must be between 1 and 6. If the player doesn't have this permission, he can't use the loot bag.

Commands:
/dl loot: open GUI containing player's loot.
/dl reload: reload plugin's configuration.

>>> Configuration

loot_attribution_mode: Attribution mode used by the plugin. Currently, 3 available: DISPATCH_BETWEEK_KILLERS, ALL_FOR_KILLER and NONE.

damage_history_retention: duration (in ticks, 20 ticks = 1 second) for which damage inflicted by a player to an entity is kept. The longer the duration is, the more players might receive a part of the loot.

apply_to_players: If true, let players drops be handled by the plugin. Otherwise, vanilla drop is used.

apply_to_entities: If true, let entities drops be handled by the plugin. Otherwise, vanilla drop is used.

protect_dropped_loot: if true, the loot which doesn't fit in both player's inventory and bag is dropped and reserved for the player for the defined time.

protect_dropped_loot_duration: duration (in ticks) for which the dropped loot can only be picked up by its owner. After the duration expiration, anyone can take it.

spawn_dropped_loot_on_killer: If true, extra loot is dropped at player's location. If false, items are dropped at the killed entity location.

messages: contains all messages, change them if you want.

stored_items: stores player's bags data. You should never modify this.

>>> Dev API


An API is available for this plugin. You can access it via static methods of DeathLootAPI class. 2 events are also provided:
EntityLootEvent: called when an entity loot is handled by the plugin.
DispatchLootEvent: called when the loot has been attributed to each player.

>>> Any question?
Send me a PM on Spigot or Discord (Bullobily#6169)

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Death Loot - distribute loot according to damages inflicted! is a free Minecraft Java mod. Compatible with Minecraft 1.15, 1.16. Downloaded 464 times (via Spigot). Download it and open it directly in the game.

Explore more