kangarko / ChatControl

The most popular chat formatting & filtering plugin for Minecraft.
https://mineacademy.org/chatcontrol
GNU General Public License v3.0
82 stars 38 forks source link

1.21.4: Help with Discordsrv and Chatcontrol #3089

Closed 00Hrtz closed 1 month ago

00Hrtz commented 1 month ago

Are you using MySQL?

No

Are you using a proxy?

No

Question

Hi,

Bit of a novice so please forgive.

[09:26:06 INFO]: [ChatControl] Warning: Not running JavaScript because it contains 'player' but player was on Discord. Set Sender_Condition to '{sender_is_player}' to remove this warning next to your code. Script: player.getHandle().ping

I have my servers Global channel setup to send and receive messages to my Discords General channel but, when i send a message from Discord to the server i get this warning. I understand i'm supposed to add something somewhere but not sure how and where exactly. Looked at the wiki but i don't want to mess it all up by doing something wrong, help to understand would be greatly appreciated. I also use Luckperms Groups also if that's relevant.

kangarko commented 1 month ago

No worries, just edit your variables/ping.yml file specifically write Sender_Condition key and set its value to '{sender_is_player}'.