public function onEnable() { $this->setEnabled(true); $this->loadConfiguration(); $this->qrlist = QRhelper::LoadQR($this); $this->getServer()->getPluginManager()->registerEvents(new QRcraftPlugInListener($this), $this); $this->log(TextFormat::GREEN . "QRcraft - Enabled"); }