Getting the Dropper of an Item

Discussion in 'Plugin Development' started by htmlman1, Aug 18, 2014.

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

    htmlman1

    Say for instance a player drops an ItemStack. How do you get who dropped the item? Is this possible?
     
  2. Offline

    Forseth11

    Log each item dropped in a hashmap and store the player's name or uuid. If you need to you can save it to a config if necessary.
     
  3. Offline

    Dubehh

  4. Offline

    htmlman1

  5. Offline

    Dubehh

    htmlman1
    Sorry :p I thought you meant when a player drops an item.
    Excuse me :p
     
  6. Offline

    htmlman1

    No prob. Anyway, any idea how to do it? I have figured something out but it would be fairly inefficient so I'd appreciate help.
     
  7. Offline

    Lactem

    Just do what Forseth11 said.
     
Thread Status:
Not open for further replies.

Share This Page