[Request] World announce on bans and mutes

Hey /emoticons/default_smile.png

Since trinitycore updated and moved the bans and mutes to commandscripts, anyone knows how to add a way so it announces to the world that player X was banned or muted?

Would be a good idea to add such a thing to the pull list and put it on the main repo too /emoticons/default_smile.png

pretty much the same way as before, just in a different file… don’t be lazy.

I really would want to see that as well.

Anybody know where we can edit?

Just go so src/server/scripts/Commands/cs_ban.cpp

Go to the command you want to announce, and change PSendSysMessage to sWorld->SendWorldText

For announcing bans, that would be lines 190 and 192 in src/server/scripts/Commands/cs_ban.cpp

I tried, but no, it aint the same way.

Thank you, i will try that /emoticons/default_smile.png

what other way would there be?