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

No output Data for ClientLeaveEvent

Open qeinz opened this issue 2 years ago • 1 comments

Hi, I've been following this project for a while now and I'm also a loyal user of this API, unfortunately I'm noticing more and more that some functions don't return a value, this includes the whole Client Leave event, if you try to get client data from a disconnected client you don't get any output, meaning the code block is just skipped:

client client = Main.api.getClientInfo(event.getClientId()); 
Mysql.insertRecentActivitie("Client disconnected", client.getNickname()); 

Is there a possibility to add this function?

qeinz avatar Mar 27 '22 18:03 qeinz

Keep in mind this is just a wrapper for the teamspeak API. Any limitations are likely limitations of teamspeak instead of this wrapper.

Since you're talking about issues with ClientLeaveEvents in particular, I'll refer you to this issue, which links to some other useful faqs. https://github.com/TheHolyWaffle/TeamSpeak-3-Java-API/issues/388

astrolamb-gaming avatar Mar 28 '22 20:03 astrolamb-gaming