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 Nov 15, 2013When use only scavenger.level xp still drops as should and one player can dupe xp. Can dropped xp orbs be less on amount of xp for saved levels?
-
View User Profile
-
Send Message
Posted Nov 5, 2013@xp9kus
Thanks for the update.
-
View User Profile
-
Send Message
Posted Nov 5, 2013@all
This plugin conflicts with SlotLock, if you use these two plugins together, there will be a "little" bug - DUPLICATING ITEMS. Thx for attention!
-
View User Profile
-
Send Message
Posted Oct 26, 2013@xp9kus
What version of Bukkit? What does your Scavenger/config.yml look like? Can you post your server.log when Scavenger is in debug mode?
-
View User Profile
-
Send Message
Posted Oct 20, 2013I have dup on my server. When player with special permission dies, his items drop AND recover. Then he can pick up dropped items. Help me fix this please.
-
View User Profile
-
Send Message
Posted Oct 18, 2013@desuthecheeseburger
When the plugin is in offline mode it uses the onMove event. The online mode does not need this.
-
View User Profile
-
Send Message
Posted Oct 18, 2013@cnaude
What? How can online/offline mode affect the load of the plugin on the server?
-
View User Profile
-
Send Message
Posted Oct 15, 2013@Josef27
The offline mode is not as efficient as online mode.
-
View User Profile
-
Send Message
Posted Oct 14, 2013@cnaude
The server is running in offline mode.
-
View User Profile
-
Send Message
Posted Oct 14, 2013@Josef27
Are you playing in offline or online mode?
-
View User Profile
-
Send Message
Posted Oct 14, 2013Noticing scavenger always doing big violation in every timings. Any help? I'm using SpigotMC Build 1130 (MC: 1.6.4)
http://aikar.co/timings.php?url=6235747
Thank you.
-
View User Profile
-
Send Message
Posted Sep 16, 2013@MysticOne84
Please PM me a pastebin of your server.log.
-
View User Profile
-
Send Message
Posted Sep 16, 2013@cnaude
Nope. Nothing.
-
View User Profile
-
Send Message
Posted Sep 16, 2013@MysticOne84
Any errors in your server.log?
-
View User Profile
-
Send Message
Posted Sep 15, 2013@Cubie_Nox Yeah same thing here. I put the .jar file in and it wont even run when I restart server. :(
-
View User Profile
-
Send Message
Posted Sep 15, 2013@Cubie_Nox
Any errors in your server.log?
-
View User Profile
-
Send Message
Posted Sep 15, 2013Doesn't work with the last bukkit update (2879, 1.6.2-R1.0). Plugin is shown as red in the plugins list.
-
View User Profile
-
Send Message
Posted Aug 27, 2013@Bodyash
@jacob_0096
Set SingleItemDrops: true and SingleItemDropsOnly: true. Then use scavenger.drop.[ITEM NUM] to keep the ITEM NUM.
Edit: Also make sure to test this as non-op.
-
View User Profile
-
Send Message
Posted Aug 27, 2013@Tigergruppe
See line 50 of https://github.com/cnaude/Scavenger/blob/master/src/main/resources/config.yml
-
View User Profile
-
Send Message
Posted Aug 27, 2013Add permission:
scavenger.recover.itemid
Because i want to recover all Sadles of any players. Or in config: Allways recover this items: 1, 22, 57.