public function onEnable() { error_reporting(0); @mkdir($this->getDataFolder()); self::$instance = $this; $this->getServer()->getPluginManager()->registerEvents($this, $this); $this->console = new ConsoleCommandSender(); \nao20010128nao\block\Block::pollute(); $this->ph1 = new PopupBroadcast("The game is running...\nPhase 1 - Collect Anything!"); $this->ph2 = new PopupBroadcast("The game is running...\nPhase 2 - Live or Die!"); $this->gameover = new PopupBroadcast("GAME OVER"); $this->wfp = new PopupBroadcast("Waiting for players..."); $this->shrinkBorder = new ShrinkBorder($this); $this->phase = 0; $this->onTimeup(); }