if you are experienced in smart home and linux computing this might be interesting for you.
I wrote a little script to check, if there are buddies online on my ts3 server via the telnet interface and send this information to a mqtt-broker, where it can be read by smart home systems to flash a light bulb or simmilar things.
You must be ts3 server admin, I think, to get credentials for the query user! Or am I wrong?
You find this open source bash script on my Guthub-Page