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 Sep 10, 2012@cnaude
Thanks a lot :)
Good luck for the future :)
Xephi
-
View User Profile
-
Send Message
Posted Sep 9, 2012@Xephi59
Done!
-
View User Profile
-
Send Message
Posted Sep 9, 2012@cnaude
Hi guys , can you update your sources files on github also ? :/ Thanks for your job , that's a great plugin !
Xephi
-
View User Profile
-
Send Message
Posted Sep 7, 2012I just wanted to stop by and say thanks for the updates =)
-
View User Profile
-
Send Message
Posted Sep 7, 2012@SimSonic
I think the simplest solution is to just use online mode. I really don't want to change the way Scavenger works to support authentication plugins. If someone wants to do this the code is on github and can be forked.
-
View User Profile
-
Send Message
Posted Sep 6, 2012May be try to work around this issue thought http://dev.bukkit.org/server-mods/authenticator/ ?
-
View User Profile
-
Send Message
Posted Sep 2, 2012@anime5167
Offline mode is not the issue. The issue is that the AuthMe plugin interferes with the player inventory at join.
-
View User Profile
-
Send Message
Posted Sep 2, 2012@cnaude
can not offline mod?
-
View User Profile
-
Send Message
Posted Sep 2, 2012@anime5167
I found the problem. The Scavenger plugin is not compatible with AuthMe. You will need to switch to online mode to use this plugin.
-
View User Profile
-
Send Message
Posted Sep 2, 2012@cnaude
just dead and lag and game close login back will be lost all item
server.log on MF
Link Removed: http://www.mediafire.com/?iw0dgeha1npnqgq
-
View User Profile
-
Send Message
Posted Sep 2, 2012@anime5167
I need more information. What version of CraftBukkit are you running? Do you get any errors when the plugin loads? Do you get errors on the console when a player dies? Are you using permissions? Please enable debug mode in the config.yml and send me your console log when this issue occurs.
-
View User Profile
-
Send Message
Posted Sep 2, 2012@cnaude
not work ...still lost
-
View User Profile
-
Send Message
Posted Sep 1, 2012@anime5167
Try the latest snapshot. http://dl.dropbox.com/u/30679730/dist/Scavenger.jar
-
View User Profile
-
Send Message
Posted Sep 1, 2012player dead and out of server
player all item will be recovery on not logged [ join game ]
player will be lost all item on login
can fix?
-
View User Profile
-
Send Message
Posted Aug 28, 2012@rebel24
I managed to find internet access in the middle of nowhere and get a quick fix uploaded. Please try the latest snapshot.
-
View User Profile
-
Send Message
Posted Aug 28, 2012No problem :) Can't wait for the update
-
View User Profile
-
Send Message
Posted Aug 27, 2012@rebel24
Im travelling at the moment and have very little access. It could be another 4 days before i can get to my development box.
-
View User Profile
-
Send Message
Posted Aug 25, 2012Got a fix?
-
View User Profile
-
Send Message
Posted Aug 24, 2012Thank you, I was going to say, not my problem :)
-
View User Profile
-
Send Message
Posted Aug 24, 2012@rebel24
Sounds like your permissions plugin needs to be configured differently. What permissions plugin are you using?I had a quick look at the code and I can see where the problem is. It's checking permissions during the item save at death, but at respawn it doesn't check the *scavenger.scavenge node*. I will fix this soon.