Block Specific Item Drops From Inventory

Discussion in 'Archived: Plugin Requests' started by Nick Hooper, Dec 12, 2012.

  1. Offline

    Nick Hooper

    Plugin category: Mechanic Altering, RPG

    BOE(Bind on Equip) BOP (Bind on Pickup)

    What I want: I am looking for a plugin that may or may not already exist. I would like a plugin to block specific items from dropping out of a players inventory. Items would be blocked by name.

    For example:


    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions:
    Block: nodrop.candropblock.grass
    Item with Different name: nodrop.candropitem.diamond_sword.TheDerkaSword

    So a player could drop a regular diamond sword, but not a diamond sword with the exact string name "&5TheDerkaSword" color included.


    When I'd like it by: Two days before the day after tomorrow.

    EDIT: Another cool idea:

    Players can only have one of a certain item so they cant pickup or "takeout of a chest/inventory square" if they already have it. This would also go by the name string.
     
  2. Offline

    app1egenius93

    Sounds doable but not sure about the color tag part. I know (off the top of my head) how to do some of what your asking already but would have to check on others.

    I can take a crack at it if you'd like but it may take me a bit (I can do it in parts so as part of it works I submit it and just add each of what you asked and resubmit) I'm in college so sometimes time is a problem.
     
  3. Offline

    Nick Hooper

    I've tested the color tag name with Shopkeepers and i don't know for sure if it is a feature of this plugin but it does different between colors.

    I made a shop that requires nether stars.
    I've renamed the star in the shop to "&eNether Star" which appears as yellow.
    Then i tried to pay with "&fNether Star" which appears as white. The product shows up, but it wont let you take it.

    Basically when a player tries to take an item out of his inventory the server will check the name and compare it to a blacklist and block it from moving if it is.
     

Share This Page