package com.techcavern.wavetact;

import com.techcavern.wavetact.console.ConsoleClient;
import com.techcavern.wavetact.eventListeners.MCStatusListener;
import com.techcavern.wavetact.utils.ConfigUtils;
import com.techcavern.wavetact.utils.DatabaseUtils;
import com.techcavern.wavetact.utils.LoadUtils;
import com.techcavern.wavetact.utils.Registry;
import org.slf4j.impl.SimpleLogger;

import java.io.File;
import java.util.concurrent.TimeUnit;

@SuppressWarnings("ConstantConditions")
public class Main {

    public static void main(String[] args) throws Exception {

        System.err.println("\nWelcome to WaveTact!\n");

        System.setProperty(SimpleLogger.SHOW_DATE_TIME_KEY, "true");
        System.setProperty(SimpleLogger.DATE_TIME_FORMAT_KEY, "[yyyy/MM/dd HH:mm:ss]");
        System.setProperty(SimpleLogger.LEVEL_IN_BRACKETS_KEY, "true");
        if ((args.length >= 1) && args[0].equalsIgnoreCase("--client")) {
            ConsoleClient.go();
        } else if (new File("./console.unixsocket").exists()) {
            System.err.println("Instance already started");
            System.exit(0);
        } else {
            LoadUtils.initiateDatabaseConnection();
            LoadUtils.migrate();
            ConfigUtils.registerNetworks();
          LoadUtils.registerConsoleCommands();
            LoadUtils.registerIRCCommands();
            LoadUtils.registerCharReplacements();
            // LoadUtils.checkDuplicateIRCCommands();
            LoadUtils.registerAttacks();
            LoadUtils.registerEightball();
            LoadUtils.initializeAutoFlushWhoisCache();
           Registry.threadPool.execute(new MCStatusListener());
     //   DatabaseUtils.addNetwork("Esper", 6697, "irc.esper.net", "WTTest", "#tctest", null, false, "JZTech101", "nickserv", null, null, null, true);

        Registry.WaveTact.start();
            Registry.threadPool.execute(Registry.consoleServer);
            LoadUtils.initializeMessageQueue();
            LoadUtils.initializeBanQueue();
            Registry.threadPool.awaitTermination(Long.MAX_VALUE, TimeUnit.DAYS);
 //  }
    }
}

package com.techcavern.wavetact;

import com.techcavern.wavetact.console.ConsoleClient;
import com.techcavern.wavetact.eventListeners.MCStatusListener;
import com.techcavern.wavetact.utils.ConfigUtils;
import com.techcavern.wavetact.utils.DatabaseUtils;
import com.techcavern.wavetact.utils.LoadUtils;
import com.techcavern.wavetact.utils.Registry;
import org.slf4j.impl.SimpleLogger;

import java.io.File;
import java.util.concurrent.TimeUnit;

@SuppressWarnings("ConstantConditions")
public class Main {

    public static void main(String[] args) throws Exception {

        System.err.println("\nWelcome to WaveTact!\n");

        System.setProperty(SimpleLogger.SHOW_DATE_TIME_KEY, "true");
        System.setProperty(SimpleLogger.DATE_TIME_FORMAT_KEY, "[yyyy/MM/dd HH:mm:ss]");
        System.setProperty(SimpleLogger.LEVEL_IN_BRACKETS_KEY, "true");
        if ((args.length >= 1) && args[0].equalsIgnoreCase("--client")) {
            ConsoleClient.go();
        } else if (new File("./console.unixsocket").exists()) {
            System.err.println("Instance already started");
            System.exit(0);
        } else {
            LoadUtils.initiateDatabaseConnection();
            LoadUtils.migrate();
            ConfigUtils.registerNetworks();
            LoadUtils.registerConsoleCommands();
            LoadUtils.registerIRCCommands();
            LoadUtils.registerCharReplacements();
            // LoadUtils.checkDuplicateIRCCommands();
            LoadUtils.registerAttacks();
            LoadUtils.registerEightball();
            LoadUtils.initializeAutoFlushWhoisCache();
            Registry.threadPool.execute(new MCStatusListener());
            //   DatabaseUtils.addNetwork("Esper", 6697, "irc.esper.net", "WTTest", "#tctest", null, false, "JZTech101", "nickserv", null, null, null, true);

            Registry.WaveTact.start();
            Registry.threadPool.execute(Registry.consoleServer);
            LoadUtils.initializeMessageQueue();
            LoadUtils.initializeBanQueue();
            Registry.threadPool.awaitTermination(Long.MAX_VALUE, TimeUnit.DAYS);
            //  }
        }
    }
}

Fix missing bracket