Inactive [SEC, MECH] Scavenger v1.4.0 - Item Recovery on Death (Permissions, iConomy 4 & 5) [1.1-R4]

Discussion in 'Inactive/Unsupported Plugins' started by SirHedgehog, May 8, 2011.

  1. Offline

    SirHedgehog

    Scavenger: v1.4.0
    Reliable item recovery on death.


    Latest Download: v1.4.0 (Source)
    Unzip, copy the contents into your "plugins" folder and reload your server.

    Older releases: v1.3.0 (953) v1.2.0 (818) v1.1.0 (740) v1.0.0 (740)

    Description:
    This gives you your items back directly after you die so there is no need to pick them up again, assuming you have the correct permissions set.

    This is much more stable than NoDrop and other competitors I have seen (no dupe bug, no loss of items on logout during death).

    Permissions Integration:
    Here are the permissions that you should allow for certain actions:
    • scavenger.*
      • Grants permission to use all current and future Scavenger functionality.
    • scavenger.scavenge
      • Grants permission to recover items on death.
      • If this is not applied to the user or user group, items will drop normally.
    • scavenger.free
      • Prevents any scavenger charges from being applied.
    You can also just use *




    Coming Soon:
    • Ability to configure what is dropped and what is recovered.
    Changelog:
    • v1.4.0
      • A charge to restore a player's inventory can now be configured.
      • Supports iConomy 4 and 5.
    • v1.3.0
      • Changed the code to discard duplicate scavenges rather than using the duplicate.
      • The Scavenger notifications can now be disabled.
    • v1.2.0
      • Changed code to use my Bukkit pull request which allows slot-by-slot recovery of items (requires 766+).
    • v1.1.0
      • Added armour restoration and protection against inventory overflow.
    • v1.0.0
      • Initial release.
     
  2. Offline

    SirHedgehog

    Done.

    Done.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  3. Offline

    RugRats

    Woohoo thanks :D
     
  4. Offline

    nuubtuub

    if you fall to the void it will give your items back! (i tested :p)
     
  5. Offline

    cheepz

    Can you add the configuration, so that by... for example.

    Permission node: scavenger.death.player
    scavenger.death.mob
    scavenger.death.(other stuff)

    Player A has the permission node scavenger.death.player, because of this, if he is killed by another player, he will NOT drop his items.

    Player B does not have the permission node scavenger.death.player, because of this, if he is killed by another player, he WILL drop his items.

    What is the benefit of this?
    Scavenger is used for both OP's and some players. When it comes to players pvp'ing they do not lose their stuff, which is unfair. So... if you were to die because you fell into the lava, you wouldn't lose your items, but if you were killed by another player, you would.
     
  6. Offline

    SirHedgehog

    Yeah this seems like a reasonable request but no promises on timescales. I am extremely busy at the moment.
     
  7. Offline

    cheepz

    I won't hold it against you, but could you give me some... estimated time?

    Days? Couple weeks? A month or two?
     
  8. Offline

    SirHedgehog

    In the month(s) range most likely.
     
  9. Offline

    RugRats

    It took him about 3 weeks to put in iconomy support I requested a long time ago lol :p But it was worth it some what.
     
  10. Offline

    chicagosandman

    Can you put in a feature so your items will be placed in a predefined chest? I know this is a bit O.T. with your plugin but I'd really, really like this and can't find any plugins for it.
     
  11. Offline

    SirHedgehog

    Sure I'll consider this one. It's quite a good idea.
     
  12. Offline

    labelbuddy

    is there a way to make scavenge optional. I set the recover items price to 1k money, pretty hefty, but is there a way to make users decided weither they want or not want to scavenge there stuff and spend that 1k (eg if a person has like 20 diamond they'd want to, but if they only have like 4 wood why woudl they pay 1k for that)
     
  13. Offline

    SirHedgehog

    Items need to be dropped or not dropped at death, the system doesn't allow stalling. There is a way around it but it's too much work for me to worry about at the moment.
     
  14. Offline

    labelbuddy

    ok :D just wondering! thanks!
     
  15. Offline

    rhaamo

    We use Permissions 3.1.6 and craftbukkit b953 and when a player dies there is an error and player lost items :

    Code:
    2011-07-10 13:27:37 [SEVERE] Could not pass event ENTITY_DEATH to Scavenger
    java.lang.NullPointerException
        at me.ryall.scavenger.economy.EconomyManager.charge(EconomyManager.java:56)
        at me.ryall.scavenger.system.RestorationManager.collect(RestorationManager.java:35)
        at me.ryall.scavenger.listeners.EntityListener.onEntityDeath(EntityListener.java:23)
        at org.bukkit.plugin.java.JavaPluginLoader$56.execute(JavaPluginLoader.java:635)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
        at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:141)
        at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:391)
        at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:436)
        at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:179)
        at net.minecraft.server.EntityLiving.a(EntityLiving.java:489)
        at net.minecraft.server.EntityHuman.a(EntityHuman.java:866)
        at net.minecraft.server.Entity.a(Entity.java:641)
        at net.minecraft.server.EntityPlayer.b(EntityPlayer.java:359)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:363)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    

    Any ideas to resolve it ?
    Thanks.
     
  16. Offline

    SirHedgehog

    You have economy enabled with no economy plugin most likely? What economy plugin do you use if not?
     
  17. Offline

    rhaamo

    just checked and i've not updated the config file after upgrading the .jar, now works after updating the conf, sorry..
     
  18. Offline

    SirHedgehog

    Ah I should probably default that to false.
     
  19. Offline

    RugRats

    Can you add an option so once you die you have a choice to go your stuff back like you have to say /sc yes or something :O? Think about it for a second
     
  20. Offline

    SirHedgehog

    Items need to be dropped or not dropped at death, the system doesn't allow stalling. There is a way around it but it's too much work for me to worry about at the moment.
     
  21. Offline

    IncendiaDrakon

    How does this work if you set a price? You're automatically granted your items back, then charged if you have, for example, 10 currency? If you don't have 10 currency, you drop your items and you're not charged any currency?
     
  22. Offline

    Nat Ryall

    Yes, exactly.
     
  23. Offline

    pandapipino

    Great plugin!
     
    SirHedgehog likes this.
  24. Offline

    monir

    # Global settings.
    Global:
    # Whether or not to notify the player when their items are gathered and restored.
    Notify: true
    Economy:
    # Whether or not to use an economy system with the plugin.
    Enabled: true
    # The economy plugin to use (currently only iConomy is supported).
    Adapter: iConomy
    # The cost of restoring your inventory (if enabled).
    RestoreCost: 50.0

    How come?it dont take money on death i use iconomy 5.0
     
  25. Offline

    SirHedgehog

    Did you take the spaces out? It needs to be in the same format as the original.
     
  26. Offline

    pandapipino

    can't wait for this:

    - Ability to configure what is dropped and what is recovered.

    sorry for being lame :)
     
  27. Offline

    excalibr23

    Just need this and the plugin will be amazing!!
     
  28. Offline

    marc38gt

    Great Plugin !
    But could you make a per world configuration ?
     
  29. Offline

    SirHedgehog

    It is already per world. Use permissions... and no I won't support it without permissions.
     
  30. Offline

    dak393

    @SirHedgehog
    think you could recompile with RB 1000 don't want this getting listed as inactive :)
     
    pandapipino likes this.
  31. Offline

    excalibr23

    Seems my players are losing any armor they are wearing when killed by players. Anyone else having this?

    Edit: This issue has gone away, but they claim that sometimes their items disappear.
     

Share This Page