AdvancedPlugins / Chat

The Best Chat Plugin for Spigot Servers, including AI chat monitoring, endless formatting capabilities, custom commands and way more
3 stars 2 forks source link

Incompatibility with InteractiveChat #74

Closed iCodeYT closed 3 weeks ago

iCodeYT commented 1 month ago

Describe the bug

image

How to reproduce

This happens anytime I use [item]

Screenshots / Videos

No response

Server Log

No response

ThomasWega commented 1 month ago

Update to latest and regen your advertising.yml rule

iCodeYT commented 1 month ago

Im using the latest update, 1.1.6, i regen the file, still same issue, it only works if i disable the advertising.yml completely.

ThomasWega commented 1 month ago

Can you send the file contents here?

iCodeYT commented 1 month ago

enabled: true

ends with %allow% to allow the effects to be executed, not the message.

%message_stripped% removes color codes (included invalid ones) and replaces them with an empty string. If this is not done, the regex might not work as expected.

conditions:

REPLACE_MESSAGE:: to replace the message with if it contains

MESSAGE: to send a message to the player

CANCEL_EVENT to stop message from going through

effects:

ThomasWega commented 1 month ago

hmm. I am not able to replicate this for some reason

iCodeYT commented 1 month ago

Just to avoid confusion, Im talking about the [item] from InterativeChat, not AdvancedChat's Built in item variable. Tested it on another server, same issue

ThomasWega commented 1 month ago

ohhh. That makes sense then. Thank you for clarification

ThomasWega commented 1 month ago

Why use two plugins then? Just disable our variable and use the InteractiveChats one. Or the other way around

iCodeYT commented 1 month ago

That's what I do, I deleted the "item" variable, but it still does this.

ThomasWega commented 3 weeks ago

If you can get the author of InteractiveChat here, that'd be great. I am honestly unsure how to approach this to keep compatibility

ThomasWega commented 3 weeks ago

Actually.. updating to latest will fix this