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
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
- Requires ProtocolLib
- 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 NUMBER] - If SingleItemDrops is true then don't 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.list - Allows player/console 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.
- scavenger.armour.X - Armour slots where X is 0, 1, 2, or 3.
- Armor: 0 = boots, 1 = leggings, 2 = chestplate, 3 = helmet
- 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
Commands
- /scvr - Reload configuration
- /scvron - Self enable scavenger
- /scvroff - Self disable scavenger
- /scvrlist - List all pending recoveries
Configuration
Facts
- Date created
- Mar 10, 2012
- Categories
- Last update
- May 15, 2013
- Development stage
- Release
- Language
- deDE
- enUS
- itIT
- koKR
- ruRU
- License
- GNU General Public License version 3 (GPLv3)
- Curse link
- Scavenger
- Downloads
- 100,508
- Recent files
- Reply
- #542
rsod May 22, 2013 at 13:37 UTC - 0 likes@cnaude: Go
Surely I would like to, send me a link
- Reply
- #541
cnaude May 22, 2013 at 02:26 UTC - 0 likes@rsod: Go
I have some ideas if you're willing to test a few builds.
SDF | Fixed Plugins BFAK:cnaude,99361,b703b55cc7c33b67a0dde6d0e3e3b46833573e8f906baec978d45c87a0139279
- Reply
- #540
Wallen08 May 22, 2013 at 02:17 UTC - 1 like@Rog360: Go
Just install limited creative and then use world guard to make the default gamemode adventure :D
- Reply
- #539
Rog360 May 21, 2013 at 19:43 UTC - 0 likesCan you add two commands for in game use. I would love to be able to save and restore inventory with commands. What I want to do is save inventory when entering PVP area [No Plugin] and restore on death or when leaving PVP area. I'll use the commands with serversigns. Thanks for the great plugin... :)
- Reply
- #536
rsod May 19, 2013 at 11:40 UTC - 0 likes@cnaude: Go
To avoid any possibility of affecting by another plugins I created fresh server using Spigot build 866 with plugins:
Scavenger version 1.24d
ProtocolLib version 2.4.3
AuthMe version 2.7.16
Authenticator version 1.5
PermissionsEx version 1.19.5
Configuration file is default except this option:
OfflineMode: true
What exactly happening: after player dying, his inventory not auto-restoring. I tried different actions, but I found only one way that works: disconnect from server, connect and teleport somewhere. Only after this inventory will be restored.
- Reply
- #535
cnaude May 18, 2013 at 23:42 UTC - 0 likes@rsod: Go
What does your Scavenger/config.yml look like? What does your plugin list look like?
- Reply
- #534
rsod May 18, 2013 at 23:15 UTC - 0 likesFor some reason after last update restorations stucking, they showing in /scvrlist, but they not processing, people not getting items back. Happening after you got rid of onmove event. I got inventory restore on teleport, but maybe best way is add task to scheduler like check restorations every 2-3 seconds?
- Reply
- #533
cnaude May 18, 2013 at 04:50 UTC - 0 likes@ryvix: Go
ProtocolLib is only used for saving the inventories to disk when the server is stopped. If a player just logs off then Scavenger should not in any way remove their xp.
- Reply
- #532
ryvix May 18, 2013 at 03:32 UTC - 0 likesPeople are complaining that when they leave the server and come back they are losing all their xp. Does anyone else have this problem with this plugin? I don't know if this plugin is causing that but I suspect so as it tends to be the cause of things like this.
I also noticed it may have started happening with the new ProtocolLib that just came out so maybe its just a bug with that. I dunno. Just thought I would see if anyone else has this problem too.
FixFirstLogin »« Undye »« SignUtilities »« Spawner »« ClaimControl
- Reply
- #531
cnaude May 17, 2013 at 17:49 UTC - 0 likes@Joxiscraft: Go
The permissions are checked on the death event. On respawn the permissions are not checked. Answer: yes.