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.
Mybee, i can make plugin that gives player an item, and item is destroyed at the moment it leaves player (on death, on drop...).
it is very hard to track items through Bukkit, you will proly have to store some sort of player information in the lore
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.
I use lore to keep track of items like custom enchants put Poison I as the lore and on attack check for that ect.
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.