Suppress Connect/Disconnect Messages

Hi, simple question, I was wondering if there was something I could modify that would disable the “Player has joined the game.” and “Player left the game.”

I had assumed it was handled in the gamemode files with the PlayerConnect hook, but I seem to be unable to locate anything that relates to the join and leave messages.
Is there somewhere in particular I should be looking for the code that handles this, or is there maybe a specific hook I can remove?

There’s actually a perfect example on the wiki page for the hook that handles this -

GM/ChatText

What game mode?

But wouldn’t it override any other hooks that try to suppress a chat message by type?

Neat, thank you very much! Never thought to try that.