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 25, 2014@Bodyash
Works for me. What version of craftbukkit did this occur on? Can I see your startup load?
-
View User Profile
-
Send Message
Posted Feb 25, 2014Scavenger does`t works with latest Protocolib build from Jenkins (#218)
No errors, only [Scavenger] This plugin requiers Protocolib, smtgh like Scavenger can`t hook to it.
-
View User Profile
-
Send Message
Posted Feb 20, 2014@baksovic111
If you're using AuthMe, remove ProtectInventoryBeforeLogin or use Authenticator hook :)
-
View User Profile
-
Send Message
Posted Feb 20, 2014Can you please fix the bug. When a player dies and he does not press the "resurrect" and goes out of play. Plugin work is not true .. When a player go into the game it will appear in your inventory items, but when he enters the command "/ login " all things disappear from the inventory
-
View User Profile
-
Send Message
Posted Feb 14, 2014Make plugin independent from ProtocolLib.
-
View User Profile
-
Send Message
Posted Feb 8, 2014@RealIncorrect
Sorry for the delay. This is fixed in 1.4.
-
View User Profile
-
Send Message
Posted Feb 8, 2014Hello,
I would like to have the option: DropOnPVPDeath: true, alone in the world-PVP Survival.
The problem is also active in my world of games, as players do PVP lost objects.
Is there any way of putting the world? I tried all the config.yml paraemtros, but it is impossible.
:::::::::::::::::::::: To better understand:
I think "white list for regions" is necessary and that the objects in any way (not pvp) are not lost in these regions.
Another option would be in the regions written in "black list", you can recover the items with "economy", but neither works.
thanks
-
View User Profile
-
Send Message
Posted Jan 5, 2014Hi! I add a scavenger.scavenge.ENTITY_ATTACK permission, but it does not work. Why? I need items to recover when player is killed by mob or other player.
-
View User Profile
-
Send Message
Posted Jan 3, 2014@cnaude
I have the same problem. Pastebin: http://pastebin.com/2C4uHn0e
Thank You
-
View User Profile
-
Send Message
Posted Jan 3, 2014@act1vexx
Can I see your startup log? Please use pastebin.
-
View User Profile
-
Send Message
Posted Jan 2, 2014not working for me on 1.7, said My inventory was restored, but didnt restore anything.
-
View User Profile
-
Send Message
Posted Jan 1, 2014@kunpapa
Is your server running online or offline mode?
-
View User Profile
-
Send Message
Posted Dec 29, 2013@cnaude
Nope, exactly the problem is when players die. When they press the button to reborn, some times they lost connection to the server (mby due to low bandwith) . After that, when they rejoin to the server, their inventory have not been replenished and their items arent at the ground. I tried with "/scvrlist" but their names arent at this list. Have a possible fix to that?
Thanks.
-
View User Profile
-
Send Message
Posted Dec 28, 2013@kunpapa
What do you mean by java problems? Are you talking about server java problems? Like the server crashing?
-
View User Profile
-
Send Message
Posted Dec 28, 2013At my server got a problem when players die and then lost connection to server due to java problems, that kind of people loose their inventory. Could you help me? Im using latest version of scavenger and latest version of spigot.
Thanks. Regards, KunPapa.
-
View User Profile
-
Send Message
Posted Dec 13, 2013Is it not working at all with spigot?
-
View User Profile
-
Send Message
Posted Dec 8, 2013@cnaude
It is not working with 1.7.2. I am using yhe latest dev-version of Protocollib and it is not working. It says that the items are restored, but they are dropped on the ground and no restoring occurs. I am using v1.3n. I have also submit a ticket. Please check this out.
It did restore ONE time only, but haven't been able to get it to work since then and before that it didn't work either.
-
View User Profile
-
Send Message
Posted Dec 6, 2013@Alexander310898
This plugin works fine in 1.7.2. Just make sure you have a ProtocolLib.jar that is compatible with 1.7.2.
-
View User Profile
-
Send Message
Posted Dec 6, 2013Please Update To 1.7.2
-
View User Profile
-
Send Message
Posted Nov 15, 2013@cnaude "Authenticator" has stopped updating, It seems lead my many players lose levels.
sorry,my english.