public function registerDefaults()
 {
     if (is_array($commands = $this->plugin->getConfig()->get("commands"))) {
         $count = 0;
         foreach ($commands as $command) {
             if (!$this->isCommandRegistered($command["name"])) {
                 $rcmd = new RCMD(strtolower($command["name"]), isset($command["description"]) ? $command["description"] : "", isset($command["usage"]) ? $command["usage"] : "", (isset($command["aliases"]) and is_array($command["aliases"])) ? $command["aliases"] : []);
                 $this->addCommand($rcmd);
                 $count++;
             }
         }
         $this->plugin->getServer()->getLogger()->info("Loaded " . $count . "/" . count($commands) . " RCMD(s).");
     } else {
         $this->plugin->getServer()->getLogger()->critical("Failed to load RCMD(s), please make sure the config file is properly set up.");
     }
 }