I have been wanting to make a chat mention feature to highlight player names in a color like gold. After I finished code like that it didn't work at all. I decided to see what the problem is and simplify everything and it came down do the replace effect not working. I seem to not have had any console errors except for one a long time ago. I have tried my best to accurately take out plugins one by one with plugman without breaking the server. Any ideas as to what could be causing this? Has anyone had a similar experience?
The "on chat:" event works fine when messaging "test" and stuff, but replacing for chat doesn't work. I have tried using it in other wordings which I cant exactly remember what they were, and I have tried removing all my Skript add-ons.
My skript version is the latest of this post 2.5, and this code I am using doesn't need to utilize an add-on. Is there another plugin overriding or clashing with Skript on this event? I have looked at the console for errors but couldn't find any except for one but it didn't lead anywhere.
I will try my best to accurately take out plugins one by one with plugman without breaking the server. Any ideas as to what could be causing this? Has anyone had a similar expierence?
Code:
on chat:
replace all "cool", "idiot" and "noob" with "****" in the message
The "on chat:" event works fine when messaging "test" and stuff, but replacing for chat doesn't work. I have tried using it in other wordings which I cant exactly remember what they were, and I have tried removing all my Skript add-ons.
My skript version is the latest of this post 2.5, and this code I am using doesn't need to utilize an add-on. Is there another plugin overriding or clashing with Skript on this event? I have looked at the console for errors but couldn't find any except for one but it didn't lead anywhere.
I will try my best to accurately take out plugins one by one with plugman without breaking the server. Any ideas as to what could be causing this? Has anyone had a similar expierence?