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 Oct 18, 2012@dfg001
Please download the latest snapshot and let me know if it resolves the issue for you.
-
View User Profile
-
Send Message
Posted Oct 18, 2012problem BattleArena
-
View User Profile
-
Send Message
Posted Oct 16, 2012@cnaude
Thanks for cleanup :')
@deleted_8435363
No prob :p that was already on my server , i just pull request :')
-
View User Profile
-
Send Message
Posted Oct 15, 2012@Xephi59
Thank you! :)
-
View User Profile
-
Send Message
Posted Oct 15, 2012@FordRacer2007
Please try the latest snapshot.
-
View User Profile
-
Send Message
Posted Oct 15, 2012@Xephi59
Looking at it right now. :)
-
View User Profile
-
Send Message
Posted Oct 15, 2012@deleted_8435363
@FordRacer2007
I have pullrequest cnaude with fix for MultiInv and Support for BlackListedWorlds :)
-
View User Profile
-
Send Message
Posted Oct 15, 2012I have a Hunger Arena map that we use, would it be possible to have a world blacklist for this? So that for example this doesn't affect in my world 'hungerarena'.
-
View User Profile
-
Send Message
Posted Oct 14, 2012@deleted_8435363
There are currently no hooks in Scavenger for MultiInv. Nobody has requested this yet. if i ever add this it would likely work very the same way Multiverse-Inventories works.
The delay is intentional. The restore won't function correctly if it happens too quickly. This is just an issue with Bukkit itself and nothing I have control over.
-
View User Profile
-
Send Message
Posted Oct 14, 2012Hey,
how does Scavenger play with MutiInv?
And why is there a small delay for the inv to be recovered after death?
-
View User Profile
-
Send Message
Posted Oct 13, 2012@portapipe
The best way to accomplish this is to have separate worlds for creative and survival. Scavenger integrates with Multiverse-Inventories and will keep restores separate.
-
View User Profile
-
Send Message
Posted Oct 13, 2012Guys there is some config to make the creative player to not have their inv saved? 'cause i've a survi/creative server and I need to have their inv separate. Thanks and URGENT!
-
View User Profile
-
Send Message
Posted Oct 7, 2012@Metonymia
Dungeon Maze haven't any API or any source to look up in , this plugin is in hard developpment , need waiting for ;)
-
View User Profile
-
Send Message
Posted Oct 5, 2012@Metonymia
What?
-
View User Profile
-
Send Message
Posted Oct 5, 2012Doesn't beat DungeonMaze.
-
View User Profile
-
Send Message
Posted Sep 25, 2012I´ve found out what this come from. Its the Plugin Essential - but i dont know where is the Option in Essential to toggle it of...
-
View User Profile
-
Send Message
Posted Sep 25, 2012My failure - same Problem with uninstalled Scavenger, it seems it comes from an other plugin...
The Exp bar was not refreshed...
But which one is it?
-
View User Profile
-
Send Message
Posted Sep 25, 2012@Schlingman
Thanks for testing that. I will test this more tonight and see if I can replicate the problem.
-
View User Profile
-
Send Message
Posted Sep 25, 2012Ok - same Problem with uninstalled Scavenger, it seems it comes fron an other plugin...
I have the following Plugins: - blift - ChopTree2 - Citizens - dynmap - essentials - JustWarp - Lagmeter - Magiccarpet - Minecartmania - Monsterbox - Multivers + Portal - PermissionBukkit - Scanvenger - Scrappbukkit - serversave - SimpleBackup - Simplesignedit - Worldedit + Guard
-
View User Profile
-
Send Message
Posted Sep 25, 2012@Schlingman
I use PermissionsBukkit as well. That is really strange. Can you test this with the Scavenger plugin uninstalled? What other plugins do you have?