53 $player = $this->fetchPermittedPlayerTarget($sender, $args[0], DefaultPermissionNames::COMMAND_TITLE_SELF, DefaultPermissionNames::COMMAND_TITLE_OTHER);
60 $player->removeTitles();
63 $player->resetTitles();
70 $player->sendTitle(implode(
" ", array_slice($args, 2)));
77 $player->sendSubTitle(implode(
" ", array_slice($args, 2)));
84 $player->sendActionBarMessage(implode(
" ", array_slice($args, 2)));
91 $player->setTitleDuration($this->getInteger($sender, $args[2]), $this->getInteger($sender, $args[3]), $this->getInteger($sender, $args[4]));
97 $sender->sendMessage(KnownTranslationFactory::commands_title_success());