WolfyScript / CustomCrafting

Spigot based plugin to create your own custom Recipes & Items. Designed to be easy to use with in-game GUI and tons of configuration possibilities.
https://modrinth.com/plugin/customcrafting
GNU General Public License v3.0
114 stars 36 forks source link

Item Editor - Cannot create non-italic item names #272

Closed fireheart3911 closed 1 year ago

fireheart3911 commented 1 year ago

What happened?

There is currently no way to change item names to not be italic.

How can the bug be reproduced?

  1. Get any item
  2. Try to rename it in a way that the name is not italic. Here is the stuff i tried:
    </i><#008888>Item Name
    <i></i><#008888>Item Name
    <reset><#008888>Item Name
    /wui <#008888>Item Name
  3. The item is renamed italic either way

Expected Behaviour?

You should be able to rename an item to not be italic

Plugin version

CustomCrafting 4.16.6.4, WolfyUtilities 4.16.10.2

Server software

Paper 1.19.4

Relevant log output

No relevant log

Submit issue

WolfyScript commented 1 year ago

Adventure provides an option to invert the italic tag. https://docs.advntr.dev/minimessage/format.html#decoration

But there is different behaviour between Spigot and Paper here.

On Spigot servers, you need to use a colour tag to make it non-italic. So e.g. <#008888>Item Name will make it non-italic. However, <!i>, etc. do not work on Spigot servers.

On Paper servers, you need to use either <!i>, <!italic>, <!em>, <i:false>. So e.g. <!i><#008888>Item Name will make it non-italic. However, just using the colour tag, like on Spigot servers, won't work.

fireheart3911 commented 1 year ago

Interesting. I did not see that in the wiki, thanks!