Function Loot Protection - NyaaCat/NyaaUtils GitHub Wiki
Loot Protection
Protect loot belonging based on Attack Stats. Loot item will be directly sent to corresponding player's pack. Experience dropped by mobs will also be collected, see Exp Auto Collect.
Command
/nu lp
Toggle Loot Protection ON/OFF.
Permission
nu.lootprotectToggle protection status, defaults to all.
Config
lootProtectMode: OFF
Available modes:
OFF- Global disable this featureFINAL_DAMAGE- Loot belongs to player who lastly killed the mobMAX_DAMAGE- Loot belongs to player who dealt highest damage
Usage
Set lootProtectMode in config and reload the plugin, and everything should just work.
Player can use /nu lp to toggle this function on or off for their needs.