Closed RUYSUE closed 3 months ago
In general when item doesn't have set custom name then we will be using items material name which could be translated into your local language, aka client just uses your locally set language settings automatically and adjust default item name accordingly. If item contains custom name, then it will show it as it is without translating it. If both hover outputs match what you see when you hover over items in your inventory, then there isn't much to do about it as it works in a way it should.
In general when item doesn't have set custom name then we will be using items material name which could be translated into your local language, aka client just uses your locally set language settings automatically and adjust default item name accordingly. If item contains custom name, then it will show it as it is without translating it. If both hover outputs match what you see when you hover over items in your inventory, then there isn't much to do about it as it works in a way it should.
but i wonder if it could be like this: (item displayed by TrChat)
when i type "[item]" and send, displayed item with custom name shows its name (not the name defined in CMILib) in chat box, rather than only hovering will show its information. like:
usually, players may want this to show:
not only hovering on the message will show detail information, but "[item]" itself in chat box also converts to item's custom name
That [item] is intentionally showing items material name to avoid people bragging about possessing item which doesn't match reality.
That said, you can go to locale file and simply modify appropriate line. Chat.item and change it to something like
item: '&7[%cmi_iteminhand_displayname%[amount]&7]'
which will show items display name and not the real one, aka material name.
That [item] is intentionally showing items material name to avoid people bragging about possessing item which doesn't match reality. That said, you can go to locale file and simply modify appropriate line. Chat.item and change it to something like
item: '&7[%cmi_iteminhand_displayname%[amount]&7]'
which will show items display name and not the real one, aka material name.
OK. I've solved this, thanks.
without custom name
with custom name
normally it has no influence, but i gonna add oraxen and create some custom items & blocks, this will totally break it when i expect to show its name by oraxen.
i wonder if it's possible to change this feature to show item's custom name rather than name by CMIlib.