Help connect the bot

Help I’m trying to connect a bot

creating a new password error
old password is also an error
I want to connect this bot

connecting...
18:16:31.385 [[TeamSpeak-3-Java-API] SocketReader] DEBUG com.github.theholywaffle.teamspeak3.SocketReader - TS3 command error: {msg=connection failed, you are banned, extra_msg=you may retry in 393 seconds, id=3329}
18:16:31.398 [[TeamSpeak-3-Java-API] SocketReader] ERROR com.github.theholywaffle.teamspeak3.SocketReader - Connection closed by the server.
Exception in thread "main" java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
    at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
    at org.springframework.boot.loader.Launcher.launch(Launcher.java:51)
    at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52)
Caused by: com.github.theholywaffle.teamspeak3.api.exception.TS3CommandFailedException: A "login" command returned with a server error.
>> connection failed, you are banned (ID 3329): you may retry in 393 seconds
    at com.github.theholywaffle.teamspeak3.api.CommandFuture.checkForFailure(CommandFuture.java:415)
    at com.github.theholywaffle.teamspeak3.api.CommandFuture.getUninterruptibly(CommandFuture.java:356)
    at com.github.theholywaffle.teamspeak3.TS3Api.login(TS3Api.java:3000)
    at de.lufen.TeamspeakBot.connect(TeamspeakBot.java:248)
    at de.lufen.TeamspeakBot.main(TeamspeakBot.java:105)
    ... 8 more
18:16:31.403 [pool-1-thread-1] ERROR com.github.theholywaffle.teamspeak3.api.reconnect.DisconnectingConnectionHandler - [Connection] Disconnected from TS3 server

is the bot banned?

1 Like

Always when I connect it is always banned

You need to make sure, you don’t have any bans

Then you should disable the flood protection for the bot so it can operate normally. b_client_ignore_antiflood (set the permission temporarily for guests, then give the bot a specific bot group and remove the permission from the guests) // or give the bot client permission

Where can I see the bans?

image Ban List

There are no locks.
Login and password required qwery

query {
    user = "serveradmin"
    password = "*****"
    virtualServerId = 1
    serverIp = "********"
    serverPort = "10011"
    nickName = "bots"
    baseChannelId = "1"
    botAdminGroupId = "6"
    debugMode = false
}

Did you disabled the flood protection?

connecting...
19:05:51.754 [[TeamSpeak-3-Java-API] SocketReader] DEBUG com.github.theholywaffle.teamspeak3.SocketReader - TS3 command error: {msg=connection failed, you are banned, extra_msg=you may retry in 458 seconds, id=3329}
19:05:51.765 [[TeamSpeak-3-Java-API] SocketReader] ERROR com.github.theholywaffle.teamspeak3.SocketReader - Connection closed by the server.
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
19:05:51.768 [pool-1-thread-2] ERROR com.github.theholywaffle.teamspeak3.api.reconnect.DisconnectingConnectionHandler - [Connection] Disconnected from TS3 server
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:51)
        at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52)
Caused by: com.github.theholywaffle.teamspeak3.api.exception.TS3CommandFailedException: A "login" command returned with a server error.
>> connection failed, you are banned (ID 3329): you may retry in 458 seconds
        at com.github.theholywaffle.teamspeak3.api.CommandFuture.checkForFailure(CommandFuture.java:415)
        at com.github.theholywaffle.teamspeak3.api.CommandFuture.getUninterruptibly(CommandFuture.java:356)
        at com.github.theholywaffle.teamspeak3.TS3Api.login(TS3Api.java:3000)
        at de.lufen.TeamspeakBot.connect(TeamspeakBot.java:248)
        at de.lufen.TeamspeakBot.main(TeamspeakBot.java:105)
        ... 8 more

?

Снимок

You can try to edit the query_ip_whitelist.txt and add your IP from where the Bot should connect.

If it still does not work then you should try it in 1/2 hours again and see if the Flood Protection already expired

the bot connects from the same un as the server

then use 127.0.0.1

Everything works, thank you

1 Like

[[TeamSpeak-3-Java-API] SocketReader] DEBUG com.github.theholywaffle.teamspeak3.SocketReader - TS3 command error: {msg=insufficient client permissions, id=2568, failed_permid=134}

Obviously the bot has not enough permissions to perform that action.

You can search on the Internet for missing permission or you can give the bot every permission.

Edit: here a list of the permission IDS (could be outdated) https://yat.qa/resources/permission-ids/

The bot has all the rights

:man_shrugging:

twitch instagram twitter facebook