CodeCrafter47 / FreeBungeeChat

chat plugin for bungeecord
GNU General Public License v3.0
3 stars 11 forks source link

Colored chat without permissions #11

Open ghost opened 8 years ago

ghost commented 8 years ago

If players do &&r2 in a message for example, it will color it regardless of if they have permissions. A fix for this would be appreciated. On another note, a Bukkit permission for colored chat would be useful.

ghost commented 8 years ago

A workaround is to give all players the color permission and add this to the regex section of the config:

    - search: '(?i)&&r[0-9a-z]'
    - replace: ''
    - search: '(?i)&[0-9a-z]'
    - replace: ''