TeamSpeak-3-Java-API
TeamSpeak-3-Java-API copied to clipboard
Bot connects without nickname
Server logs: <23:15:42> "serveradmin from ip:port" connected to channel "channel" <23:15:42> "serveradmin from ip:port" is now known as "nickname"
Private message: <23:15:42> "serveradmin from ip:port" rejoined chat.
It should allow bot to connect already with set nickname. Maybe it works only if you have enabled 'Show ServerQuery Clients' option.
Hi!
This has already been implemented in version 1.2.0:
The selectVirtualServerById
and selectVirtualServerByPort
methods in TS3Api now have overloads with an additional nickname
parameter that allow you to join a virtual server with the specified nickname already set. An example:
api.selectVirtualServerByPort(9987, "SuperBot");
Hope this helps!