Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
plugin:showitem:chatplaceholder [2022/02/22 17:40]
phoenix616 Improve placeholder description
plugin:showitem:chatplaceholder [2022/02/22 17:42] (current)
phoenix616 Make variable use inlinecode
Line 2: Line 2:
 {{:plugin:showitem:mpq2uyr.png?nolink|}} {{:plugin:showitem:mpq2uyr.png?nolink|}}
  
-ShowItem includes the ability to show items directly in chat messages by adding a placeholder variable in the message. This placeholder variable can be configured (default is %item% for the main hand and `%item%slot%%` for specific slots e.g. `%itemoffhand%` for the off-hand or `%itemchestplate%` for your chestplate), is case insensitive and has a separate permission node (`showitem.chat` and `showitem.chat.slot`) which is set to true by default.+ShowItem includes the ability to show items directly in chat messages by adding a placeholder variable in the message. This placeholder variable can be configured (default is `%item%for the main hand and `%item%slot%%` for specific slots e.g. `%itemoffhand%` for the off-hand or `%itemchestplate%` for your chestplate), is case insensitive and has a separate permission node (`showitem.chat` and `showitem.chat.slot`) which is set to true by default.
  
 You can also show a message that opens your inventory on click in chat with the `%inv%` or `%inventory%` placeholders (`showitem.chat.inv`) or your enderchest with `%ender%` or `%enderchest%`. (`showitem.chat.ender`). You can also show a message that opens your inventory on click in chat with the `%inv%` or `%inventory%` placeholders (`showitem.chat.inv`) or your enderchest with `%ender%` or `%enderchest%`. (`showitem.chat.ender`).