Defined No Drops

Discussion in 'Archived: Plugin Requests' started by Clancy, Oct 10, 2014.

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

    Clancy

    Name: DNP (Defined No Drops)

    Explanation: I have looked everywhere and have not found a plug-in that makes it so you can define what you DONT want dropped. I need a plugin that makes a config so you can say item ID blabla can't be dropped. Any block/item NOT in the config CAN be dropped. And yes - I would use the Soul Bound plugin... But it only soul binds an item if you pick it up. Not if the console gives you it. For example: If the console gives you a dirt block that should be soul bound, it doesn't get soul bound until you throw it and pick it back up again.


    Example: You buy 1 diamond. Diamonds are not allowed to be dropped because the item id is in the config. You buy a gold ingot. Gold Ingots are allowed to be dropped because the item id is not in the config.


    Example config:

    ---

    Non-Drops:
    - 17
    - 7

    ---
    Having 17 (log) and 7 (bedrock) entered makes it so you can not drop those items.


    Commands: None


    Permisisons: dnp.ignore (You can drop any item. This permission makes the plugin ignore you)



    Let me know! Thanks everyone!
    -Clancy
     
  2. Online

    timtower Administrator Administrator Moderator

    Clancy I will make this for you, got nothing to do anyways. How about death drops?
     
  3. Offline

    Clancy

    Thanks, and I apologize for being an ass.
     
  4. Online

    timtower Administrator Administrator Moderator

    No harm done, can't say that I am never an ass to people.
    You will have to wait a couple of hours though ( 1-2 hours probably )
     
  5. Offline

    Clancy

    timtower Haha... It's fine. I don't mind waiting a little
     
    timtower likes this.
  6. Online

    timtower Administrator Administrator Moderator

    Clancy Added it to MiniLikeMe ( link in signature )
    MiniLikeMe contains a readme and a plugins file to help you configure. You need the NoConfigDrop part. That also contains a config, that is where you want to define your list.
     
  7. Offline

    alexlab963

    timtower can you make it show there is a command to add items in thes list and god items support
    ex i have a d sword with lifesteal i dont ant to people to drop it if it has lifesteal but if it is normal d sword normal players can drop it
     
  8. Online

    timtower Administrator Administrator Moderator

    alexlab963 Try to use full words. I don't really understand what you are trying to say this way.
     
  9. Offline

    Clancy

    I've looked around... I can't find it... Can you be more specific? I'm sorry!
     
  10. Online

    timtower Administrator Administrator Moderator

  11. Offline

    Clancy

    Okay I found it downloaded it and read everything. I have enabled the plugin I want and got the config just as everything should be. Now here is the question...... I added stained clay but... But you can still drop it? Here is what the config looks like: (The ""' makes it so you can see where it starts and ends) Also, can you use item numbers or does it have to be the name? I went to the link to find the names... It's just so messy on that website... Could you give me another?

    ""

    # Use material names for the list, names can be found here: http://jd.bukkit.org/rb/doxygen/d6/d0e/enumorg_1_1bukkit_1_1Material.html
    NoDrops: STAINED_CLAY

    ""
     
  12. Online

    timtower Administrator Administrator Moderator

  13. Offline

    SuperBoy1097

    i requested for this plugin called nospecificdrops and no one answered but someone made this request and thanks for helping tim tower :D

    I need help I can still drop items and this is my config for the NoConfigDrop http://pastebin.com/cmQLC22N and the NoConfigDrop folder is inside the Minelikeme should i put it on plugins? or naw

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 14, 2016
    timtower likes this.
  14. Online

    timtower Administrator Administrator Moderator

    SuperBoy1097 It won't work with item ID's. See the comment on top of the config.
    And the config generates where it should be and stay.
     
  15. Offline

    alexlab963

    @timtower can you make it show there is a command to add items in the list and god items support
    example i have a diamond sword with lifesteal i dont want to people to drop it if it has lifesteal but if it is normal diamond sword normal players can drop it
     
  16. Online

    timtower Administrator Administrator Moderator

    alexlab963 I won't add a command, I won't add named item support.
     
  17. Offline

    alexlab963

    timtower thanks so much dude you are always so helpfull and you have never disapponted me
    *Because you will say that the creator of the post didnt asked somethinkg like that i think you could make it for me since you already have the basic code done
     
  18. Online

    timtower Administrator Administrator Moderator

    The code that you want and the code that the OP has are very different.
     
  19. Offline

    alexlab963

    close enought i should have told you to make another one for me like it is an other post
     
  20. Online

    timtower Administrator Administrator Moderator

    alexlab963 Just make a request on this forum. Then see what will happen
     
  21. Offline

    alexlab963

    I have made a request like this 2 times already the first had no replies
     
  22. Online

    timtower Administrator Administrator Moderator

    alexlab963 Then bump the request after 24 hours.
     
  23. Offline

    SuperBoy1097

    oh ok thanks
     
  24. Offline

    Clancy

    timtower Okay I am working on it... For now, can you give me an example config making it so you can not throw dirt? It'll just help me out. Thanks!

    Here is my config:

    # Use material names for the list, names can be found here: http://jd.bukkit.org/rb/doxygen/d6/d0e/enumorg_1_1bukkit_1_1Material.html
    NoDrops: STAINED_CLAY

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 14, 2016
  25. Online

    timtower Administrator Administrator Moderator

    Clancy NoDrops is a list, not a single item. Use this instead:
    Code:
    # Use material names for the list, names can be found here: [URL]http://jd.bukkit.org/rb/doxygen/d6/d0e/enumorg_1_1bukkit_1_1Material.html[/URL]
    NoDrops:
    - STAINED_CLAY
     
  26. Offline

    Clancy

    Okay I'll try it, thanks!
     
  27. Online

    timtower Administrator Administrator Moderator

Thread Status:
Not open for further replies.

Share This Page