Repository navigation
Item and Inventory Previews
ReinChat allows players to display their held item, inventory, or ender chest directly in chat.
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.
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 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.
| 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.
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.
- Check that the shortcut is configured under the correct
showsetting. - Make sure the sender has the corresponding permission.
- Check whether the chat display cooldown is active.
- Make sure you are holding an item.
- Check that
reinchat.show.itemis granted to the sender.
- Check whether the snapshot has expired.
- Verify that the viewer has the required access.
- Check the server console for errors.