Package com.github.theholywaffle.teamspeak3.commands.parameter

Examples of com.github.theholywaffle.teamspeak3.commands.parameter.KeyValueParam


public class CSetClientChannelGroup extends Command{

  public CSetClientChannelGroup(int groupId, int channelId, int clientDBId) {
    super("setclientchannelgroup");
    add(new KeyValueParam("cgid",groupId+""));
    add(new KeyValueParam("cid",channelId+""));
    add(new KeyValueParam("cldbid",clientDBId+""));
  }
View Full Code Here


public class CServerGroupRename extends Command {

  public CServerGroupRename(int id, String name) {
    super("servergrouprename");
    add(new KeyValueParam("sgid", id));
    add(new KeyValueParam("name", name));
  }
View Full Code Here

public class CPermIdGetByName extends Command{

  public CPermIdGetByName(String permName) {
    super("permidgetbyname");
    add(new KeyValueParam("permsid",permName));
  }
View Full Code Here

public class CBanClient extends Command{

  public CBanClient(int clientId, long timeInSeconds, String reason) {
    super("banclient");
    add(new KeyValueParam("clid",clientId));
    if(timeInSeconds >0){
      add(new KeyValueParam("time",timeInSeconds));
    }
    if(reason != null){
      add(new KeyValueParam("banreason",reason));
    }
   
  }
View Full Code Here

public class CPrivilegeKeyUse extends Command{

  public CPrivilegeKeyUse(String token) {
    super("privilegekeyuse");
    add(new KeyValueParam("token",token));
  }
View Full Code Here

public class CChannelGroupRename extends Command {

  public CChannelGroupRename(int groupId, String name) {
    super("channelgrouprename");
    add(new KeyValueParam("cgid", groupId));
    add(new KeyValueParam("name", name));
  }
View Full Code Here

public class CServerIdGetByPort extends Command {

  public CServerIdGetByPort(int port) {
    super("serveridgetbyport");
    add(new KeyValueParam("virtualserver_port", port));
  }
View Full Code Here

public class CClientMove extends Command {

  public CClientMove(int clientId, int channelid, String channelPassword) {
    super("clientmove");
    add(new KeyValueParam("clid", clientId));
    add(new KeyValueParam("cid", channelid));
    if (channelPassword != null) {
      add(new KeyValueParam("cpw", channelPassword));
    }
  }
View Full Code Here

public class CChannelGroupAddPerm extends Command {

  public CChannelGroupAddPerm(int groupId, String permName, int permValue) {
    super("channelgroupaddperm");
    add(new KeyValueParam("cgid", groupId));
    add(new KeyValueParam("permsid", permName));
    add(new KeyValueParam("permvalue", permValue));
  }
View Full Code Here

public class CPermGet extends Command{

  public CPermGet(String permName) {
    super("permget");
    add(new KeyValueParam("permsid",permName));
  }
View Full Code Here

TOP

Related Classes of com.github.theholywaffle.teamspeak3.commands.parameter.KeyValueParam

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.