This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What is the enhancement in mind? How should it look and feel?
This is added in the dev code now. To use quantities and glowing icons in-game:
# 10 blue dye (lapis), glowing /sms add mymenu "Label" "/command" -icon ink_sack:blue,10,glow
Base syntax is <material> or <material:data>. Data can be a Bukkit DyeColor name for colourable materials like dyes, wool, stained glass etc. or it can be a number 0-255.
Then you can add (separated by commas) a numeric quantity, or the word "glow" for the enchantment effect. Not all items will show a glow effect - client-side limitation.
To do this via the API, I've added a withIcon(ItemStack) method (in addition to the existing withIcon(MaterialData) method) to the SMSMenuItem.Builder class. So you can pass an ItemStack with the quantity you want. And there's a new withGlow(boolean) method to add items with the glow effect.
withIcon(ItemStack)
withIcon(MaterialData)
withGlow(boolean)
To post a comment, please login or register a new account.