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
-
View User Profile
-
Send Message
Posted May 25, 2017In reply to KirinP:
-
View User Profile
-
Send Message
Posted Feb 25, 2017Hello, my name is Andy · Byrne, from China.
Thank the authors did a very cool free plug-in
This plugin on my server of to the very large role
I really like this cool plugins
But I'd like to have this plug-in forwarded to [Minecraft Chinese BBS, www.mcbbs.net]
If agree, please reply, my English is not very good XD
-
View User Profile
-
Send Message
Posted Feb 25, 2017Hi,
I don't understand what you are asking.
-
View User Profile
-
Send Message
Posted Feb 25, 2017He wants to post it on a Chinees website but with your permission.
China's policy regarding accessing the internet are somehow restricted to non-chinees pages. Hope this makes it more clear.
-
View User Profile
-
Send Message
Posted Feb 27, 2017Okay go ahead and link to this page. You can also link to http://www.cnaude.com/purpleirc if you like.
-
View User Profile
-
Send Message
Posted Nov 30, 2016@cnaude
i just enabled it then killed someone as of right now they just keep everything... there doesn't seem to be anything wrong with the plugin just perms
-
View User Profile
-
Send Message
Posted Nov 30, 2016@LordTankII
There should have been a lot more output to the console. Did you test dropping and scavenging items while debug was enabled?
-
View User Profile
-
Send Message
Posted Nov 30, 2016@cnaude
http://pastebin.com/VQCmz8J7
-
View User Profile
-
Send Message
Posted Nov 30, 2016@LordTankII
In your config.yml set "Debug: true" then do /scvr. The plugin will start printing debug output to the console log. Test the plugin. Copy and paste that to pastebin and send me the link.
-
View User Profile
-
Send Message
Posted Nov 30, 2016@cnaude
What do you mean by "Send me the output" and how do i do that...
as of right now people just keep everything not just the items i want
-
View User Profile
-
Send Message
Posted Nov 28, 2016@LordTankII
Can you enable debug mode and send me the output when it fails to work correctly?
-
View User Profile
-
Send Message
Posted Nov 28, 2016it is still not working am i supposed to use scavenger.scavenger? My config looks like this
Is there something i am doing wrong? I can also give a list of other plugins if that helps.
-
View User Profile
-
Send Message
Posted Nov 25, 2016@LordTankII
Enable slot based recovery.
Then give players these permission nodes.
-
View User Profile
-
Send Message
Posted Nov 25, 2016What Permissions do i need to make is so players keep the first 4 things in their hot bar and their armor? and do i need any specific settings in the config?
-
View User Profile
-
Send Message
Posted Sep 12, 2016@cnaude
Scavenger-1.7-29 fixed the error in console.
Thx for the quick replies and fix.
-
View User Profile
-
Send Message
Posted Sep 12, 2016@dutchy1001
Give latest build a try: https://h.cnaude.org/jenkins/job/Scavenger/29/
-
View User Profile
-
Send Message
Posted Sep 12, 2016@cnaude
PerWorldInventory has a new API, this might be the cause of the error. You can find the new API info here
-
View User Profile
-
Send Message
Posted Sep 12, 2016@cnaude
The same error still occurs in the console (see here) after updating to Scavenger v1.7-28.
As PerWorldInventory is mentioned in the error I will post this on their page too.
-
View User Profile
-
Send Message
Posted Sep 12, 2016@dutchy1001
Please try latest dev version. https://h.cnaude.org/jenkins/job/Scavenger/28/
-
View User Profile
-
Send Message
Posted Sep 9, 2016I run into an error in console after updating some plugins (PerworldItem and Scanvenger). Scavenger is trowing the error but not if that is the one that causes it. I used 1.7-18 and your latest dev build 1.7-27, both have the same console error.
You can find the console error here