Skip to content

11.6.2 [item]/[i] not parsing correctly with Gradient plugin #3377

@therealaqz

Description

@therealaqz

Are you using MySQL?

No

Are you using a proxy?

No

"/version ChatControlRed" - plugin version

11.6.2

Optional: Error log

No response

ZIP of "/chc debug"

Sent to email

Steps to reproduce

Hi there. I am having an issue with ChatControl.

I'm experiencing integration issues between GradientPlus and ChatControl Pro, and I'm hoping you can help clarify the best approach.

The Issues

Issue 1: ChatControl Variables Not Working with Gradient Placeholders

I'm trying to use ChatControl's Parse_Variables: true feature (which allows players to use [item] or [i] to display items in chat), but it's conflicting with GradientPlus.

My ChatControl format:

yamlcandygod:
  Message: "%katsu_avatar_SMALL% &8{tag}{player_prefix} <gradient:#FFA6F7:#FFCFFB><bold>%gradientdisplayname%</bold></gradient> &8»&r %gradientchat%"
  Parse_Variables: true

The problem: When I use %gradientchat%, ChatControl's [item] variable doesn't work - it just shows the literal text [item] instead of displaying the held item.

What I've tried:

  1. Using %gradient_{message}% instead - this shows {message} literally
  2. Using %gradient_message% instead - same issue or doesn't apply gradient
  3. Adding [item] and [i] to GradientPlus's ignored_words list - doesn't help

My question: What is the correct placeholder syntax to use in ChatControl formats that will:

  1. Allow ChatControl to parse [item] variables first
  2. Then apply GradientPlus gradients to the message
  3. Still respect the player's selected gradient color from /gradient

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions