When the command /kitpvp is executed, the only feedback I get is "Usage: /kitpvp" PHP: <?phpnamespace RumDaDuMCPE;use pocketmine\command\{CommandSender, Command};class Main extends \pocketmine\plugin\PluginBase {public function execute(CommandSender $player, Command $cmd, array $args, $label) {switch ($cmd->getName()) {case "kitpvp":$player->addTitle("§l§6RumBenCraft", "§a>> §l§eConnecting to Kit-PvP §r§a<<", 5, 80, 20);$packet = new \pocketmine\network\mcpe\protocol\TransferPacket();$packet->address = "here.there.what";$packet->port = 10;$player->dataPacket($packet);return true;}}} Spoiler name: Sub-Servers version: "1" author: RumDaDuMCPE api: [3.0.0-ALPHA6, 3.0.0-ALPHA5, 3.0.0-ALPHA7] main: RumDaDuMCPE\Main commands: kitpvp: description: "Transfers player to Kit-PvP" usage: "/kitpvp"
Solved. PHP: <?phpnamespace RumDaDuMCPE;use pocketmine\command\{CommandSender, Command};class Main extends \pocketmine\plugin\PluginBase {public function execute(CommandSender $sender, Command $command, $label, array $args) {switch ($command->getName()) {case "kitpvp":$sender->addTitle("§l§6RumBenCraft", "§a>> §l§eConnecting to Kit-PvP §r§a<<", 5, 80, 20);$packet = new \pocketmine\network\mcpe\protocol\TransferPacket();$packet->address = "here.there.whatt";$packet->port = 10;$sender->dataPacket($packet);return true;}}}