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 Feb 7, 2013@dfdgsdfg
Scavenger already has this option. Changing this will cause items to randomly drop. "ChanceToDrop: 0"
-
View User Profile
-
Send Message
Posted Feb 7, 2013Server log file after installing the jar u posted: http://pastebin.com/drgbH33c
Worlds.yml: http://pastebin.com/XeRye5zY
New development. After adding the new jar, now both worlds drop the items on death and don't give them back. The config file remains the same as posted earlier. Want the server address so you could logon and give it a look?
Thanks,
Oscar
p.s. that error in the log file did not happen in the previous version.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@cnaude
Can you make random recovery mode? It's dropped some items but the others recovery.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@cnaude
ok.but I still want developper to fix that.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@SolaKun
I recommend that. It's the best way to get support around here. I know that Scavenger works is supposed to work in offline mode, but I won't be able to offer much assistance with that.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@cnaude
so,i must use onlinemode?
-
View User Profile
-
Send Message
Posted Feb 7, 2013@SolaKun
Try switch to online mode and see if it works better. If you're in offline mode I won't be able to much help. Just make sure you're running the latest CB and latest Scavenger.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@CoasterCrazy
Please paste your Multiverse worlds.yml. I uploaded a new snapshot version that has some increased debugging. If you enable debug mode it will print useful information to the log. http://dl.dropbox.com/u/30679730/dist/Scavenger.jar
-
View User Profile
-
Send Message
Posted Feb 7, 2013@cnaude
can fix?
-
View User Profile
-
Send Message
Posted Feb 6, 2013@cnaude
Craftbukkit 2629 and Scavenger v1.17b
Thanks!
-edit
No errors at all in console
paste of config:
-
View User Profile
-
Send Message
Posted Feb 6, 2013@CoasterCrazy
What version of CraftBukkit and Scavenger are you running?
I gave a good testing and it worked exactly as expected.
Are there any errors on your console? Can you paste your config.yml?
-
View User Profile
-
Send Message
Posted Feb 6, 2013Hi! I am using Multiverse and I have the main world and a secondary one. I added the secondary world to the blacklist. The problem is, they are still getting their inventory restored. Did I do something wrong? Thank you :)
-
View User Profile
-
Send Message
Posted Feb 4, 2013@cnaude
Hmm. I know why does this plugin do nothing.
I cleared *.ser files. and use /suicide command. plugin will save my inventory. but if I respawn. this plugin not recoveries my inventory. and when I am login with xAuth. My invtory will recovered. so if I config offlinemode is false. not have this bug. i use Authenticator with v1.3.3. please check your source.
-
View User Profile
-
Send Message
Posted Feb 4, 2013@cnaude
oh.? what server log? hmm... this not have some exception log. so. just have this.
2013-01-30 20:26:39 [INFO] [Scavenger] Enabling Scavenger v1.16c 2013-01-30 20:26:39 [INFO] [Scavenger] Configuration loaded. 2013-01-30 20:26:39 [INFO] [Scavenger] Scavenger has linked to iConomy 7 through Vault 2013-01-30 20:26:39 [INFO] [Scavenger] Item recovery fee: 998.0 2013-01-30 20:26:39 [INFO] [Scavenger] Loading God_tub's inventory from disk. 2013-01-30 20:26:39 [INFO] [Scavenger] Loaded ignore list. (Count = 0) 2013-01-30 20:26:39 [INFO] [Scavenger] Hook to Authenticator's API and your auth plugin.
and if I dead. this plugin is do nothing
-
View User Profile
-
Send Message
Posted Feb 3, 2013Does this have the ability to scavenge Inventory in the "Faction" Warzone Claimed Territory?
-
View User Profile
-
Send Message
Posted Feb 1, 2013@SolaKun
Please post your server.log to pastebin.
-
View User Profile
-
Send Message
Posted Feb 1, 2013v1.17 & 1.16 is do nothing on bukkit 1.4.5-R1.0 . why?
-
View User Profile
-
Send Message
Posted Jan 30, 2013One of my favorite plugins. Thanks for your work... :)
-
View User Profile
-
Send Message
Posted Jan 30, 2013@SgyX2
Looks like the API for PVPArena changed... I'll get it fixed.
-
View User Profile
-
Send Message
Posted Jan 30, 2013Conflict with the plugin PVP Arena, about the latest version of the plugin
22:49:29 [SEVERE] Error occurred while enabling Scavenger v1.17 (Is it up to date?) java.lang.IllegalAccessError: tried to access method net.slipcor.pvparena.api.PVPArenaAPI.<init>()V from class me.cnaude.plugin.Scavenger.Scavenger at me.cnaude.plugin.Scavenger.Scavenger.setupPVPArenaHandler(Scavenger.java:325) at me.cnaude.plugin.Scavenger.Scavenger.onEnable(Scavenger.java:66) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:458) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:383) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:309) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:291) at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:326) at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:305) at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:264) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:404) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)