public function onCommand(CommandSender $sender, Command $command, $label, array $args)
 {
     switch ($command->getName()) {
         case $this->db->get("mn"):
             if (!isset($args[0])) {
                 $sender->sendMessage(TextFormat::RED . $this->db->get("mn-usage"));
                 return;
             }
             $msg = implode(" ", $args);
             $this->sendPacket($msg);
             break;
     }
     return true;
 }
 public function run()
 {
     $db = PluginData::getInstance();
     $message = $db->get("mn-shutdown");
     $args = $this->getArgs();
     $message .= " : " . implode(" ", $args);
     if ($this->getServerName() == $db->get("serverName")) {
         $broadCaster = BroadCaster::getInstance()->receive($this->getServerName(), $message, true);
     }
     Server::getInstance()->getScheduler()->scheduleDelayedTask(new AutoStopTask(), 200);
 }