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 Jan 29, 2013@XRECKXIMPACT
Try this plugin i just wrote. It causes players to drop heads when they die. It plays nice with Scavenger. https://dl.dropbox.com/u/30679730/dist/TrophyHeads.jar
Edit: And now it's a project! :) http://dev.bukkit.org/server-mods/trophyheads/
-
View User Profile
-
Send Message
Posted Jan 29, 2013@cnaude
well like there is this plugin that drops custom player heads on pvp death but even with the node in, the drop didn't work. I can get you the plugins dev page link if you want to take a look into it. I mean another solution to it that i thought of after i posted that first comment was to just to have the players turn off their scavenger mode to get their heads. Haven't tried that theory to it yet but ill be sure to post back if you want me to test that.
-
View User Profile
-
Send Message
Posted Jan 28, 2013@XRECKXIMPACT
I was not aware player heads drop normally. Are you asking for scavenger to drop player heads when they die?
-
View User Profile
-
Send Message
Posted Jan 28, 2013@XRECKXIMPACT
Great plugin i must add :D
-
View User Profile
-
Send Message
Posted Jan 28, 2013Hey i was wondering if you would be kind enough to add compatibility with playerheads. I tried the single drop method but the heads still wont drop when they die. If you cant, no worries.
-
View User Profile
-
Send Message
Posted Jan 28, 2013Hey, got an error and fails to work: http://dev.bukkit.org/server-mods/scavenger/tickets/11-error-occurred-while-enabling-scavenger-v1-17/
-
View User Profile
-
Send Message
Posted Jan 27, 2013@SilvestrusArctoze
You can either disable Scavenger per world with permissions or simply use config.yml BlackListedWorlds option. See the sample config. https://raw.github.com/cnaude/Scavenger/master/src/config.yml
-
View User Profile
-
Send Message
Posted Jan 26, 2013@cnaude
Yeah, that's the problem. With multiple worlds. If you use the /gamerule keepInventory true, it affects ALL the worlds. So, do this have a configuration to disable it on a world?
-
View User Profile
-
Send Message
Posted Jan 26, 2013@SilvestrusArctoze
On a vanilla server that works great. In fact I use that on my vanilla server. On a CB server with multiple worlds and multiple plugins controlling inventory it does not work out so well. You're welcome to use whatever method works best for you.
-
View User Profile
-
Send Message
Posted Jan 26, 2013@cnaude
No offense but you can just type in /gamerule keepInventory true
No bugs or glitches, saves your inventory and exp well.
-
View User Profile
-
Send Message
Posted Jan 25, 2013@XeonG8
Please post the full error on pastebin. I don't think Scavenger can cause this. It only utilizes the ProtocolLib methods at startup and shutdown. During normal use it does nothing with ProtocolLib. I plan on removing the dependency in one of the future releases.
-
View User Profile
-
Send Message
Posted Jan 25, 2013Could this be caused by your plugin? or ProtocolLib ... the crashing seems to only happen when those 2 plugins and disguisecraft are on the server.
-
View User Profile
-
Send Message
Posted Jan 25, 2013@xeNiumw0w
Are there any errors in the server.log when the recover fails? What version of CB and Scavenger are you running?
-
View User Profile
-
Send Message
Posted Jan 25, 2013I don't know why sometimes they don't recover our items.
Multiverse PvP (Disabled) & WG PvP (Disabled)
-
View User Profile
-
Send Message
Posted Jan 24, 2013@cnaude
Thank you very much =) So far so good!
-
View User Profile
-
Send Message
Posted Jan 24, 2013@EnderdragonDE
Glad to hear that.
-
View User Profile
-
Send Message
Posted Jan 24, 2013@cnaude
everything is working fine
good work
-
View User Profile
-
Send Message
Posted Jan 23, 2013@EnderdragonDE
@ryvix
Please try the new snapshot (1.17). On the first run you may still reeceive an error. It will convert to the new inventoiry save method. On subsequent runs it should be a clean startup. http://dl.dropbox.com/u/30679730/dist/Scavenger.jar
In order to save meta information Scavenger will be dependent on the ProtocolLib helper library. Download the latest version and place it in your plugins folder. http://dev.bukkit.org/server-mods/protocollib/
-
View User Profile
-
Send Message
Posted Jan 23, 2013@cnaude
It happens on startup
-
View User Profile
-
Send Message
Posted Jan 23, 2013@cnaude
Ohh, thanks =)
Players were complaining about losing certain items like swords or pickaxes that were named, maybe that could be why that happens too?