From ee9b8a0a4bdf7276f78fa625232a653c4e613923 Mon Sep 17 00:00:00 2001 From: mane Date: Sat, 4 Aug 2018 20:10:23 -0400 Subject: [PATCH 1/6] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c0888b5..fe5010e 100644 --- a/README.md +++ b/README.md @@ -9,4 +9,6 @@ TS3J is formatted and stubbed for server support, and no logic has been written. This project is currently not completed, but is being actively worked on until it is stable and working. I'm very open to suggestions and contributions should you want to make any, so we can make this a reality faster. -I'll add more documentation on the API itself as we near a usable, stable client. +# Current Status + +It should work, I'm using it on my bot From e0a2537b259476fe488a8236e7e13cea7daf0b98 Mon Sep 17 00:00:00 2001 From: mane Date: Sat, 4 Aug 2018 20:10:32 -0400 Subject: [PATCH 2/6] Update README.md --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index fe5010e..560bbef 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,6 @@ If you are familiar with the Java Teamspeak3 serverQuery API, you will hit the g TS3J is formatted and stubbed for server support, and no logic has been written. I've discovered that, with the protocol reversed, it may be possible to make a server that doesn't adhere to the licensing restrictions. While nobody can stop anyone from making a reverse-engineered server as well now, I won't be sharing any code for one. -This project is currently not completed, but is being actively worked on until it is stable and working. I'm very open to suggestions and contributions should you want to make any, so we can make this a reality faster. - # Current Status It should work, I'm using it on my bot From 07b9718805f5ec1c16a97b744325facf56d269bd Mon Sep 17 00:00:00 2001 From: mane Date: Sat, 4 Aug 2018 20:12:55 -0400 Subject: [PATCH 3/6] Update README.md --- README.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 560bbef..3af42e8 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,22 @@ If you are familiar with the Java Teamspeak3 serverQuery API, you will hit the g TS3J is formatted and stubbed for server support, and no logic has been written. I've discovered that, with the protocol reversed, it may be possible to make a server that doesn't adhere to the licensing restrictions. While nobody can stop anyone from making a reverse-engineered server as well now, I won't be sharing any code for one. -# Current Status +# Usage -It should work, I'm using it on my bot +``` +client = new LocalTeamspeakClientSocket(); + +// Set up client +client.setIdentity(identity); +client.addListener(listener); +client.setNickname(nickname); + +client.connect( + new InetSocketAddress( + InetAddress.getByName(address), + port + ), + password, + 10000L +); +``` From 182d2360eb61d88ca562489679dd906f32d2c90a Mon Sep 17 00:00:00 2001 From: mane Date: Sat, 4 Aug 2018 20:15:13 -0400 Subject: [PATCH 4/6] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 3af42e8..cbbc6de 100644 --- a/README.md +++ b/README.md @@ -26,3 +26,7 @@ client.connect( 10000L ); ``` + +Note that while `connect()` is processing, you'll receive channels registered and clients currently connected to the server. It is important that you use the listener to collect these, and track their changes through the other listener event calls. + +You can interact with the server using the commands on the `client` object similarly to TS3Query. From 1c86abd638375b16e071ff4a083e5176b99db802 Mon Sep 17 00:00:00 2001 From: mane Date: Sat, 4 Aug 2018 20:18:16 -0400 Subject: [PATCH 5/6] Update README.md --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index cbbc6de..99ad2fe 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,24 @@ If you are familiar with the Java Teamspeak3 serverQuery API, you will hit the g TS3J is formatted and stubbed for server support, and no logic has been written. I've discovered that, with the protocol reversed, it may be possible to make a server that doesn't adhere to the licensing restrictions. While nobody can stop anyone from making a reverse-engineered server as well now, I won't be sharing any code for one. +# Maven + +If you want the latest `-SNAPSHOT`: + +``` + + + jitpack.io + https://jitpack.io + + + + com.github.manevolent + ts3j + -SNAPSHOT + +``` + # Usage ``` From 8770596ddafc350caac29731b7c8e8039ed05a93 Mon Sep 17 00:00:00 2001 From: mane Date: Sat, 4 Aug 2018 20:19:19 -0400 Subject: [PATCH 6/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 99ad2fe..734df4f 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ client.setNickname(nickname); client.connect( new InetSocketAddress( InetAddress.getByName(address), - port + port // UDP client port, Teamspeak3 client uses 9987 ), password, 10000L