TeamSpeak-3-Java-API icon indicating copy to clipboard operation
TeamSpeak-3-Java-API copied to clipboard

Bot connects without nickname

Open DanielAlves123 opened this issue 6 years ago • 1 comments

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.

DanielAlves123 avatar Feb 26 '19 22:02 DanielAlves123

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!

rogermb avatar Feb 26 '19 22:02 rogermb