kangarko / ChatControl-Red

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

1.20.4: How to disable clickable links #2668

Closed Pantera07 closed 2 months ago

Pantera07 commented 2 months ago

Are you using MySQL?

Yes

Are you using BungeeCord/Velocity?

No

Question

How to disable clickable links?

I want to disable clickable on all links or on links I don't allow.

kangarko commented 2 months ago

We dont have a toggle for this yet. You can install Essentials and give players negative essentials.chat.url

Pantera07 commented 2 months ago

@kangarko Latest vanilla Minecraft servers don't make chat urls clickable by default. This only happens when using ChatControl-Red.

Pantera07 commented 2 months ago

This plugin is not open source, so the method below is currently the best I can do.

match ([a-zA-Z0-9]+(\.[a-zA-Z0-9]+)+)
before replace (([a-zA-Z]./)*(whitelist\.domain)) with (whitelist,domain)
then replace $1΄
Pantera07 commented 1 month ago

or formats

  message:
    Message: '&7: {player_suffix}{chat_color}{chat_decoration}{message}'
    Open_Url: ' '
kangarko commented 1 month ago

I'll add the option in Channels.Make_Links_Clickable in settings.yml you can turn off to stop making links clickable.

Pantera07 commented 1 month ago

Thanks!