Inactive [RPG/FUN] Thieves 1.2.4 - Steal items from other players [1.2.5-R1.0]

Discussion in 'Inactive/Unsupported Plugins' started by Snaipe, Jan 27, 2012.

  1. Offline

    Syd

    Shouldn't be so hard so add this check.^^
    You`ll still see the hotbar slots, but a steal attempt will be cancelled.
    I reuploaded a version, where it should work. (untested, through)

    PS: It's good to know that Freelancer is not forgotten. :)

    Sorry for doublepost, but it's important.

    Everyone who downloaded my updated version before 0:30 CET should redownload is as fast as possible.
    We found and closed a Item dupe bug.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
  2. Offline

    filszyp

    Thank you! I'll update today.
     
  3. Offline

    Kainzo

    Wanna figure out a way to not use onMove to check for players around the area? :)
     
  4. Offline

    Snaipe

    Sorry, I had some troubles with my computer lately, but anyways.

    I updated the plugin, and discarded Spout dependency. So, here it is, version 1.2.2 :


    I'd like to also thank Syd for updating the plugin while I was off ;)

    I'm curious on how I could do that. I mean, since the thief can be detected by anyone, I though the PlayerMoveEvent would be quite appropriate. Not only I use it to detect if the target goes away, I use it to detect if anyone ( including the target ) has the thief in their line of sight while he's stealing, triggering a stun.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
  5. Offline

    Syd

    @Snaipe
    Thank you for the update. :)

    There are still 2 bugs in there.
    1.
    When I steal a Tool with a certain amount of damage, the tool will be repaired and indestructible.
    The problem seems to be the ItemStack constructor.
    I resolved it with
    Code:
    cursor.setDurability(item.getDurability());
    2.
    When I steal a enchanted tool, the enchantment will be lost.
    Again it seems to be the ItemStack constructor, and again I resolved it with:
    Code:
    cursor.addEnchantments(item.getEnchantments());
     
  6. Offline

    KyleBoyer

    Does not work for me on the latest bukkit. I also get some errors...

    20:09:53 [WARNING] [Thieves] Could not write ressource from /items.yml at /Users/Kyle/Desktop/Minecraft Server/Public Server/plugins/Thieves/items.yml

    However I cannot use it. I have all the correct permissions.
     
  7. Offline

    Snaipe

    Syd Oops, forgot about that. Should be fixed in 1.2.3.

    KyleBoyer I solved that error in 1.2.3.
    The plugin should work fine. Could you please paste your config.yml into pastebin and post the link here ? The only two things that prevent you from stealing is either not having the thieves.steal permission ( or/and the target having the thieves.protect permission ) or not specifying the world in the configuration.
     
  8. Offline

    KyleBoyer

    10:11 PM [SEVERE] Could not pass event PlayerInteractEntityEvent to Thieves
    10:11 PM [SEVERE] Could not pass event PlayerMoveEvent to Thieves
    10:11 PM [SEVERE] Could not pass event PlayerInteractEntityEvent to Thieves
    10:11 PM [SEVERE] Could not pass event PlayerMoveEvent to Thieves
    10:11 PM [SEVERE] Could not pass event PlayerMoveEvent to Thieves
    10:11 PM [SEVERE] Could not pass event PlayerInteractEntityEvent to Thieves
    10:11 PM [SEVERE] Could not pass event PlayerMoveEvent to Thieves
    10:11 PM [SEVERE] Could not pass event PlayerInteractEntityEvent to Thieves
     
  9. Offline

    Snaipe

    KyleBoyer could you please post your full log ? There should be a stacktrace after each of these messages...

    Also, please use pastebin to post your logs.
     
  10. Offline

    KyleBoyer

  11. Offline

    Snaipe

    KyleBoyer May I also ask how you installed the plugin ? The plugin does not support the /reload function ( which means you have to completely stop and start your server again, or restart it with a wrapper. )
     
  12. Offline

    KyleBoyer

    That may help. Could you have it support the reload function?
     
  13. Offline

    Snaipe

    I could try, but I cannot assure that it will work perfectly. The reload command is a bad idea and generates more problems over time. I really advise you to use a wrapper to restart your server instead ( RemoteToolkit for example ), as it takes the same amount of time as a reload, and empties correctly the memory. See this for more details.
     
  14. Offline

    Elements11997

    could you perhaps integrate stealing money? thanks.
     
  15. Offline

    Snaipe

    Elements11997 Well, considering the fact that the plugin opens the target's inventory, I hardly see how I could integrate that ! Unless the money is represented as an item, that is. I'll try to figure that out, but if you have any ideas, tell me.
     
  16. Offline

    lukeyboiz

    Could you perhaps make a immune list so that everybody on that list cant get stolen from, such as admins and donators ? Thanks.
     
  17. Offline

    Snaipe

    lukeyboiz simply give them the thieves.protected permission.
     
  18. Offline

    Elements11997

    well maybe you can type in a command like /steal money which steals their money instead of opening their inventory
     
  19. Offline

    lukeyboiz

    Cheers Snaipe, fast reply :)
     
  20. Offline

    Snaipe

    Well, I don't think users will appreciate to type in a command every time they want to steal someone... Time is an asset when you want to steal an other player, and typing in the chat is quite inefficient. The target would spot you or leave the area soon enough.
     
  21. Offline

    Elements11997

    right, I was hoping you could toggle it back and forth, like /steal item would always make you open their inventory, and /steal money would always make you steal their money
     
  22. Offline

    filszyp

  23. Offline

    lloyd menzies

    Hello, after performing a reload command on my server the below spammed my console causing me to unload the plugin and completely disable it until fixed.


     
  24. Offline

    Elements11997

  25. Offline

    vax35

    Hi !

    Great Plugin ! Very nice for a RP server.

    But can you add a command to see our level ? and our exp ?

    Please :)
     
  26. Offline

    Snaipe

    lloyd menzies
    The reload command is not supported atm, restart your server instead with a wrapper, it's much, much cleaner than that.

    Elements11997 I think I figured out a way, I'll give it a go - but I cannot guarantee it'll work.

    vax35 yes, of course :]
     
  27. Offline

    vax35

    Very nice :)
     
  28. Offline

    eek98azn

    Hey im new to bukkit and I was wondering how to use this. I have it installed but im not sure how to use the permission for this. At permissionsBukkit for config do i just add thieves.steal : true under a user? Please help me and thanks!
     
  29. Offline

    Snaipe

    eek98azn yes, that's the right way.
     
  30. Offline

    eek98azn

    so should it look like this

    eek98azn:
    permissions:
    thieves.steal : true
    groups:
    - admin
    because if it is, its still not working ._.
     

Share This Page