Exemple #1
0
 public function onDisable()
 {
     $this->dataProvider->close();
     $this->getLogger()->info(TextFormat::GREEN . "Saving plots");
     $this->getLogger()->info(TextFormat::BLUE . "Disabled the plot framework!");
     $this->getLogger()->critical(TextFormat::RED . "Shutting down to protect plots");
     $this->getServer()->shutdown();
 }
Exemple #2
0
 public function onDisable()
 {
     if ($this->dataProvider !== null) {
         $this->dataProvider->close();
     }
 }
Exemple #3
0
 public function onDisable()
 {
     $this->dataProvider->close();
     $this->getLogger()->info(TextFormat::GREEN . "Saving plots");
     $this->getLogger()->info(TextFormat::BLUE . "Disabled the plot framework!");
 }