Package com.github.theholywaffle.teamspeak3.api.event

Examples of com.github.theholywaffle.teamspeak3.api.event.TS3Listener


public class CClientKick extends Command {

  public CClientKick( ReasonIdentifier reason, String reasonMessage,int... clientIds) {
    super("clientkick");
    ArrayParameter p = new ArrayParameter();
    for(int id : clientIds){
      p.add(new KeyValueParam("clid",id+""));
    }
    add(p);
    add(new KeyValueParam("reasonid",reason.getIndex()+""));
    if(reasonMessage != null){
      add(new KeyValueParam("reasonmsg",reasonMessage));
View Full Code Here


public class CChannelDelete extends Command {

  public CChannelDelete(int channelId, boolean forced) {
    super("channeldelete");
    add(new KeyValueParam("cid", channelId));
    add(new KeyValueParam("force", forced ? "1" : "0"));
  }
View Full Code Here

public class CServerEdit extends Command{

  public CServerEdit(HashMap<VirtualServerProperty, String> map) {
    super("serveredit");
    for (VirtualServerProperty p : map.keySet()) {
      add(new KeyValueParam(p.getName(), map.get(p)));
    }
  }
View Full Code Here

public class CChannelClientAddPerm extends Command{

  public CChannelClientAddPerm(int channelId, int clientDBId, String permName, int permValue) {
    super("channelclientaddperm");
    add(new KeyValueParam("cid",channelId));
    add(new KeyValueParam("cldbid",clientDBId));
    add(new KeyValueParam("permsid",permName));
    add(new KeyValueParam("permvalue",permValue));
  }
View Full Code Here

public class CMessageGet extends Command {

  public CMessageGet(int messageId) {
    super("messageget");
    add(new KeyValueParam("msgid",messageId+""));
  }
View Full Code Here

public class CBanDel extends Command{

  public CBanDel(int banId) {
    super("bandel");
    add(new KeyValueParam("banid",banId));
  }
View Full Code Here

public class CChannelInfo extends Command {

  public CChannelInfo(int channelId) {
    super("channelinfo");
    add(new KeyValueParam("cid", channelId));
  }
View Full Code Here

public class CServerGroupDelPerm extends Command {

  public CServerGroupDelPerm(int groupId, String permName) {
    super("servergroupdelperm");
    add(new KeyValueParam("sgid", groupId));
    add(new KeyValueParam("permsid", permName));
  }
View Full Code Here

public class CChannelMove extends Command {

  public CChannelMove(int channelId, int channelParentId, int order) {
    super("channelmove");
    add(new KeyValueParam("cid", channelId));
    add(new KeyValueParam("cpid", channelParentId));
    if (order < 0) {
      order = 0;
    }
    add(new KeyValueParam("order", order));

  }
View Full Code Here

public class CClientDBList extends Command{

  public CClientDBList(int begin, int amount, boolean count) {
    super("clientdblist");
    add(new KeyValueParam("start", begin+""));
    add(new KeyValueParam("duration", amount+""));
    if(count){
      add(new OptionParam("count"));
    }
   
  }
View Full Code Here

TOP

Related Classes of com.github.theholywaffle.teamspeak3.api.event.TS3Listener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.