LOOHP / InteractiveChat

Add click and hover events to chat messages!
https://www.spigotmc.org/resources/75870/
GNU General Public License v3.0
150 stars 27 forks source link

[inventory] feature not working with default values on Interactivechat4.2.8.0 On version 1.20 #179

Open ChatError opened 5 months ago

ChatError commented 5 months ago

image

image

image

Config for inventory:

Inventory:

Enable players to show their inventory

Enabled: true
#The keyword to trigger the inventory display function (in regex)
Keyword: (?i)\\[inv\\]|\\[inventory\\]   #I have also tried "(?i)\\[inv\\]|\\[inventory\\]"
#The text to replace the keyword
Text: "&f[&b%player_name%'s Inventory&f]"
#The title of the inventory view
InventoryTitle: "%player_name%'s Inventory"
#Cooldown of this placeholder in seconds
Cooldown: 0
#Which inventory sharing layout do you want as default
#Currently there is layout 0 and layout 1
Layout: 1
#The item display text of the skull
SkullDisplayName: "&e%player_name%"
#The item used for the frame of the Inventory GUI
Frame:
  Primary: BLACK_STAINED_GLASS_PANE
  Secondary: WHITE_STAINED_GLASS_PANE
#Hover Message
HoverMessage:
  - "&bClick to view!"
#This name is used to identify your placeholder
#It must be a non-regex form of your keyword and should satisfy the regex of your keyword
Name: "[inv]"
#This description is used when listing placeholders 
Description: "&bShow your Inventory in the chat!"

======================================================================

I don't know if I have anything conflicting. I've had it working before on the server and it's stopped. Other placeholders work and it registers under the /interactivechat list, but it doesn't parse.