Advertisement
TrodelHD

Untitled

May 15th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. import com.github.theholywaffle.teamspeak3.TS3Api;
  2. import com.github.theholywaffle.teamspeak3.TS3Config;
  3. import com.github.theholywaffle.teamspeak3.TS3Query;
  4.  
  5. public class Main {
  6.  
  7. public static final TS3Config cfg = new TS3Config();
  8. public static final TS3Query query = new TS3Query();
  9. public static final TS3Api api = query.getApi();
  10.  
  11. public static void main(String[] args) {
  12. cfg.setHost("pudihome.hopto.org");
  13. query.connect();
  14. api.login("serveradmin", "kmghzgtrf");
  15. api.selectVirtualServerById(1);
  16. api.setNickname("TS3-Bot");
  17. }
  18.  
  19.  
  20.  
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement