ChatItemDisplay icon

ChatItemDisplay -----

Display items, Inventories, and More In Chat



Version 1.5.0 Release (I spent a bit of time on this)
First off, I wanted to thank you all for getting me to 1,000 downloads. That's pretty epic. And while we're on the topic of epic things, I have a discord. If you want to get a hold of me, this is your best bet, as I usually check it at least daily. You can join the discord if you want to; suggest new features, report bugs, or just chat. Now onto the update:

  • Better Bungee Support
How many times have you heard that one now? Well, this time I tested it with more bungee chat forwarders such as PwnChat and VentureChat and have fixed the "cidPlayer"s.
  • Display Inventories and Ender Chests
That's right you can now display your inventories and Ender Chests in chat like the items. And like the items, you can change the triggers for them, by default you can use [inv] and [inventory] to display your inventory, and [ec] and [enderchest] to display your ender chests. These are just a couple of them.


  • ChatItemDisplay is now universal
Meaning, ChatItemDisplayBungee is no longer needed. Just put ChatItemDisplay in there too. You will have to do this the first time as I had not added an auto-updater on there. But it'll be on this version, so you won't have to download it again. Like the Spigot version, it will be download after you restart the proxy, and will be enabled when you enable it after that.

  • Hex Color Support
You can now use hex colors in your messages (kinda). There's a problem where you can't put hex colors in TextComponents, and they will just convert to a regular chat color that they are closest to. Simplified, Hex Colors will not work for any of the messages in the display-messages category of the config file.
  • Play Music Discs
You can now click on music discs to play them.
  • More command Aliases
I added some more command aliases for the follow commands
/viewitem: [viewdisplay,viewinv,viewinventory,viewec,viewenderchest,displayview]
/displayitem: [display]
/displayinventory: [displaying]
/displayenderchest: [displayec, displayendchest]

  • Better Item Displaying for Servers below 1.16
Hovering over the text now uses the "SHOW_ITEM" action as opposed to the "SHOW_TEXT." Before all of the text was added manually so now it takes the data from the item, amount, and nbt data.

  • New config
To have these new messages, I had to change the config. That means you'll have to add the new options manually, or delete your current config and let it create itself again when you do /chatitemreload or restart/reload the server. Below is the default config.
Code (YAML):
debug-mode : false #Can possibly determine why players arent able to display-items. Will send console messages.

disable-update-checking
: false

auto-update
: true # Automatically download updates

triggers
: #These will determine when the objects are displayed, they are not case sensitive
  item
:
 - "[i]"
  - "[item]"
  - "[itemdisplay]"
  - "[displayitem]"
  inventory
:
 - "[inv]"
  - "[inventory]"
  - "[invdisplay]"
  - "[displayinv]"
  enderchest
:
 - "[ec]"
  - "[enderchest]"
  - "[displaychest]"
  - "[displayec]"


disable-gui
: false #Disable all the GUIs3
 
messages
:
  gui-format
: "&a%player%&a's &cDisplayed Item"
  missing-permission
: "&cYou do not have permission to do that"
  missing-permission-item
: "&cYou do not have permission to display items"
  missing-permission-inventory
: "&cYou do not have permission to display your inventory"
  missing-permission-enderchest
: "&cYou do not have permission to display your Ender Chest"
  black-listed-item
: "&cYou cannot display this at item as it is blacklisted"
  player-not-displaying-anything
: "&cThat player isn't displaying anything" #when someone does /viewitem <player> and the <player> isn't displaying anything
  cooldown
: "&cYou cannot do that right now, please wait %seconds% more seconds."
  gui-disabled
: "&cThis feature has been disabled"
  map-notification
: "&eDrop or click on the map to receive your item back"
  not-holding-anything
: "&cYou are not holding anything"
  remove-item-colors
: false #Remove Item colors from the display message

display-messages
:
  inchat-item-format
: "&r[%item%&r]"
  inchat-inventory-format
: "&r[%player%'s %type%]" #Type will either be "EnderChest" or "Inventory" depending on what is being displayed
  item-display-format
: "&6%player%&6 is displaying their &f%item%"
  inventory-display-format
: "&6%player%&6 is displaying their &f%type%"
  displayed-inventory-title
: "%player%'s Inventory"
  displayed-enderchest-title
: "%player%'s EnderChest"
 
use-old-format
: false #This will use the regular message format, disabling in chat formatting.    Note: This value will be null if the server does not have ProtocolLib

use-nicks-in-display-message
: true #Will also use any custom colors. This is used in the command message


use-nicks-in-gui
: true #Will also use any custom colors



show-item-amount
: true #Will add x2 if a player is displaying 2 items
display-cooldown
: 0 #Measured in seconds. Use 0 for no cooldown.


blacklisted-items
: #for help visit https://minecraftitemids.com/
#- "minecraft:bedrock"
 
  • Cleaned up bad code and replaced it with slightly better code
Yeah, it still gives me a headache sometimes.
----------, Aug 27, 2020
Resource Information
Author:
----------
Total Downloads: 39,019
First Release: Apr 9, 2020
Last Update: Dec 21, 2021
Category: ---------------
All-Time Rating:
46 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings