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 Feb 27, 2013Quick question. What are the perms?
-
View User Profile
-
Send Message
Posted Feb 26, 2013Is there a way to make it so they wont get all their items v=back instead they will only get a few
-
View User Profile
-
Send Message
Posted Feb 25, 2013Hey, when a player dies with fire in their inv it disappears. Is this something intentional, or is it a bug in this plugin or ProtocolLib or a feature perhaps and just the way it is? I don't know if that's something that would be intentional or not but if not then maybe there are other things that it loses as well.
Edit: Sorry, I think it's some other plugin that is affecting them. Don't worry about that.
-
View User Profile
-
Send Message
Posted Feb 25, 2013@buckhunter316
There is no admin permission node. You will need to assign them individually.
-
View User Profile
-
Send Message
Posted Feb 25, 2013Is there an admin permission or do you have to add all the permissions one at a time?
-
View User Profile
-
Send Message
Posted Feb 17, 2013@marcustai99
Did you install ProtocolLib? Check your server.log for any errors.
-
View User Profile
-
Send Message
Posted Feb 17, 2013I can't use this plugin , NO folder appear after I start my server. NO config appear and NO item recovery... please fix it bukkit1.4.7, scavenger v1.17d
-
View User Profile
-
Send Message
Posted Feb 13, 2013@cnaude
ty ty! love this plugin!
-
View User Profile
-
Send Message
Posted Feb 13, 2013@TediousMaximus
Try set debug to false in the Scavenger/config.yml.
-
View User Profile
-
Send Message
Posted Feb 13, 2013HI there. i dont know if this has been answered already, but, i updated scavenger and it informed me i had to get the "protocollib" plug in. Since ive added this plugin scavenger has been spamming my console.
any help on resolving this issue?
-
View User Profile
-
Send Message
Posted Feb 7, 2013Sweet beans, it works! It works works works! and I spawn in the right world as well :D
Thank you very much, you da man!
-
View User Profile
-
Send Message
Posted Feb 7, 2013@CoasterCrazy
Yes.
-
View User Profile
-
Send Message
Posted Feb 7, 2013Would that be the "Latest snapshot" link under Development Builds? Pardon my ignorance :)
-
View User Profile
-
Send Message
Posted Feb 7, 2013@CoasterCrazy
When you get chance try the next snapshot (1.17d). I made some small changes to the logging when debug is enabled.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@cnaude
Java 7.13
Windows Server 2008 R2 Standard
@cnaude
I'll do that and reort my findings :)
edit: Findings
So, I specified permissions to not be in use for that world, yet when I /back it still gives me the items. I'm starting to think it could be some other plugin. Maybe Multiverse Inventories? I'll check config of that. Sorry for the troubles :(
second edit - Scratch that. I think I know what is happening, when the player dies, they spawn in the world that allows their inventory to be returned. However, when they teleport back to the world where Scavenger is disabled, their inventory does get restored and the message that their inventory has been restored is displayed on screen. I'm thinking it is a problem of whats going on. I did set respawning to occur in the world they died but it keeps sending them to the primary world where Scavenger is enabled. I even went as far as setting in bPermissions to have the permissions as false for the Factioned world. I set in essentials respawn-listener-priority: lowest so that Multiverse handles the respawning and in Multiverse I ran /mv modify set respawn Factioned so that people who die in that world, spawn in that world, but its simply not working. Halp? :(
-
View User Profile
-
Send Message
Posted Feb 7, 2013@CoasterCrazy
Another thing you can do is rollback 1.17b and use permissions to control which worlds scavenger works in. You can set your permissions per world.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@CoasterCrazy
What version of Java are you running? And what OS is this is on? Something is causing the plugin to convert the BlacklistedWorlds list into a null value.
-
View User Profile
-
Send Message
Posted Feb 7, 2013Alright, stopped the server, deleted the config file, restarted the server, logged in, had someone kill me in the world that shouldn't drop stuff and this is the server log file:
http://pastebin.com/Dmw8nuG2
And here's the config file that was generated:
http://pastebin.com/bvt9TFh3
:(
-
View User Profile
-
Send Message
Posted Feb 7, 2013@cnaude
I renamed my config and reloaded the server. It looks like it just redid the config with the same entries. But I am still dropping the items on death even in the world that is NOT blacklisted :( Let me do a full restart and have it gen a new config file from restart.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@CoasterCrazy
There is something funky going on with your Scavenger/config.yml. Try rename the file and create a new version of the config.yml.