You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think Teamspeak directly supplies an event that fires when a client is banned (which is why this api wrappe doesn't have one). I'm not exactly sure what you're hoping do do with that, but you could use ClientLeaveEvent. When it fires, call TS3Api#getBans(). You'd have to track what clients are on the server, since iirc ClientLeaveEvent doesn't include the data about the client that left, but then you could check the ban list with the client that left, and do whatever you would do with an OnBan event.
Could you add server logging getters or something like OnClientBan to prevent spam?
The text was updated successfully, but these errors were encountered: