public function onEnable()
 {
     $this->saveDefaultConfig();
     $this->configuration = new Configuration($this->getConfig());
     $this->console = new ConsoleSubscriber($this, $this->configuration->getConsoleName());
     $this->chanMgr = new ChannelManager($this);
     $this->chanMgr->addChannel($this->configuration->getDefaultChannel(), $this->console, true);
     // must be free join
     $this->prefixes = new PrefixAPI($this);
     $this->getServer()->getPluginManager()->registerEvents($this->sessions = new SessionControl($this), $this);
     $this->getServer()->getCommandMap()->registerAll("chan", [new ForceRankCommand($this, "mod", Channel::MODE_MOD, "fa"), new ForceRankCommand($this, "admin", Channel::MODE_ADMIN, "fa")]);
 }