Update README.md

This commit is contained in:
mane
2018-08-04 20:12:55 -04:00
committed by GitHub
parent e0a2537b25
commit 07b9718805
+18 -2
View File
@@ -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
);
```