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 24, 2014Hi Love this plugin! But how do I use the Permissions? Trying to enable the level and experience points recovery. I'm new to using plugins and and running bukkit server 1.7.2. I've looked into the config.yml in the scavenger folder but I do not see any option for this any help would be great. Thanks
-
View User Profile
-
Send Message
Posted Apr 30, 2014@cnaude
Thanks !
-
View User Profile
-
Send Message
Posted Apr 28, 2014@NiceFinal
Please try the latest dev build at http://h.cnaude.org:8081/job/Scavenger/21/
-
View User Profile
-
Send Message
Posted Apr 28, 2014Hi,cnaude
i m using battlearena with this plugin,
i got a problem,when i playing a match and fell out of world my equitment and all item gone,and console receive these message.
http://pastebin.com/v3JndN09
-
View User Profile
-
Send Message
Posted Apr 5, 2014@cnaude
thanks!
-
View User Profile
-
Send Message
Posted Apr 4, 2014@Delebird
Set SlotBasedRecovery to true and give the players the permissions for the specific slots you want to recover. Items not protected will drop the to ground.
-
View User Profile
-
Send Message
Posted Apr 4, 2014<<reply 2112362>>
http://dev.bukkit.org/paste/s1gzae3c7u5finkw/
-
View User Profile
-
Send Message
Posted Apr 3, 2014@Delebird
What does your config look like?
-
View User Profile
-
Send Message
Posted Apr 3, 2014How do I make it so players do drop items for a killer to pick up, except for the ones in protected slots.
As of right now, any items not in protected slots just disappear on death.
-
View User Profile
-
Send Message
Posted Apr 3, 2014@m0nkm0nk
@smallpen
This will be fixed in 1.5a.
-
View User Profile
-
Send Message
Posted Apr 3, 2014@m0nkm0nk
I have the same problem!! please fix it~
-
View User Profile
-
Send Message
Posted Mar 28, 2014@cnaude
Works pretty good.
One thing I noticed, when having the Nether blacklisted and returning from the nether by portal it will say the msg in the normal world also(While this world is not blacklisted ofcourse)
Trying your 1.5 release now. Thanks.
-
View User Profile
-
Send Message
Posted Mar 27, 2014@SatansDaughter66
What is the full error? I will be uploading 1.5 soon.
-
View User Profile
-
Send Message
Posted Mar 27, 2014i just tried updating from 1.3n to 1.4 and it gave me an error listing that it was 1.3n and asking me if its up to date? DA FUCK ._.
-
View User Profile
-
Send Message
Posted Mar 24, 2014@m0nkm0nk
Latest dev build has an option for blacklist world notification.
-
View User Profile
-
Send Message
Posted Mar 22, 2014@cnaude
Works perfect!
One more thing, it would be nice to have a message to the player when you enter a blacklisted world.
Thanks, if you need some more info let me know :)
-
View User Profile
-
Send Message
Posted Mar 21, 2014@m0nkm0nk
The valid values for deposittype are bank, player, or none. Please try build 13 http://cn.revisited.us:8081/job/Scavenger/13/ and enable debug mode with scavenger.
-
View User Profile
-
Send Message
Posted Mar 21, 2014@cnaude
Nice!
Can you tell me the DepositType: values? :) Just tried it but doesn't seems to transfer any money. Using with Boseconomy (tried bank and player)
-
View User Profile
-
Send Message
Posted Mar 21, 2014@m0nkm0nk
Give the latest dev build a try. http://cn.revisited.us:8081/job/Scavenger
-
View User Profile
-
Send Message
Posted Mar 21, 2014Hey, thanks for this great plugin using it already for 2 years :)
Got a question about the economy side of this plugin. Is it possible to add that users pay to an account when they pay for recovering their items? Example, player dies > money he paid goes into some account (bankaccount for example).
Thanks anyway,
m0nk