Manevolent / ts3j

An open-source Java Teamspeak 3 client library using the TS3 full client protocol
Apache License 2.0
111 stars 16 forks source link

Channel Commander #24

Open janbnz opened 4 years ago

janbnz commented 4 years ago

Hey,

I want to set the bot as channel commander because I need this orange bubble instead of the blue one. Is there any solution with ts3j?

Manevolent commented 4 years ago

Not that I know of, right now. TS3j allows you to execute your own commands, so provided you are able to identify the necessary command to execute to change channel commander, this should be possible. I'm not too familiar with the channel commander feature, so I may need to do a little more investigation to identify what needs to be added here.

Note: there does exist a flag in TS3's protocol called: client_is_channel_commander -- this might get you started.

janbnz commented 4 years ago

Thanks, found a solution! :)

Solution: this.client.executeCommand(new SingleCommand("clientupdate client_is_channel_commander=1", null));