TeamSpeak3/Node/Host.php
public function serverCreate(array $properties = array())
    {
        $this->serverListReset();

        $detail = $this->execute("servercreate", $properties)->toList();
        $server = new Server($this, array("virtualserver_id" => intval($detail["sid"])));

        Signal::getInstance()->emit("notifyServercreated", $this, $detail["sid"]);
        Signal::getInstance()->emit("notifyTokencreated", $server, $detail["token"]);

        return $detail;
    }
public function serverCreate(array $properties = array())
    {
        $this->serverListReset();

        $detail = $this->execute("servercreate", $properties)->toList();
        $server = new Server($this, array("virtualserver_id" => intval($detail["sid"])));

        Signal::getInstance()->emit("notifyServercreated", $this, $detail["sid"]);
        Signal::getInstance()->emit("notifyTokencreated", $server, $detail["token"]);

        return $detail;
    }
public function serverCreate ( array $ properties = array ( ) ) { $ this -> serverListReset ( ) ; $ detail = $ this -> execute ( "servercreate" , $ properties ) -> toList ( ) ; $ server = new Server ( $ this , array ( "virtualserver_id" => intval ( $ detail [ "sid" ] ) ) ) ; Signal :: getInstance ( ) -> emit ( "notifyServercreated" , $ this , $ detail [ "sid" ] ) ; Signal :: getInstance ( ) -> emit ( "notifyTokencreated" , $ server , $ detail [ "token" ] ) ; return $ detail ; }
Creates a new virtual server using given properties and returns an assoc
array containing the new ID and initial admin token.

@param  array $properties
@return array
Creates a new virtual server using given properties and returns an assoc array containing the new ID and initial admin token .