Module: chat.display
Overview
This module allows players to show things to others:
-
Show their main-hand item.
-
Show their inventory.
-
Show their ender chest.
Color Boxes
◉ Advanced server-side show-case mod.
A new mod is released in https://modrinth.com/mod/showcase
You may want to check it!
◉ This module is designed to work with other chat-related mods.
For example, you use this with Styled Chat mod.
◉ Define a chat shortcut to create a display
You can use chat.replace module, to define chat shortcut.
The shortcut can be "item" for example.
Then you can type "item" in chat.
To create a display directly using chat, without the commands.
Configurations
The following JSON content is provided for reference only. It must NOT be copied directly into the configuration directory, as it does not represent valid JSON syntax.
- File Name:
config.json - File Content:
Click to see the default content...
{
/* The expiration duration for each created `display`. */
"expiration_duration_seconds": 3600
}
Commands
-
Command Syntax:
/chat display ender -
Document: Show your enderchest.
-
Can be executed by console:
false -
Required Level Permission:
0 -
Required String Permission:
null
-
Command Syntax:
/chat display inv -
Document: Show your inventory.
-
Can be executed by console:
false -
Required Level Permission:
0 -
Required String Permission:
null
-
Command Syntax:
/chat display item -
Document: Show your item in main hand.
-
Can be executed by console:
false -
Required Level Permission:
0 -
Required String Permission:
null
Placeholders
- Placeholder Name:
fuji:item - Document: Create a
item displayand return theclickabletext to open that display.
- Placeholder Name:
fuji:inv - Document: Create a
inventory displayand return theclickabletext to open that display.
- Placeholder Name:
fuji:ender - Document: Create a
enderchest displayand return theclickabletext to open that display.