- Contributors
- AsuDev
- Supported Minecraft Versions
- 1.8
- 1.9
- 1.10
- 1.11
- 1.12
- 1.13
- 1.14
- 1.15
Description
Chat Items is a script that allows players to share multiple items in chat at the same time. Instead of using the typical '[item]' system which shares the item in the player's hand, this system works off of player's being able to specify which slots they want to share with others.
Requirements
Skript 2.2+
skript-mirror 2.0
Skquery
IMPORTANT
If you are using Skript 2.3.7 or LOWER then you do not need to edit anything when you download the script.
HOWEVER, if you are using Skript 2.3.7+ you need to change two lines of code:
1. Delete or comment out line 179 (send "%{_s}%" to all players)
2. Uncomment line 180 (send formatted "%{_s}%" to all players)
3. Reload the script.
I have no clue how compatible this is with other chat plugins and such so let me know if you run into any issues. This resource is new so contact me if you run into any bugs (Discord: AsuDev#0714)
Features
1. Share multiple items in chat at the same time based on slots.
2. Instead of the typical hover info for items, clicking on the item in chat will open a GUI and display the actual item.
3. A few configurable options so you can change how you want items to be displayed.
Formatting
This system works a little bit differently from the normal '[item]' system. To share items in chat, the player must specify what item slot they want to share. The format is very simple:
[i-1] or [item-1] would share the item in the first slot of the player's inventory.
[i-2] or [item-2] would share the item in the second slot of the player's inventory.
[i-3] or [item-3] would share the item in the third slot of the player's inventory.
Etc. You can specify a slot between 1-36 representing the player's inventory.
Example
A player types 'Look at my items [i-1] [i-2] [i-3]' and sends the message. The player specified that he wanted to share the items in slot 1, 2 and 3 in his inventory.
Each item shared in chat has a tooltip and can be clicked on for more info about that item.
Permissions
chatitems.share - Share items in chat (if option for perms is true)
Options
Chat Items is a script that allows players to share multiple items in chat at the same time. Instead of using the typical '[item]' system which shares the item in the player's hand, this system works off of player's being able to specify which slots they want to share with others.
Requirements
Skript 2.2+
skript-mirror 2.0
Skquery
IMPORTANT
If you are using Skript 2.3.7 or LOWER then you do not need to edit anything when you download the script.
HOWEVER, if you are using Skript 2.3.7+ you need to change two lines of code:
1. Delete or comment out line 179 (send "%{_s}%" to all players)
2. Uncomment line 180 (send formatted "%{_s}%" to all players)
3. Reload the script.
I have no clue how compatible this is with other chat plugins and such so let me know if you run into any issues. This resource is new so contact me if you run into any bugs (Discord: AsuDev#0714)
Features
1. Share multiple items in chat at the same time based on slots.
2. Instead of the typical hover info for items, clicking on the item in chat will open a GUI and display the actual item.
3. A few configurable options so you can change how you want items to be displayed.
Formatting
This system works a little bit differently from the normal '[item]' system. To share items in chat, the player must specify what item slot they want to share. The format is very simple:
[i-1] or [item-1] would share the item in the first slot of the player's inventory.
[i-2] or [item-2] would share the item in the second slot of the player's inventory.
[i-3] or [item-3] would share the item in the third slot of the player's inventory.
Etc. You can specify a slot between 1-36 representing the player's inventory.
Example
A player types 'Look at my items [i-1] [i-2] [i-3]' and sends the message. The player specified that he wanted to share the items in slot 1, 2 and 3 in his inventory.
Each item shared in chat has a tooltip and can be clicked on for more info about that item.
Permissions
chatitems.share - Share items in chat (if option for perms is true)
Options
code_language.skript:
options:
# PERMISSION OPTIONS
# Require sharing items in chat to have permission 'chatitems.share'
useItemChatPermission: false
# CHAT OPTIONS
# The amount of items a player can put in chat
allowedOccurencesOfItem: 3
# Capitalize uncapitalized item names for items that do not have a name
capitalizeItemNames: true
# Removes underscores and replace with spaces
replaceUnderScoresWithSpaces: true
# The original chat color so it reformats itself after adding an item
originalChatColor: &f
# Default item color for items that do not have a name
defaultItemColor: &7
# Bracket color
defaultBracketColor: &7
# Item tooltip when hovering over items in chat
hoverItemTooltip: %{_defaultItemColor}%%{_n}%%nl%&7Click to view this item.
# Show item stack amount in chat
showStackAmount: true
# Item stack in chat format
amountFormat: &7x%{_amount}%
# GUI OPTIONS
# Display item gui name
guiDisplayItemName: &a%arg 1%'s Display Item
# Gui size (rows)
guiSize: 1
# Item slot
itemGuiSlot: 4