Scavenger
About Scavenger
This is a continuation of the Scavenger plugin originally written by SirHedgehog. This plugin will automatically recover items for players after they die.
Features
- Automatic item recovery at death.
- Individual item recovery based on permissions if enabled.
- Automatic level and experience recovery at death.
- Supports SuperPerms
- Supports Vault based economies.
- Persistent recoveries. If the server is stopped before a player can recover inventory the inventory is saved to disk.
- Slot based recovery
How to install
Just drop the jar file in your plugins directory and restart your server. Configure permissions.
Links
Hooks
Scavenger hooks into several plugins to play nice with their inventory controls.
- Multiverse-Inventories
- MultiInv
- Mob Arena
- PVP Arean
- Ultimate Arena
- Battle Arena
- WorldInventories
- Minigames
- xInventories
Scavenger also hooks into Residence to provide item recovery override per residence.
Scavenger also hooks into Factions to provide item recovery override in enemy territory.
Scavenger optionally hooks into authentication plugins via Authenticator. Update the config.yml accordingly. More info here.
Dependencies
- To use an economy plugin you will need Vault and an economy plugin.
Permissions
- scavenger.scavenge - Enable item recovery
- scavenger.scavenge.damage_cause
- scavenger.level - Enable level recover
- scavenger.exp - Enable experience points recovery
- scavenger.free - Free item recovery
- scavenger.reload - Reload config
- scavenger.drop.[ITEM] - If SingleItemDrops is true then don't recover these items.
- scavenger.keep.[ITEM] - If SingleItemKeeps is true then only recover these items.
- scavenger.self.on - Allows players to enable item recovery for themselves.
- scavenger.self.off - Allows players to disable item recovery for themselves.
- scavenger.disable - Allows players to completely disable Scavenger.
- scavenger.enable - Allows players to completely enable Scavenger.
- scavenger.list - Allows player to list all pending recoveries. (Purely informational)
If you enabled slot based recovery you will need to give each player a permission node for each slot.
- Armour:
- scavenger.armour.X - Armour slots where X is 0, 1, 2, or 3.
- Armor: 0 = boots, 1 = leggings, 2 = chestplate, 3 = helmet
- scavenger.armour.X - Armour slots where X is 0, 1, 2, or 3.
- Inventory
- scavenger.inv.X - Inventory slots where X is 0 to 35.
- Inventory bar: 0 - 8
- Inventory row 1: 9 - 17
- Inventory row 2: 18 - 26
- Inventory row 3: 27 - 35
- scavenger.inv.X - Inventory slots where X is 0 to 35.
- Offhand (shield etc...)
- scavenger.offhand.1
FAQ
Q) How do I explicitly keep items?
A) Set SingleItemKeeps true. Then use scavenger.keep.[ITEM] to keep the ITEM.
Q) How do I explicitly drop items?
A) Set SingleItemDrops true. Then use scavenger.drop.[ITEM] to drop the ITEM.
Commands
- /scvr - Reload configuration
- /scvron - Self enable scavenger
- /scvroff - Self disable scavenger
- /scvrlist - List all pending recoveries
Videos
Configuration
Donations
Doge: DEaQKfC9ivumNgs3feo53xndhjhd4PV5Yk
BTC: 3Nthksfx8fNKkUgZnHWRTaH4MjUMe4dQG8
ETH: 0xf65cB1960e176ea980545f525f687cF2354D310d
XCH: xch1jgtw6vxyy4wv302xlhyuzwtfen67w5yrvcwc2gz2us3fwtjp3uxq6hlzhc
I have Made The Presentation Of As Using Your Plugin In Spanish Very Good Plugin https://www.youtube.com/watch?v=LnlowiLxfZs I hope you Put on There
EXP and LEVEL save doesnt work.
@cnaude
THANKS MAN! :D
@KayrokMagick
Try ths permission node:
scavenger.offhand.1
@cnaude
Thanks! But I don't find how, I have to switch something in the config file or I need to add a perm? I have a SlotBasedRecovery:true set, maybe I have to add scavenger.inv.36?
Regards.
No save items from new inv. Mod GalactiCraft https://github.com/micdoodle8/Galacticraft-API/blob/master/src/main/java/micdoodle8/mods/galacticraft/api/inventory/IInventoryGC.java MC 1.7.10 FIX PLS
No save items from new inv.
Mod GalactiCraft
https://github.com/micdoodle8/Galacticraft-API/blob/master/src/main/java/micdoodle8/mods/galacticraft/api/inventory/IInventoryGC.java
MC 1.7.10 FIX PLS
@KayrokMagick
Have you tried Scavenger-1.7-2? It supports recovery off off-hand items.
Hello, all on my server loves you plugin as me, but need save the equiped shield too: Really thanyou so much! I really apreciate this plugin!
@Lyosha12
Please add this request to the issue tracker: https://github.com/cnaude/Scavenger/issues
Can I hope on adding permission that allows you to bypass the option WorldGuardPVPIgnore - scavenger.bypass.pvp.ignore?
Hi, does not work restoring objects that are dressed in the fashion GalactiCraft! For example: oxygen equipment and similar items dressed! Version mc: 1.7.10 Help pls
Hi, does not work restoring objects that are dressed in the fashion GalactiCraft!
For example:
oxygen equipment and similar items dressed!
Version mc: 1.7.10
Help pls
@Kixot14
Please try latest dev build: https://h.cnaude.org/jenkins/job/Scavenger/69/ You can use %NL% to split messages into multiple lines. The DecimalFormat option will allow you to customize how the currency format looks like. The negative balance issue should be resolved.
@Kixot14
I'm looking at it.
Hi! Did someone read the requests on Github??
Need to fix this bug in scavenger https://github.com/cnaude/Scavenger/issues/17
@cnaude
idk, but this happens due to combatlog, because it tries to throw out items. Luckily its unable to change inventory, but still modifies armor slots.
@cnaude
last build of Spigot,
@guerocraft
What version of CraftBulkkit or Spigot does this happen on? Are you able to reproduce it easily? What does your plugin list look like? If so can you enable debug mode and send me the logs?
BUG: Sometimes it doesnt recover some items. For example, when you die with enchanted armor, it doesnt recover it.