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 26, 2013@re3ell
The 1.5.1 versions should work fine with 1.4.7. There is nothing in the code that calls 1.5.1 specific methods.
In what way does this need to work with Grief Prevention?
-
View User Profile
-
Send Message
Posted Mar 26, 20131. Are the 1.5.1 version also working for 1.4.7?
2. Could you hook into GriefPrevention?
-
View User Profile
-
Send Message
Posted Mar 24, 2013@Lostferret13
Yep. I have it set up this way, and it's working with no bugs at the moment.
I believe it's set up this way:
And you should be done
-
View User Profile
-
Send Message
Posted Mar 24, 2013@Lostferret13
You should be able to use both. The slot check happens after the single item drops.
-
View User Profile
-
Send Message
Posted Mar 24, 2013any way to use both Single Item Drops AND slot drops? I want my players to keep their hotbars and a few choice items if they happen to be in the inventory.
-
View User Profile
-
Send Message
Posted Mar 24, 2013@Micius
Try
-
View User Profile
-
Send Message
Posted Mar 24, 2013@cnaudeVery good. So, everything's in working order. Thanks. :-)
-
View User Profile
-
Send Message
Posted Mar 24, 2013@Micius
Are you running v1.19b? Do you happen to know what caused this? It kind of looks like essentials might have something to do with it.
-
View User Profile
-
Send Message
Posted Mar 24, 2013@harl
That error is perfectly normal. The plugin always checks for the old files for backwards compatibility. I may remove that in the future.
-
View User Profile
-
Send Message
Posted Mar 24, 2013-
View User Profile
-
Send Message
Posted Mar 24, 2013Hi, I get this:
Scavenger: Recovery file '/bukkit/plugins/Scavenger/inv.ser' does not exist. (Old format)
Scavenger: Recovery file '/bukkit/plugins/Scavenger/inv1.ser' does not exist. (New format)Scavenger: Ignore file '/bukkit/plugins/Scavenger/ignores.ser' does not exist.every time our server starts/reloads and I wonder whether there's anything I should do about it or I can just ignore it?
I know there's previously been an "inv.ser" as well as an "ignores.ser", but when I moved to different hardware I decided to start clean for the most parts. Scavenger doesn't recreate those files by itself it seems. Other than that, it works as intended. Please advise.
Edit: It seems that when I completely remove (rename) the /Scavenger/ directory, starting and then stopping the server recreates at least two of those files. The one saying "(Old format)" at the end though still remains.
-
View User Profile
-
Send Message
Posted Mar 23, 2013@boushwa
Please post the full error to pastebin.
-
View User Profile
-
Send Message
Posted Mar 23, 2013@cnaude
Nope. These are my plugins:
AlwaysDay, AutoSaveWorld, BiomeEdit, ChestShop, DeadHeads, DisguiseCraft, Essentials, Factions, HeavySpleef, ItemDuplicator, Lift, McMMO, MobArena, MobCatcher, MobHealth, Multiverse, MyCommand, NonSpecificOdyssey, Other Drops, PermissionsEX, Phat Loots, ProtocolLib, Reforestation, RemoteBukkit, Sign Rank, SignShop, SilkSpawners, SimpleRegionMarket, SurvivalGames, Timed Messages, Tree Assist, Votifier, World Border, World Guard, World Edit.
-
View User Profile
-
Send Message
Posted Mar 22, 2013@boushwa
Are you running BattleArena? If you are what version is it?
-
View User Profile
-
Send Message
Posted Mar 22, 2013@cnaude
I just installed 1.19b on my 1.5.1 server and I am getting the same console error as StanoMalek below.
-
View User Profile
-
Send Message
Posted Mar 22, 2013@Bjoener
What does a respawn point have to do with dropping and recovering items?
-
View User Profile
-
Send Message
Posted Mar 22, 2013@0dayRUDE
That jar should go into your plugins directory.
-
View User Profile
-
Send Message
Posted Mar 22, 2013Well i'm not getting an error, but I have the latest protocollib and yet it does not seem to be detecting it in my /lib/ folder..
-
View User Profile
-
Send Message
Posted Mar 22, 2013Can you add a respawn point, please?
-
View User Profile
-
Send Message
Posted Mar 19, 2013@StanoMalek
Fixed in 1.19b http://dev.bukkit.org/server-mods/scavenger/files/25-v1-19b/