public function sendPluginCmd($plugin, $data, $cpw = null, $subscribed = false)
    {
        if ($this->getId() != $this->getParent()->whoamiGet("client_channel_id")) {
            $this->getParent()->clientMove($this->getParent()->whoamiGet("client_id"), $this->getId(), $cpw);
        }

        $this->execute(
            "plugincmd",
            array(
                "name" => $plugin,
                "data" => $data,
                "targetmode" => $subscribed ? TeamSpeak3::PLUGINCMD_CHANNEL_SUBSCRIBED : TeamSpeak3::PLUGINCMD_CHANNEL
            )
        );
    }