kangarko / ChatControl-Red

Issue tracker and documentation for the next generation ChatControl Red, the most advanced chat management plugin.
49 stars 23 forks source link

1.20.4/1.8.8: PlaceholderAPI placeholders are completely ignored when messages are sent from console #2633

Closed 10Meisterbaelle closed 6 months ago

10Meisterbaelle commented 6 months ago

"/version ChatControlRed" - plugin version

10.25.1

Are you using MySQL?

Yes

Are you using BungeeCord?

Yes

Error log (if applicable)

No response

"/chc debug" output (strongly recommended)

No response

Information about the issue/bug

When console sends a message to a channel (using channel send), PlaceholderAPI placeholders are ignored entirely. Demonstration Image Expected behaviour: It should return as empty.

kangarko commented 6 months ago

Unsupported, please use a separate console format instead: https://github.com/kangarko/ChatControl-Red/wiki/Channels#format_console

10Meisterbaelle commented 6 months ago

@kangarko

Unsupported, please use a separate console format instead: https://github.com/kangarko/ChatControl-Red/wiki/Channels#format_console

Doesn't this only change how it looks inside the console? I wanna change how the console looks to other players when it sends a message.

kangarko commented 5 months ago

Oh I see. Then you would need to write the following condition to your format file into individual parts:

Sender_Condition: '{sender_is_console}'

Keep it as is if you only want a format part to show IF the sender is console. Otherwise if you want to hide it from console use:

Sender_Condition: '!{sender_is_console}'

kangarko commented 5 months ago

You can read up on variables you can use here: https://github.com/kangarko/ChatControl-Red/wiki/Variables