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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.

    This post has been edited 3 times. It was last edited by SirHedgehog Mar 14, 2012.
  2.  
  3. Offline

    edenbenedic

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    could you make so permissions is not needed and defult to ops
  4. Offline

    Holylon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    yeah, i really dont know how to update... thats really bad :( think i must try an older version...

    And can u maybe tell me how i see my current build of bukkit?
  5. Offline

    defthefirst

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hi,
    No error but where are my armors ? :D
    All equiped armor disappear ?
    CB770.
    Thanks
  6. Offline

    SirHedgehog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It already does that.
  7. Offline

    SirHedgehog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I think it shows it in the console on boot. Not 100% on that.
  8. Offline

    SirHedgehog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    You're using 1.2.0 right? 770 isn't supported so maybe it broke something. Are you sure your armour isn't just getting destroyed before you die?
  9. Offline

    defthefirst

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I tried leather / iron helmet / goldboots
    And not destroyed... or by the pluging ? they just dissapear, no trace, all other item are recovered.
    I first edited the src to add golden apple consummation, i though it was that, but there i re-tryed with original .jar, i'm removing all my pluging and roll back to 766 to test, I come back :D.
  10. Offline

    defthefirst

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I removed all plugings, CB to 766
    And yes its the 1.2.0 from you .zip, i'm a begginer in java and bukkit :D, does .setArmorContents(restoration.armour); Work ?
    And what's this ? slot ? i'm tryind to understand your pluging !
    public static final int ARMOUR_MODULUS = 4;
    public static final int ARMOUR_HEAD = 2;
    public static final int ARMOUR_CHEST = 3;
    public static final int ARMOUR_LEGS = 0;
    public static final int ARMOUR_FEET = 1;
    My server.log from the last test.
    Code:
    2011-05-14 23:24:23 [INFO] Starting minecraft server version Beta 1.5_02
    2011-05-14 23:24:23 [INFO] Loading properties
    2011-05-14 23:24:23 [INFO] Starting Minecraft server on *:25565
    2011-05-14 23:24:23 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-729-g5ee3f0f-b766jnks (MC: 1.5_02)
    2011-05-14 23:24:23 [INFO] Preparing level "minekahest"
    2011-05-14 23:24:23 [INFO] Preparing start region
    2011-05-14 23:24:23 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-05-14 23:24:23 [INFO] [Permissions] version [2.7] (Phoenix)  loaded
    2011-05-14 23:24:23 [INFO] [Scavenger] Started
    2011-05-14 23:24:23 [INFO] [Scavenger] Attached to Permissions
    2011-05-14 23:24:23 [INFO] Done (0,054s)! For help, type "help" or "?"
    2011-05-14 23:24:28 [INFO] Likaos [/127.0.0.1:58222] logged in with entity id 138
    2011-05-14 23:24:48 [INFO] Likaos lost connection: disconnect.quitting
    2011-05-14 23:24:48 [INFO] Connection reset
    Still no boots, all equiped armor is lost, i'm OP with the * node in permissions, any idea ?
  11. Offline

    SirHedgehog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yes. I just put diamondboots on and killed myself. The boots were restored so I don't know what's happening, sorry.



    That is code from 1.1.0 which I haven't removed yet.
  12. Offline

    defthefirst

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ok ... found it, if you /kill you loose your armor.
    all the other kind of death works.
  13. Offline

    SirHedgehog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yeah I should have mentioned, /kill uses setHealth(0) which does not fire any Bukkit events. It's a Bukkit bug, not a Scavenger bug.
  14. Offline

    edenbenedic

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    SORRY THANK IT DIDENT work sorry bout the caps it was on and i am not retypeing
    good job with the plugin tho i got it to work aftrer a while
  15. Offline

    SirHedgehog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I put in a bug report for this and it has been promptly fixed. This should fix /kill with the next recommended build.
  16. Offline

    Fokson

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is it possible to NOT display that [Scavenger] message every time you die? That's my only suggestion for now. =)
  17. Offline

    MG127

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    would it be possible to recover items only on pvp kill and a normal death the items drop normal (suffocate,fall,mob,explosion,burn,lava,...)?
    would be good with seperate permission-node to keep a complete nodrop for all mods/admins
    selfkill should be excluded from pvp
    for example: .pvp .pve .self .all
  18. Offline

    Henhouse

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I downloaded this plugin hoping I'd be able to save myself and items since I died due to the stupid "/k" command being awfully close to "/j" and killed myself. Well, this plugin works well but if you're already dead when you install it, or die by that command it doesn't seem to be able to save you from that. :(
  19. Offline

    dak393

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    If you want golden apple consumption there is a plugin for that called GoldenRevive
    I love this plugin BTW thanks again for keeping it alive :)
  20. Offline

    defthefirst

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It's ok i want scavenger with goldenapple (and i did it), not goldenrevive :D.
    I just want it act like a "ZEM" in the mmo "hellbreath", its like a guardian for pvp, no loots.
    Other thing
    With bukkit 790... some problems, my players "die" randomly, its like a /kill, instant death and... i saw the bukkit #785
    Bukkit issue or scavenger ?
  21. Offline

    Ne0nx3r0

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @SirHedgehog I noticed iConomy (presumably) support in the coming soon section; are you still working on this?

    If not that's cool, but I'd really like to charge a set amount (or percentage) on death for players. If you're not interested in pursuing this I suppose I could rig up something that stacks on top of this plugin.

    Also, you might consider adding the ability to disable/configure the death messages in future releases. Just a thought

    Great job so far btw; works great!
  22. Offline

    Cookies326

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Can you make it configurable with a percentage of getting back?
  23. Offline

    SirHedgehog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hi folks, I am on holiday at the moment until the 15th June. I'll be around but not making frequent updates other than critical fixes. When I get back I will look through this thread and add the new features.
  24. Offline

    Cvisser

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This Plugin is not workin... I get the same error every time I die in game. "Error: Found an existing set of items for you when trying to save your current items"

    Idk What to do. Please help me
  25. Offline

    SirHedgehog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    That error means that you have a previous restore that wasn't applied and then died again. Could you please tell me your Bukkit build and whether logging out and in again fixes it? If it's reproducible under certain circumstances, please let me know those as well.
  26. Offline

    Steelstiletto

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I really like this mod, but I'm looking forward to the update that let's you select which items are kept. I would like the admin group able to keep everything, but normal players on my server to only keep tools and armor.
  27. Offline

    Noffletoff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey, I know how to repeat this error. It has happened to me a few times. When you die and get healed at the time time, it seems the game thinks you have died, but you go gain health back. So scavenger takes your items, but doesn't give them back. when you die again, you get your empty inventory back, So you lose your items.

    At least that's how I see it. :)
  28. Offline

    Ne0nx3r0

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @SirHedgehog Just a note, it seems there is a glitch with maps giving the wrong map back... Not sure how maps work exactly, but it seemed worth mentioning :).
  29. Offline

    SirHedgehog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This will need a bug report filed then, with Bukkit.
  30. Offline

    SirHedgehog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sorry, I don't quite understand?
  31. Offline

    SirHedgehog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Just to repeat, I am on holiday/vacation until 15th June. I'll pick up the changes when I get back.
  32. Offline

    SirHedgehog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Can someone confirm that this still works in 818? Thanks

Share This Page