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 Mar 19, 2013-
View User Profile
-
Send Message
Posted Mar 19, 2013"-Added slot based recovery" Aw..Yeah.. :D
-
View User Profile
-
Send Message
Posted Mar 19, 2013Just FYI - Having BattleArena installed prevents Scavenger from working at the moment on 1.5 with the latest versions.
-
View User Profile
-
Send Message
Posted Mar 18, 2013@Buzz96
Any errors in your server.log? Post your server.log pastebin.
-
View User Profile
-
Send Message
Posted Mar 18, 2013I'm have a triuble with Scavenger. Some time it's work fine, but one day it just cease to safe inventories. I try to reinstall this plugin, but nothing(((
-
View User Profile
-
Send Message
Posted Mar 13, 2013@cnaude
The second you add that is the second I start loving this plugin forever. Is there any kind of an estimate on when that might be implemented?
-
View User Profile
-
Send Message
Posted Mar 13, 2013@unluckymattress
That's on my to-do list of features to add.
-
View User Profile
-
Send Message
Posted Mar 13, 2013Is there any way to configure this so that only the items in your hotbar and your equipped armor is recovered?
I'm trying to make an RPG server, so I want players to be able to keep their good (equipped and in hotbar) gear, but I want to treat the rest of the inventory as a sort of "backpack" of items that drops on death, so PvP will still be rewarding. Is this possible?
-
View User Profile
-
Send Message
Posted Mar 13, 2013@cnaude
Hi i readed the server-log data and i get an error message that i need protocollib. After i installed this i restartet the server and it works sinse then. thank you for your answer.
-
View User Profile
-
Send Message
Posted Mar 12, 2013@GenesisOwned
Did you install the required dependencies? Did you check your server.log for errors?
-
View User Profile
-
Send Message
Posted Mar 12, 2013Hi guys,
I've got a problem. I've i start my minecraftserver with Scavenger in its plugin folder. It doesn't generate a folder for it. In case of that it doesn't work on my server. I testet to start just with scavanger als.jar in that plugin folder, doesn't work. Restarted the server a few times, doesn't help. I search for a crash-report but i don't get one. In Minecraft i could look throw the "help" of Scavenger but if i use one of that permissions, it doenst work. I use normaly essentials groupmanager and yes i set the permissions for it.
Okay from now on i think i've made everthing that maybe would work. Could someone do me a favor and answer what i'm doing wrong?
Thank you and have a nice day. Genesis©
-
View User Profile
-
Send Message
Posted Mar 11, 2013Before you download this plugin:
Keep in mind that you can also have this without this plugin, with the In-game command: '/gamerule keepInventory true..
Nice plugin though.
-
View User Profile
-
Send Message
Posted Mar 7, 2013@cnaude
ProtocolLib 2.3.0
-
View User Profile
-
Send Message
Posted Mar 7, 2013@ryvix
Which version of ProtocolLib are you using?
-
View User Profile
-
Send Message
Posted Mar 7, 2013I don't know if its due to the ProtocolLib update or what but now I am getting a bunch of these on startup:
[SEVERE] [Scavenger] Cannot read item stack.
-
View User Profile
-
Send Message
Posted Mar 3, 2013@ryush00
What do you mean "does not drop" ?
-
View User Profile
-
Send Message
Posted Mar 3, 2013@WeJoke
Scavenger does not support that ability.
-
View User Profile
-
Send Message
Posted Mar 3, 2013I'm using CombatLog and scavenger. But not drop :( Please make it compatible.
-
View User Profile
-
Send Message
Posted Mar 3, 2013Hey, is there anyway I can remove someone's inventory on death? Like I don't want them to drop all of their items on death (only a little bit) But I don't want them to keep the rest.
-
View User Profile
-
Send Message
Posted Mar 1, 2013@PaulBGD
refer to the middle of the information of the plugin