Custom Items
Custom Items
Custom items are defined in the configuration, and then you can add that custom item to a Shop Sign like you would any other item.
Quote:ZBuy
Enchanted
HealingPotion
180
To create a new custom item, add something like this to the config, under the SignCustomItems section.
Sign Custom Items: Enchanted HealingPotion: type: 373 amount: 1 damage value: 8229 id: 0 enchantments: - 1 1 - 5 3
Note: the 'enchantments' file is a list. The first number is the enchantment id, the second number is the enchantment level. See the ids of all enchantments here.
Can you explain the 'damage value' and the 'id'? I assume the damage value is the sub type, but when I made a new one for a regeneration potion I could never get it to work. I also tried making enchanted diamond swords, but the same problem, the sign creation always failed. I used signshop in the end to get the custom items out but I did try giving your format a go.
I tried this directly under the default Healing Potion.. which does work
Regen Potion: type: 373 amount: 1 damage value: 8193 id: 0
This does not work no matter what I try. Its frustrating to have to use sign shop to deal custom items to players in game :S There is either a bug, or a trick to this that is not explained.