Show server ID within chat?

Some servers have there server ID shown in chat, what I mean is when you type in chat they have it OOC automatically with there name and server ID. For example: ‘[Name] (ID):Text’. I was wondering if anyone knows how I can implement this into my own server? Whether it is to do with resources\[gameplay]\chat or a basic script.

Screenshots:
ID

1 Like