Bound Items/Blocks

Discussion in 'Archived: Plugin Requests' started by TheMeq, Apr 8, 2014.

  1. Offline

    TheMeq

    Hello, TheMeq here!

    Is there any possibility of having a bound system. Say for example, I (as an operator) wanted to give Player_A a diamond sword, but only he could use it, if anyone else tried to use it, it wouldn't work or do anything, would it be possible?

    We plan on giving these items away for voting, but we don't want them to get the item for them to then sell them on or give them to someone else.

    I'm not sure if it's possible as an enchant?

    Let me know if you want any more information! Thanks

    TheMeq

    Sorry for the double, but ignore the blocks in the title, realised after I hit post I forgot to take it off.

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

    hjquarter

    Mybee, i can make plugin that gives player an item, and item is destroyed at the moment it leaves player (on death, on drop...).
     
  3. Offline

    TheMeq

    I would still like them to be able to store it.
     
  4. Offline

    Codisimus

    it is very hard to track items through Bukkit, you will proly have to store some sort of player information in the lore
     
  5. Offline

    TheMeq

    I don't have a problem with it using MySQL databases.
     
  6. Offline

    hjquarter

    Yeah, actually i was thinking about some random ID set to an item given to player, witch should be stored in configuration file. And every time player die, plugin check if any of items have ID and deny the drop.
     
  7. Offline

    Onlineids

    I use lore to keep track of items like custom enchants put Poison I as the lore and on attack check for that ect.
     
  8. Offline

    hjquarter

    Yeah, that should be the easiest way i guess (or maybe only).
     
  9. Offline

    Onlineids

    My recomendation is setting the lore to Bound to {playername}
    And on interact event if item lore contains bound
    if item does not contain there name cancel the event and remove the item.
     
  10. Offline

    Codisimus

    well you will now have to bind it to their UUID
     
  11. Offline

    Onlineids

    True
     

Share This Page