DisplayItem rewrite for 1.13-1.14.4 - (post items in chat) 2.4-alpha

Display your items in chat with full information on hover.

  1. crashdemons
    Native Minecraft Version:
    Tested Minecraft Versions:
    • 1.13
    • 1.14
    Source Code:
    DisplayItem - show items in chat
    This is a complete rewrite of the original DisplayItem by lmbishop/fatpigsarefat. Credit for the idea and past work goes to them. Credit goes to sainttx for NBT and Reflection utilities.

    This new version contains no code from the original plugin, but has a similar configurations with some differences.

    Older permissions and configuration are not compatible with the exception of "itemformat". Use care when setting this plugin up.

    Having trouble? read this first!
    - Permissions
    - Configuration
    - DisplayItem formatting replacement macros

    • Users can post items in chat by typing
      Code (Text):
    • Configurable spam-detection/cooldown similar to the original plugin.
    • Permissions to control who can post items, or colorized item names in chat, or bypass spam-detection.
    • Should not break as much with spigot updates. (Backend relies on spigot chat API now, not NMS)

    Changes compared to DisplayItem 1:

    • The spam detection list is bounded in length. In some previous versions, the list didn't remove offline players, meaning it could grow unbounded.
    • Chat format is not changed by default, it is now formatted by the format passed by the original chat event. This should maintain your existing chat appearance and support nicknames (Display Names) if they are set in Bukkit. You can enable the old behavior by setting overridechatformat: true
    • configuration and permissions naming changes (see above)
    • Uses Spigot API components instead of version-specific NMS code, so it may support new versions more easily.
    • The replacement string is now configurable.
    Known issues:
    • The item name may appear without a hover component if another plugin formats and cancels the chat message after (higher priority) DisplayItem.
    • A message may be filtered as spam if another plugin filters chat before (lower priority) DisplayItem
    • A message may not appear with any item replacement if another plugin formats the message before (lower priority) DisplayItem and does not send an updated version to other plugins.
      The above issues can usually be resolved by configuring priorities carefully for each plugin, or setting overridechatformat as a last resort in the first case.
    Mr3D, Diclo and pocoyo1234457 like this.

Recent Reviews

  1. xXElementalbeast
    Version: 2.4-alpha
    So i have one problem with this plugin im running a faction server and whenever a player does [i] it shows in the chat [{faction_chat_tag_}] and i was wondering how i could get that fixed, heres a picture if you dont understand. https://prnt.sc/p0k0e3
  2. BrianBot
    Version: 2.3.4b
    Works perfectly as expected. Permission is very straight forward, cannot go wrong. Does not slow down my server, would recommend for any survival server. Thanks for bettering my Factions experience!
  3. SAMSTERsan
    Version: 2.3.4b
    I have one problem with plugin. I type "[i]" in to the chat but cant see information message about item. https://ctrlv.cz/Z6L2 I only can see name.
    1. crashdemons
      Author's Response
      This is because another Plugin you have is capturing the event from DisplayItem and displaying its own.
      Try setting sendmodifiedchatevent to false.
  4. CMD_God
    Version: 2.3.4b
    Fantastic Plugin! Tested on 1.14.4, compatible with custom items as well!
    Great job by the developer! Keep up the good work!
  5. Stormeyes
    Version: 2.2.1
    Fantastic plugin , thanks ! Works in 1.14.3 doesn't seem to work in private messages (is it possible to add?)
  6. ArimaTheReaper
    Version: 2.2.1
    seems to be working great! 1.14.4 plugin does exactly what it needs to do and does it pretty well
  7. EdisonLin
    Version: 2.2-alpha1
    I like it. 1.14.3 perfet! very light. sorry my pool English .....................