• This update adds the ViewEnderchestEvent to the plugin's API which is called when a player clicks on the message/placeholder in chat to view the shown enderchest. This allows plugins that add custom enderchests (like multiple pages) to show their custom content instead of the vanilla chest content.
  • Fixes that the new 1.20.6/1.21 item_name item component value of an item wasn't displayed in the message when showing an item
  • Fixes some compatibility issues with very old server versions (namely 1.8.8)
  • Improves the detection for which version should be used for the internal adapater
  • Adds a new config option nms-adapter-version with which the internal version can be specified. (Defaults to "auto") This should never really be needed to get changed unless the plugin can't automatically detect it and prints an error on startup mentioning it.
  • This update adds integration with PlaceholderAPI. You can now use PAPI Placeholders inside all messages of ShowItem itself as well as use placeholders of ShowItem in other plugins.
    Please note that ShowItem placeholders will only work in messages in the chat, not in other places like titls or lores! (At least for now.)
    The new available placeholders are as follows:
    • showitem_item, showitem_item_mainhand - Shows the item in the hand of the player
    • showitem_item_<mainhand|offhand|helmet|chest|leggings|boots> - Shows a specific named slot of the player
    • showitem_item_<slot> - Shows a specific slot number (similar to /showslot) of the player
    • showitem_item_<slot>_<playername> - Shows the item of a specific other player in the named or numbered slot
    • showitem_inv - Shows the inventory of the player
    • showitem_inv_<playername> - Shows the inventory of another player
    • showitem_ender - Shows the enderchest of the player
    • showitem_ender_<playername> - Shows the enderchest of another player
    Placeholders are also documented here in the wiki: https://wiki.phoenix616.dev/plugin/showitem/placeholderapi
  • Item icons in the messages are now disabled by default until the resource pack required to use them was updated. (If you want to use it on old versions or have updated the pack on your own just set texticon-rp: true in the config. (Existing installations are not affected by that)
  • Fix some issues with the backwards compatibility which were broken due to the 1.20.6/1.21 update (namely item data like lore not showing when hovering over an item in chat)
  • Add better error handling and improve error messages for the chat handler. This means that error messages are more correct and include more useful information in some error cases.
  • Added support for 1.20.6 and 1.21 servers
  • Fixes placeholders not being replaced in certain cases
  • Fixes a possible NPE with certain chat messages
Back
Top Bottom