Anti-Drop

Discussion in 'Archived: Plugin Requests' started by thanasishadow, Sep 4, 2014.

  1. Offline

    thanasishadow

    Does anyone know a plugin that will prevent players from droping a item or to leave it in a chest?
     
  2. Offline

    MrEditor97

    Just in a chest?
    This would be simple to make and doesn't need any configuration? or at most a enabled and disabled configuration.
     
  3. Offline

    thanasishadow

    but ι want to choose the item.
     
  4. Offline

    MrEditor97

    You are wanting to be able to choose an selection of items that you don't want to allow to be removed from a chest? or dropping?

    Do you want Item-ID's or Names?
     
  5. Offline

    thanasishadow

    1)Yes
    2)I want to do this only with some items of RPG Items
     
  6. Offline

    MrEditor97

    Do you want the items to be allowed to move if they haven't got any Metadata? If they do have Metadata, then they can't be moved (Custom Items).
     
  7. Are you trying to block transactions of Items named else than default. Like a torch named "Magic Wand".

    Code:java
    1. if (player.getItemInHand().hasItemMeta() && player.getItemInHand().getItemMeta().hasDisplayName() && player.getItemInHand().getItemMeta().getDisplayName().equals("Magic Wand")) {
    2. //Do stuff
    3. }
     
  8. Offline

    thanasishadow

    I do not know programing/developing
     
  9. but what I asked is what you want?
     
  10. Offline

    MrEditor97

    I think, well from what I understand, that is the case. Which is possible.
     
  11. Offline

    thanasishadow

    yes
     
  12. Offline

    MrEditor97

    Please could you outline everything that you would like in this plugin please?
    It would make it a lot easier to be able to code, and to be able to deliver the right product.
     
  13. Offline

    thanasishadow

    i want a plugin that stop player from droping or leaving on chest a item from the inventory but i want a command to make the item undroped.
     
  14. Offline

    MrEditor97

    So you want to cancel players leaving a chest, if they have a certain item still in there inventory?
    Your asking for a command which blocks the items from being used?
     
  15. Offline

    thanasishadow

    I want something like this to work with RPGitems
     

Share This Page