package com.techcavern.wavetact;

import com.techcavern.wavetact.utils.CommandLineUtils;
import com.techcavern.wavetact.utils.GeneralRegistry;
import com.techcavern.wavetact.utils.IRCUtils;

import org.slf4j.impl.SimpleLogger;

@SuppressWarnings("ConstantConditions")
public class Main {


    public static void main(String[] args) throws Exception {
        CommandLineUtils.initializeCommandlines();
  //      CommandLineUtils.parseCommandLineArguments(args);
        System.out.println("Starting...");
        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");
        IRCUtils.registerCommands();
//        IRCUtils.registerNetworks();
        IRCUtils.registerDevServer();
        IRCUtils.loadSimpleActions();
        IRCUtils.loadSimpleMessages();
        IRCUtils.startThreads();
        GeneralRegistry.WaveTact.start();
    }
}

@@ -345,16 +345,146 @@
 ption %7B%0A
+        if (!Boolean.parseBoolean(System.getProperty(%22dev%22))) %7B%0A            System.out.println(%22Running in production mode%22);%0A    
         
@@ -528,24 +528,26 @@
 es();%0A  
-//
+   
       
+ 
 CommandL
@@ -600,42 +600,130 @@
     
-System.out.println(%22Starting...%22);
+%7D else %7B%0A            System.out.println(%22Running in developer mode%22);%0A            IRCUtils.registerDevServer();%0A        %7D%0A
 %0A   
@@ -940,32 +940,32 @@
 S_KEY, %22true%22);%0A
+
         IRCUtils
@@ -989,47 +989,8 @@
 ();%0A
-//        IRCUtils.registerNetworks();%0A
     

Add system parameter for dev mode