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 Jul 30, 2013Question.
Is it possible to "White List" to save an "item" specific?
I I have on: DropOnPVPDeath: true
But I need to recover always: "Diamond Sword".
-
View User Profile
-
Send Message
Posted Jul 27, 2013@rwmtiger
hehe i'm spanish i can understand it :P
-
View User Profile
-
Send Message
Posted Jul 23, 2013@rwmtiger
Good idea. I sent a request to someone that has made videos for my other plugins.
-
View User Profile
-
Send Message
Posted Jul 23, 2013need english video -.-
-
View User Profile
-
Send Message
Posted Jul 22, 2013Another issue, when killed by MagicSpells plugin, 1 of the spells, it says Your item has been restored but you loose everything.
-
View User Profile
-
Send Message
Posted Jul 22, 2013Somehow when i disconect when dead(didnt respawn) and come back in, items that are usualy saved are gone as soon as i login(authme plugin), before loging in i can see them in my inv. Tried Offline mode:false/true
Any sugestions?
Thx
EDIT: It was AuthMe's problem, its config to hide inventory if not logged in. When disabling it scavenger saves everything normaly.
-
View User Profile
-
Send Message
Posted Jul 22, 2013@Dimensiongah
Sent via PM.
-
View User Profile
-
Send Message
Posted Jul 22, 2013@cnaude
Is it up for accepting from the Bukkit team? Can you post the link until then? I really need Scavenger on my server right now. Thanks
-
View User Profile
-
Send Message
Posted Jul 22, 2013@Dimensiongah
Fixed in 1.3d.
-
View User Profile
-
Send Message
Posted Jul 19, 2013Scavenger seems to conflict with the newest version of Factions. And yes, I use the latest version of scavenger.
-
View User Profile
-
Send Message
Posted Jul 19, 2013Hi there, i cant figure out how to add permissions in pex. With OP plugin in working perfectly, but
is doing nothing.. Why is this happening and what additional info do u need to try to help me? i can give some info: mcpc-plus-1.5.2-R1.1-forge738-B607, ProtocolLib-2.4.7.jar, PermissionsEx 1.19.4 - that was the problem :) Installing new version of pex 1.9.6 fixes for this problem.
-
View User Profile
-
Send Message
Posted Jul 19, 2013Hi, great plugin, long use. There is a problem, the concept has changed on the server, I want to just experience points saved. So these permits (scavenger.level & scavenger.exp) does not work, only works if you add this permission: scavenger.scavenge
thx!
-
View User Profile
-
Send Message
Posted Jul 19, 2013[SEVERE] Error occurred while enabling Scavenger v1.25a (Is it up to date?) java.lang.NoClassDefFoundError: com/orange451/UltimateArena/UltimateArenaAPI at com.cnaude.scavenger.Scavenger.getUltimateArena(Scavenger.java:328) at com.cnaude.scavenger.Scavenger.checkForUltimateArena(Scavenger.java:109) at com.cnaude.scavenger.Scavenger.onEnable(Scavenger.java:67) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:382) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.loadPlugin(CraftServer.java:286) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.enablePlugins(CraftServer.java:268) at net.minecraft.server.v1_6_R2.MinecraftServer.l(MinecraftServer.java:319) at net.minecraft.server.v1_6_R2.MinecraftServer.f(MinecraftServer.java:296) at net.minecraft.server.v1_6_R2.MinecraftServer.a(MinecraftServer.java:256) at net.minecraft.server.v1_6_R2.DedicatedServer.init(DedicatedServer.java:164) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:397) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.ClassNotFoundException: com.orange451.UltimateArena.UltimateArenaAPI at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 14 more
-
View User Profile
-
Send Message
Posted Jul 18, 2013@fatkungfu
What version of Factions are you running?
-
View User Profile
-
Send Message
Posted Jul 18, 2013@cnaude
are you going to fix that bug soon?
-
View User Profile
-
Send Message
Posted Jul 17, 2013@ZwingGX
This plugin works with 1.6.2. If you have any errors on startupl please rename the .ser files and restart.
-
View User Profile
-
Send Message
Posted Jul 17, 2013Please update 1.6.2 :)
-
View User Profile
-
Send Message
Posted Jul 12, 2013Hello!
Can you add the possibility to choose exactly in which region (with WG) the inventory is lost, please ? (With a list for instance, like worlds)
-
View User Profile
-
Send Message
Posted Jul 10, 2013@fatkungfu
It looks like you upgraded Factions. Scavenger currently only support Factions 1.8.2.
-
View User Profile
-
Send Message
Posted Jul 10, 2013scavenger is not working with 1.6.2 this error i got 10.07 13:48:50 [Server] INFO at java.net.URLClassLoader.findClass(URLClassLoader.java:354) 10.07 13:48:50 [Server] INFO at java.security.AccessController.doPrivileged(Native Method) 10.07 13:48:50 [Server] INFO at java.net.URLClassLoader$1.run(URLClassLoader.java:355) 10.07 13:48:50 [Server] INFO at java.net.URLClassLoader$1.run(URLClassLoader.java:366) 10.07 13:48:50 [Server] INFO Caused by: java.lang.ClassNotFoundException: com.massivecraft.factions.P 10.07 13:48:50 [Server] INFO at net.minecraft.server.v1_6_R1.ThreadServerApplication.run(SourceFile:582) 10.07 13:48:50 [Server] INFO at net.minecraft.server.v1_6_R1.MinecraftServer.run(MinecraftServer.java:391) 10.07 13:48:50 [Server] INFO at net.minecraft.server.v1_6_R1.DedicatedServer.init(DedicatedServer.java:151) 10.07 13:48:50 [Server] INFO at net.minecraft.server.v1_6_R1.MinecraftServer.a(MinecraftServer.java:250) 10.07 13:48:50 [Server] INFO at net.minecraft.server.v1_6_R1.MinecraftServer.f(MinecraftServer.java:290) 10.07 13:48:50 [Server] INFO at net.minecraft.server.v1_6_R1.MinecraftServer.l(MinecraftServer.java:313) 10.07 13:48:50 [Server] INFO at org.bukkit.craftbukkit.v1_6_R1.CraftServer.enablePlugins(CraftServer.java:264) 10.07 13:48:50 [Server] INFO at org.bukkit.craftbukkit.v1_6_R1.CraftServer.loadPlugin(CraftServer.java:282) 10.07 13:48:50 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 10.07 13:48:50 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) 10.07 13:48:50 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) 10.07 13:48:50 [Server] INFO at com.cnaude.scavenger.Scavenger.onEnable(Scavenger.java:70) 10.07 13:48:50 [Server] INFO at com.cnaude.scavenger.Scavenger.checkForFactions(Scavenger.java:124) 10.07 13:48:50 [Server] INFO at com.cnaude.scavenger.Scavenger.getFactions(Scavenger.java:200) 10.07 13:48:50 [Server] INFO java.lang.NoClassDefFoundError: com/massivecraft/factions/P 10.07 13:48:50 [Server] SEVERE Error occurred while enabling Scavenger v1.25a (Is it up to date?)