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 Jun 25, 2012@JohOply
The OpsAllPerms flag does not override permissions. It simply allows ops to bypass permissions if set to true. Please double check that your ops are not being automatically granted the '*' permisison node.
-
View User Profile
-
Send Message
Posted Jun 25, 2012@XtenDvas
The latest version. 1.9d, supports Ultimate Arena v0.1.
-
View User Profile
-
Send Message
Posted Jun 25, 2012Please Update for last UltimateArena, looks like developer changed class names...
-
View User Profile
-
Send Message
Posted Jun 24, 2012Hello!
I think that "OpsAllPerms: false" in config not working :(
-
View User Profile
-
Send Message
Posted Jun 23, 2012Totally like this plugin
Im using this right now
Hope this plugin stay forever :D
-
View User Profile
-
Send Message
Posted Jun 15, 2012With the dev version put this in your config.yml.
-
View User Profile
-
Send Message
Posted Jun 15, 2012@cnaude
I believe I did disable player notifications.
-
View User Profile
-
Send Message
Posted Jun 15, 2012@ryvix
Are you seeing that message in the console because you disabled player notifications? If that is the case you can edit the message in the config.yml and use %PLAYER% or %DPLAYER% tokens. This is available in the latest dev version.
-
View User Profile
-
Send Message
Posted Jun 15, 2012Hi, this has been working nicely lately, thanks!
I am just wondering if maybe you could make it instead of saying in the console Saving your inventory. that it would say Saving playername's inventory. since it's a message in the console.
-
View User Profile
-
Send Message
Posted Jun 13, 2012@oceanor
I'm not entirely sure what you're asking. Are you talking about the /scvron and /scvroff commands? You want the ability to have off be default?
-
View User Profile
-
Send Message
Posted Jun 13, 2012hi! really nice plugin! :D
just one thing: can you add a setting to choose ste default state? all users ask why theyr gold is picked without theyr confirmation.. will be better if they can choose when enable and disable it..
-
View User Profile
-
Send Message
Posted Jun 10, 2012That's exactly how I do it, I keep armor and weapons only. It's as simple as turning on SingleItemDrops and SingleItemDropsOnly (both true), then adding the permissions for each item - leather chest/helm/pants/feet, iron, gold, diamond, plus the various swords, and bow/arrows
Works perfectly :) Thanks for the great plugin :)
-
View User Profile
-
Send Message
Posted Jun 7, 2012@luxeder
The current Scavenger does not support it. Technically the code keeps the inventory and armour seperate. Making it a configurable option is definately something i can add. I just need to figure out the best way to implement it without impacting anything else.
-
View User Profile
-
Send Message
Posted Jun 7, 2012@AkiraShirou
Thanks, but I want to keep only the equipped armors. I don't know how to do that with Scavenger, or the KeepItems plugin... Can you help me?
-
View User Profile
-
Send Message
Posted Jun 6, 2012It'd be cool to have the option to only protect the user's hotbar.
-
View User Profile
-
Send Message
Posted Jun 6, 2012@DasDing73
WorldInventories does not appear very active. Why does Multiverse-Inventories not work for you? I use Multiverse-Inventories on my server without any issues.
-
View User Profile
-
Send Message
Posted Jun 6, 2012Is there a WordlInventories also possible? Because Multiverse-Inventories dindn't work for me.
-
View User Profile
-
Send Message
Posted Jun 5, 2012@Joxiscraft
Please test the latest dev version. It includes Factions support.
-
View User Profile
-
Send Message
Posted Jun 5, 2012@luxeder
http://dev.bukkit.org/server-mods/keep-items/
-
View User Profile
-
Send Message
Posted Jun 4, 2012I want to keep the equipped armor only... Can I make this with that? If not, Can sb recommend an another plugin? (Sorry for my bad English :/)