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 Apr 8, 2013@smallpen
That means they died and quit before respawning. There is no way to manually recover their inventory. When they join their inventories will automatically recover.
-
View User Profile
-
Send Message
Posted Apr 8, 2013When I type /scvrlist , that will see some player name on list.
These player mean that their inventory don't recovery when they death before ?
If that is true, how can I manual recovery their inventory ?
-
View User Profile
-
Send Message
Posted Apr 5, 2013@unluckymattress
It looks like something may have happened to the inv.ser file. Try stop and start the server and see if that clears it up. If it still does not help rename inv.ser to something else after a stop.
-
View User Profile
-
Send Message
Posted Apr 5, 2013JUST started getting this error. Looks like it may have auto-updated, and something went wrong from there?
http://pastebin.com/7zuDjxey
-
View User Profile
-
Send Message
Posted Apr 5, 2013@Haloflooder
Please post your CraftBukkit version, plugins list and server.log.
-
View User Profile
-
Send Message
Posted Apr 5, 2013I just recently updated to 1.5.1 and I updated Scavenger. It doesn't work anymore. I also tried to delete the Scavenger folder. The plugin would just immediately disable itself after it enables without any errors. Any clue with what's happening to the plugin?
-
View User Profile
-
Send Message
Posted Apr 2, 2013@mcraftus
What?
-
View User Profile
-
Send Message
Posted Apr 1, 2013I use the plugin for a long time, quite pleased with it, but there is one point. If a group of players to the right to preserve things, lvl, but do not give the right to recover the experience, then the death of a player level 25 and 3 dice with the experience of losing experience (cubes of experience). If in a subsequent pick these balls experience, get that instead of the 25 and 3 blocks he is Level 27, and 6 blocks. Due to this, I have a lot of players to increase the level of just jumping into the pit and then gather experience.
Plugin version does not matter, it was 1.17, and there is a 1.20a
-
View User Profile
-
Send Message
Posted Mar 29, 2013@CoasterCrazy
I added this to Scavenger 1.20a. As soon as it's approved you can download it.
-
View User Profile
-
Send Message
Posted Mar 29, 2013I don't suppose you could make it hook with this: http://dev.bukkit.org/server-mods/world-inventories/
It is much more RAM efficient than Multiverse Inventories. The only thing with scavenger is that I noticed it restored the items in another world other than the one the player died. Like I have factions, I died in one world and respawned in faction home. The stuff I had with me in the other world is not restored on me in the Factions world and the stuff I had in the faction world is gone :O But yeah, that world inventory managing plugin is nice, maybe u can find out how to make scavenger work properly with it? Thanks!
-
View User Profile
-
Send Message
Posted Mar 27, 2013@inksack
That means it failed to load. What does your server.log say?
-
View User Profile
-
Send Message
Posted Mar 27, 2013A,ok.But what does it mean that when I run /pl command All plugins are blue,and scavenger is red?
-
View User Profile
-
Send Message
Posted Mar 27, 2013@Lostferret13
Please paste your scavenger config.yml and list all of your plugins.
-
View User Profile
-
Send Message
Posted Mar 27, 2013@cnaude
I updated to 1.9c and it still doesn't work. All three are set to true, and will work if enabled individually, but will not save items if enabled together. I'm on 1.4.7 due to mods.
I get the inventory saved & restored messages, but all items and slots are dropped.
-
View User Profile
-
Send Message
Posted Mar 27, 2013@Lostferret13
I highly recommend you use 1.19c instead of 1.19a.
-
View User Profile
-
Send Message
Posted Mar 27, 2013@inksack
Just the part where it shows Scavenger loading.
-
View User Profile
-
Send Message
Posted Mar 27, 2013@unluckymattress
What version are you using? I'm using the 1.9a version and it doesn't work. It stops all drops from being recovered. Is the order of permissions important? If i disable one option or the other, it will recover slots, or the items - but if I enable both it doesn't work.
Thanks
-
View User Profile
-
Send Message
Posted Mar 27, 2013cnaude,are you sure in server.log? ;) It is 125 mb)
-
View User Profile
-
Send Message
Posted Mar 27, 2013@inksack
Did you install the ProtocolLib plugin as well? Please copy your server.log to pastebin.
-
View User Profile
-
Send Message
Posted Mar 27, 2013Hi,cnaude. Sorry for bad English,because I am from Russia :) I have a problem. Scavenger does not work. I am administrator on server and I have -* in permissions.But when I die,items drop from me and there is no message from scavenger in the chat. What can it be?It seems like plugin doesn't match craftbukkit version. Other plugins work normally. My CB is Spigot 1.4.6.jar May be scavenger doesn't work with this version? I need your plugin because I have big server and when I drop 127 enchant,players pick up it. Thanks a lot!