Hey, I would like a plugin to give items enchantment glows but not have an enchantment on the item. Thanks, Buck Im pretty sure its server-side in the item code because I have done it on SP before but I cant work it out :L EDIT by Moderator: merged posts, please use the edit button instead of double posting.
You've done it in Single Player? Single Player is client side, not server side. That enchantment effect is handled client side. Correct me if I'm wrong.
Guys just saying streight up I want to for 1.6.4 I dont like 1.7 and most of the plugins im using havent been updated yet Well im setting up a RP server so I would like ti for wands and other stuff wands = sticks/blazerods I dont want to just use an enchantment because that would be weird...
Hacky solution?? Do you mean like.. making the enchantmentlore invisible? If so, how to do that? How to change en enchantmentlore or add one that looks like an enchantment? I saw a server did it and made it "Undropable I"
Whenever the player isn't in the inventory, give it anything (maybe fortune 1, and then cancel the fortune part) and when they are in the inventory replace the item with a normal one..
I've seen servers do in the fact that they enchant the item with unknown lvl 1 it doesn't do anything but still gets the glow
timtower AndyMcB1 buck_eats_toast N3rdFall Garris0n I will post the code in a few minutes. I just need to commit it to my Bukkit-Libs repo and turn it into a single class. Edit: Here it is link to use it you just do this... AddGlow(ItemStack);
Goblom That seems a bit excessive...I thought it was done like this. Does anybody know if that code still works (packages updated obviously)?
Garris0n His doen't use NBT data, making it work through many versions of Bukkit. He is literally making an enchantment instead of enchanting the item with nothing.
Garris0n The version you posted uses NBT so its Version dependent where as mine does not. What my AddGlow does is create a blank enchantment and apply that enchant to the item stack. Both classes are doing the same thing except one is not version dependent