Auto Pickup Plugin

Discussion in 'Plugin Help/Development/Requests' started by lumilite16, Sep 3, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    lumilite16

    Hi I'm looking for and auto pickup plugin that automatically puts anything the player mines into their inventory. I run a prison server and it would greatly help to reduce lag! The ones that i have seen so far either don't work with fortune or don't work with world guard. I would like a plugin that does both of those things. If any one can help that would be great! It doesn't have to be done by a specific time so take your time!

    thank you!

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

    Jaaakee224

    lumilite16
    Ugh. Did you even Google before? Because I found some working plugins that work with enchants.
     
  3. Offline

    lumilite16

    i have all the ones that i have found don't work the best
     
  4. Offline

    DotDash

    Please explain how they "don't work the best"
     
  5. Offline

    lumilite16

    The ones I've found either don't always get all the blocks or don't work with fortune or don't work with world guard and players are then able to destroy protected areas with it
     
  6. Offline

    lumilite16

    is any one working on this? Please let me know if you are
     
  7. Offline

    MrEditor97

    I can be working on this once I have finished my current plugin which shouldn't be too long.

    This shouldn't take too long to code. So you want everything that is supposed to drop onto the floor goes straight into your inventory, and when your inventory of full. You can't mine anymore? Or you can but it drops it on the floor?
     
  8. Offline

    lumilite16

    it will tell you that your inventory is full
     
  9. Offline

    lumilite16

    is anyone working on this? If so please comment
     
  10. Offline

    MnMaxon

  11. Offline

    RingOfStorms

    I'm fairly sure your plugin isn't going to work when it comes to blocks like crops, any future changes to fortune (should use the nms hooks rather than your own random generator), chests, furnaces, other inventory blocks, entities (killing mobs or chest minecarts), boats being broken, player heads, or silk touch. There may be a few more I missed, but that is the lot of missing functionality in your plugin.

    You might want to add all of those in order to make this plugin properly and not have upset players.
     
    MnMaxon likes this.
  12. Offline

    MnMaxon

    lumilite16 don't use my plugin right now, RingOfStorms pointed out some major bugs.

    RingOfStorms, I have only used NMS a few times, and that was mostly copied code. I have no idea how I would implement an NMS hook here. I'll try to find information about it tomorrow (it's really late now). Do you have any suggestions on how to do this?

    lumilite16
    http://dev.bukkit.org/bukkit-plugins/autopickup/

    I fixed:
    You can now get exp, breaking chests won't spawn items anymore, added silk touch support, breaking wheat will now also drop seeds (along with wheat).

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 10, 2016
  13. Offline

    lumilite16

    i tried it and it seems to be somewhat working. It only works when no one else is around you and doesn't seem to work with fortune
     
  14. Offline

    MnMaxon

    I'm really sorry about that. I updated my code to look nicer and forgot to test it.
    I fixed it: http://dev.bukkit.org/bukkit-plugins/autopickup/
     
  15. Offline

    PapiDimmi

    I is always capital, my friend.


    By the way, I found this plugin. It's a outdated, though.
     
  16. Offline

    lumilite16

    so it should work now?
     
  17. Offline

    MnMaxon

    Yes
     
    PapiDimmi and lumilite16 like this.
  18. Offline

    lumilite16

    Thanks Seems to be working great! Fortune works and people can mine near eachother! Thanks so much! they only thing fortune works with blocks that it shouldnt like iron ore but that is fine! Great jobb!
     
  19. Offline

    MnMaxon

  20. Offline

    PapiDimmi

    What do you mean by "The only thing Fortune works with blocks that it shouldn't like Iron Ore?" It doesn't make much sense to me.

    By the way, I fixed the grammatical errors for you.
     
  21. Offline

    lumilite16

    You just have to be one of those kinds of people, don't you?
     
  22. Offline

    PapiDimmi

    I know, I know, I suck because I like to correct other people's mistakes so they can learn and type correctly the next time. I am so sorry, madame.

    Now, would you answer my question, or would you not?
     
  23. PapiDimmi You were told by an administrator not to do that. Yet still you do. It's pretty unlikely that people are typing like that because they don't know any better, it's more likely that they are typing like that because they want to. Even if they didn't know, you correcting them would effectively be spoon-feeding which is not a good way to teach. If you truly believe that you are likely to change their habits by correcting them, you are nothing short of a fool. Cut it out.
     
    mrCookieSlime likes this.
  24. Offline

    PapiDimmi

    AdamQpzm Alright, I do apologise. I did not think that people would dislike me correcting other people's grammar that much. I guess I'll stop, then.
     
  25. Offline

    Inkzzz

    Hey,

    Can you make it so when you mine it auto blocks?

    For example, I have a OP Prisons and when I mine emeralds it auto inv's but doesn't auto block. I was wondering if you can add this for ores such as,
    Emerald Ore, Diamond ore, Quartz ore ect. I would love this addition!
     
  26. Offline

    MnMaxon

    I'm sorry, but I don't know what 'auto blocks' means (I don't play on prison servers). If you could explain it to me, I'll try to add it.
     
  27. Offline

    Inkzzz

    Once you have 9 emeralds after mining it turns into a emerald block.

    So you mine emerald ore blocks then it turns into gems normally, can you make it turn from 9 gems to 1 block automatically? without having to use a command.
     
  28. Offline

    MnMaxon

    Inkzzz
    I've added your suggestion, and I've uploaded it to BukkitDev: http://dev.bukkit.org/bukkit-plugins/autopickup/files/1-auto-pickup-1-1/

    By default autoblocking is off in the config. To turn it on, you'll have to run the plugin and change it to autoblock: true in the config. Then you can reload the config with /autopickup



    Here's the full changelog:

    First release on BukkitDev

    Fixed tools not breaking

    Added OtherDrops support (This is still in development)

    Added AutoSmelt (In Config)

    Added AutoBlock (In Config)
     
  29. Offline

    lumilite16

    hey i was wondering if you could make the plugin work with autosmelt? If you can't that's fine. Just wondering!
     
  30. Offline

    MnMaxon

    lumilite16
    Auto smelt should be in the latest version (my last post)
     
Thread Status:
Not open for further replies.

Share This Page