public static void loadWorldsFromConfig() {
   try {
     ArrayList<Object> results =
         FOPMR_DatabaseInterface.getAsArrayList(null, null, "NAME", "WORLDS");
     for (Object result : results) {
       String worldName = (String) result;
       if (!FOPMR_DatabaseInterface.getBooleanFromTable("NAME", worldName, "ONENABLE", "WORLDS")) {
         continue;
       }
       if (((String)
               FOPMR_DatabaseInterface.getFromTable("NAME", worldName, "GENERATOR", "WORLDS"))
           .equalsIgnoreCase("flat")) {
         createNewWorld(
             worldName,
             new FOPMR_FlatGenerator(),
             FOPMR_Rank.getFromName(
                 ((String)
                     FOPMR_DatabaseInterface.getFromTable("NAME", worldName, "RANK", "WORLDS"))));
       } else if (((String)
               FOPMR_DatabaseInterface.getFromTable("NAME", worldName, "GENERATOR", "WORLDS"))
           .equalsIgnoreCase("default")) {
         createNewWorld(
             worldName,
             FOPMR_Rank.getFromName(
                 ((String)
                     FOPMR_DatabaseInterface.getFromTable("NAME", worldName, "RANK", "WORLDS"))));
       } else if (((String)
               FOPMR_DatabaseInterface.getFromTable("NAME", worldName, "GENERATOR", "WORLDS"))
           .equalsIgnoreCase("empty")) {
         createNewWorld(
             worldName,
             new FOPMR_EmptyGenerator(),
             FOPMR_Rank.getFromName(
                 ((String)
                     FOPMR_DatabaseInterface.getFromTable("NAME", worldName, "RANK", "WORLDS"))));
       } else if (((String)
               FOPMR_DatabaseInterface.getFromTable("NAME", worldName, "GENERATOR", "WORLDS"))
           .equalsIgnoreCase("rollinghills")) {
         createNewWorld(
             worldName,
             new FOPMR_RollinghillsGenerator(),
             FOPMR_Rank.getFromName(
                 ((String)
                     FOPMR_DatabaseInterface.getFromTable("NAME", worldName, "RANK", "WORLDS"))));
       } else {
         Bukkit.broadcastMessage(
             ChatColor.RED
                 + "The world: "
                 + worldName
                 + " could not be loaded because its generator was invalid!");
       }
     }
   } catch (Exception ex) {
     FreedomOpModRemastered.plugin.handleException(ex);
   }
 }
 public static void loadWorld(String worldName) {
   try {
     if (((String) FOPMR_DatabaseInterface.getFromTable("NAME", worldName, "GENERATOR", "WORLDS"))
         .equalsIgnoreCase("flat")) {
       createNewWorld(
           worldName,
           new FOPMR_FlatGenerator(),
           FOPMR_Rank.getFromName(
               ((String)
                   FOPMR_DatabaseInterface.getFromTable("NAME", worldName, "RANK", "WORLDS"))));
     } else if (((String)
             FOPMR_DatabaseInterface.getFromTable("NAME", worldName, "GENERATOR", "WORLDS"))
         .equalsIgnoreCase("default")) {
       createNewWorld(
           worldName,
           FOPMR_Rank.getFromName(
               ((String)
                   FOPMR_DatabaseInterface.getFromTable("NAME", worldName, "RANK", "WORLDS"))));
     } else if (((String)
             FOPMR_DatabaseInterface.getFromTable("NAME", worldName, "GENERATOR", "WORLDS"))
         .equalsIgnoreCase("empty")) {
       createNewWorld(
           worldName,
           new FOPMR_EmptyGenerator(),
           FOPMR_Rank.getFromName(
               ((String)
                   FOPMR_DatabaseInterface.getFromTable("NAME", worldName, "RANK", "WORLDS"))));
     } else if (((String)
             FOPMR_DatabaseInterface.getFromTable("NAME", worldName, "GENERATOR", "WORLDS"))
         .equalsIgnoreCase("rollinghills")) {
       createNewWorld(
           worldName,
           new FOPMR_RollinghillsGenerator(),
           FOPMR_Rank.getFromName(
               ((String)
                   FOPMR_DatabaseInterface.getFromTable("NAME", worldName, "RANK", "WORLDS"))));
     } else {
       Bukkit.broadcastMessage(
           ChatColor.RED
               + "The world: "
               + worldName
               + " could not be loaded because its generator was invalid!");
     }
   } catch (Exception ex) {
     FreedomOpModRemastered.plugin.handleException(ex);
   }
 }