Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import com.github.theholywaffle.teamspeak3.TS3Api;
- import com.github.theholywaffle.teamspeak3.TS3Config;
- import com.github.theholywaffle.teamspeak3.TS3Query;
- public class Main {
- public static final TS3Config cfg = new TS3Config();
- public static final TS3Query query = new TS3Query();
- public static final TS3Api api = query.getApi();
- public static void main(String[] args) {
- cfg.setHost("pudihome.hopto.org");
- query.connect();
- api.login("serveradmin", "kmghzgtrf");
- api.selectVirtualServerById(1);
- api.setNickname("TS3-Bot");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement