Closed bobhenl closed 3 months ago
Sorry we don't have these conditions natively, but perhaps you can create a rule in rules/chat.rs that will match all messages and send a message if player does not have the perm
match .*
ignore perm i.must.not.have.this.perm
then warn You don't have the permission!
but wait, this matches all messages, how I distinguish if they use & character there?
Oh sorry, that's correct. Can't you use this?
match (.*)\&c(.*)
Are you using MySQL?
No
Are you using BungeeCord/Velocity?
No
Question
Hello, if the player wants to use colors in chat like &cMESSAGE, can we send him a message that he doesn't have permission for it somehow? Maybe using rules? But wouldn't it be so difficult for the server performance?