Skip to content

Item and Inventory Previews

Ayush Singh edited this page Oct 24, 2026 · 1 revision

Item & Inventory Previews

ReinChat allows players to display their held item, inventory, or ender chest directly in chat.

Chat Shortcuts

Use the following shortcuts in a chat message:

Shortcut Description
[item] or [i] Displays your held item's name with its native item hover information.
[inv] or [inventory] Creates a clickable inventory preview.
[ec] or [enderchest] Creates a clickable ender-chest preview.

The shortcuts can be customized in config.yml under the show section.

Example

Selling [item]!

When the message is processed, [item] is replaced with the held item's display name and hover information.

Inventory and ender-chest shortcuts create clickable links that open a snapshot of the corresponding contents.

Inventory Snapshots

Inventory and ender-chest previews capture the contents at the time the chat message is sent. They are read-only snapshots, not live views of the player's current inventory.

Snapshots expire after a configurable period and are subject to a maximum snapshot limit.

Administrators can open a supported snapshot using:

/reinchat view <id>

The snapshot ID is used to identify the inventory snapshot to open.

Permissions

Permission Default Description
reinchat.show.item Everyone Allows displaying held items in chat.
reinchat.show.inventory Everyone Allows creating inventory previews.
reinchat.show.enderchest Everyone Allows creating ender-chest previews.
reinchat.show.bypasscooldown Operators Bypasses the chat display cooldown.
reinchat.view Operators Allows viewing inventory and ender-chest snapshots.

Operators with reinchat.admin also inherit its declared child permissions.

Configuration

Preview settings are configured in:

plugins/ReinChat/config.yml

The show section controls the following settings:

Setting Description
show.item.placeholders Shortcuts used to display held items.
show.inventory.placeholders Shortcuts used to create inventory previews.
show.enderchest.placeholders Shortcuts used to create ender-chest previews.
show.cooldown-seconds Cooldown between uses of the chat display feature.
show.snapshot-lifetime-seconds How long inventory snapshots remain available.
show.max-snapshots Maximum number of stored snapshots.

The actual values can be changed to suit your server.

Troubleshooting

A shortcut appears as ordinary text

  • Check that the shortcut is configured under the correct show setting.
  • Make sure the sender has the corresponding permission.
  • Check whether the chat display cooldown is active.

An item preview does not appear

  • Make sure you are holding an item.
  • Check that reinchat.show.item is granted to the sender.

An inventory preview cannot be opened

  • Check whether the snapshot has expired.
  • Verify that the viewer has the required access.
  • Check the server console for errors.

Related Pages

Clone this wiki locally