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 25, 2012I use "PermissionBukkit"
i don“t know if it work in Non-OP Mode, because i will not change it, cause all plugins have been configured so that I can act as an OP.
/scvroff works for me but exp and level are still restored.
-
View User Profile
-
Send Message
Posted Sep 25, 2012@Schlingman
Have you tested that as a non-op? What permissions plugin are you using?
-
View User Profile
-
Send Message
Posted Sep 25, 2012Hi,
i want that Scavenger only restore all Items but not the Level and exp points:
scavenger.level: false scavenger.exp: false
these two perms do not works. How can i fix this?
-
View User Profile
-
Send Message
Posted Sep 22, 2012<<reply 967833>
Please paste your Scavenger/config.yml and list your plugins.
-
View User Profile
-
Send Message
Posted Sep 22, 2012Authme isnt friends with Scavenger.. Here is bug, when player is dead, and then he left server withn't respawning, and then connect and then he login in, his inventory is gone,but before loggin in he have his inv! I know what its not this plugin bug
-
View User Profile
-
Send Message
Posted Sep 19, 2012@tanki123
I don't recall any API changes that would break things. The latest version should work on 1.2.5.
-
View User Profile
-
Send Message
Posted Sep 19, 2012@cnaude
Due to me using a McPortCentral version of bukkit i have only a 1.2.5 version of bukkit so is this config option only avaliable in the 1.3.2 version of bukkit ??? or am i looking at the wrong config.yml
edit: Nvm i saw the changelog for the latest scavenegr evrsion but i still want to ask is tehre any incompatibility between plugins ment for 1.3.2 and 1.2.5 bukkit
-
View User Profile
-
Send Message
Posted Sep 18, 2012@tanki123
Yes. You will need to use the authenticator plugin to allow Scavenger to hook into xAuth. Be sure to set OfflineMode to true in the config.yml.
-
View User Profile
-
Send Message
Posted Sep 18, 2012Does trhis plugin have xAuth compatibility? I host a small server and my player have the problem of items getting deleted because Scavenger restores the inventory Before xAuth login event.
-
View User Profile
-
Send Message
Posted Sep 14, 2012after enter /scvron [scavenger] No permission to do this how to fix? and only /scvr work I am server and op but no permission bukkit ver1.31 R2.0 scavenger ver1.31 R2.0
-
View User Profile
-
Send Message
Posted Sep 12, 2012@cnaude
Thanks :)
Xephi
-
View User Profile
-
Send Message
Posted Sep 11, 2012@Xephi59
I've merged your request and pushed a build to my snapshot URL. The latest snapshot now includes Authenticator compatibility.
-
View User Profile
-
Send Message
Posted Sep 11, 2012@thekingofawesomeness
What permissions plugin are you using? What does your permisisons plugin config look like? Personally I recommend PermissionsBukkit or bPermissions,
-
View User Profile
-
Send Message
Posted Sep 11, 2012@thekingofawesomeness
The Permission support use SuperPerms, also need SuperpermsBridge to hook to Scavenger :)
Xephi
-
View User Profile
-
Send Message
Posted Sep 11, 2012@Xephi59
It doesnt vault isnt the problem we dont have it and permissions is true
-
View User Profile
-
Send Message
Posted Sep 11, 2012@thekingofawesomeness
Set : Permissions: true in config.yml , and check Vault hooked with your permission plugin ;)
-
View User Profile
-
Send Message
Posted Sep 11, 2012My Scavenger Only Works For Ops How Do I Fix This?
-
View User Profile
-
Send Message
Posted Sep 11, 2012@cnaude
Done :)
-
View User Profile
-
Send Message
Posted Sep 11, 2012@Xephi59
If you have the source on github send me a pull request.
-
View User Profile
-
Send Message
Posted Sep 10, 2012@cnaude
Hi Again @cnaude
I have finish to implement Authenticator for Scavenger , if needed , i can post here the source + compiled jar :)
Xephi