// Path: src/main/java/com/github/lunatrius/core/proxy/CommonProxy.java
// public abstract class CommonProxy {
//     public void preInit(final FMLPreInitializationEvent event) {
//         Reference.logger = event.getModLog();
// 
//         FMLInterModComms.sendMessage(Reference.MODID, "checkUpdate", Reference.FORGE);
//     }
// 
//     public void init(final FMLInitializationEvent event) {
//     }
// 
//     public void postInit(final FMLPostInitializationEvent event) {
//         if (VersionChecker.isAllowedToCheck("Global") && ConfigurationHandler.VersionCheck.checkForUpdates) {
//             VersionChecker.startVersionCheck();
//         }
//     }
// 
//     public void processIMC(final FMLInterModComms.IMCEvent event) {
//         for (final FMLInterModComms.IMCMessage message : event.getMessages()) {
//             if ("checkUpdate".equals(message.key) && message.isStringMessage()) {
//                 processMessage(message.getSender(), message.getStringValue());
//             }
//         }
//     }
// 
//     private void processMessage(final String sender, final String forgeVersion) {
//         final ModContainer container = Loader.instance().getIndexedModList().get(sender);
//         if (container != null) {
//             VersionChecker.registerMod(container, forgeVersion);
//         }
//     }
// }
// 
// Path: src/main/java/com/github/lunatrius/core/reference/Reference.java
// public class Reference {
//     public static final String MODID = "lunatriuscore";
//     public static final String NAME = "LunatriusCore";
//     public static final String VERSION = "${version}";
//     public static final String FORGE = "${forgeversion}";
//     public static final String MINECRAFT = "${mcversion}";
//     public static final String PROXY_SERVER = "com.github.lunatrius.core.proxy.ServerProxy";
//     public static final String PROXY_CLIENT = "com.github.lunatrius.core.proxy.ClientProxy";
// 
//     public static Logger logger = LogManager.getLogger(Reference.MODID);
// }


import com.github.lunatrius.core.proxy.CommonProxy;
import com.github.lunatrius.core.reference.Reference;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLInterModComms;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.network.NetworkCheckHandler;
import net.minecraftforge.fml.relauncher.Side;
import java.util.Map;
package com.github.lunatrius.core;



@Mod(modid = Reference.MODID, name = Reference.NAME, version = Reference.VERSION)
public class LunatriusCore {
    @SidedProxy(serverSide = Reference.PROXY_SERVER, clientSide = Reference.PROXY_CLIENT)
// Path: src/main/java/com/github/lunatrius/core/proxy/CommonProxy.java
// public abstract class CommonProxy {
//     public void preInit(final FMLPreInitializationEvent event) {
//         Reference.logger = event.getModLog();
// 
//         FMLInterModComms.sendMessage(Reference.MODID, "checkUpdate", Reference.FORGE);
//     }
// 
//     public void init(final FMLInitializationEvent event) {
//     }
// 
//     public void postInit(final FMLPostInitializationEvent event) {
//         if (VersionChecker.isAllowedToCheck("Global") && ConfigurationHandler.VersionCheck.checkForUpdates) {
//             VersionChecker.startVersionCheck();
//         }
//     }
// 
//     public void processIMC(final FMLInterModComms.IMCEvent event) {
//         for (final FMLInterModComms.IMCMessage message : event.getMessages()) {
//             if ("checkUpdate".equals(message.key) && message.isStringMessage()) {
//                 processMessage(message.getSender(), message.getStringValue());
//             }
//         }
//     }
// 
//     private void processMessage(final String sender, final String forgeVersion) {
//         final ModContainer container = Loader.instance().getIndexedModList().get(sender);
//         if (container != null) {
//             VersionChecker.registerMod(container, forgeVersion);
//         }
//     }
// }
// 
// Path: src/main/java/com/github/lunatrius/core/reference/Reference.java
// public class Reference {
//     public static final String MODID = "lunatriuscore";
//     public static final String NAME = "LunatriusCore";
//     public static final String VERSION = "${version}";
//     public static final String FORGE = "${forgeversion}";
//     public static final String MINECRAFT = "${mcversion}";
//     public static final String PROXY_SERVER = "com.github.lunatrius.core.proxy.ServerProxy";
//     public static final String PROXY_CLIENT = "com.github.lunatrius.core.proxy.ClientProxy";
// 
//     public static Logger logger = LogManager.getLogger(Reference.MODID);
// }


// Path: src/main/java/com/github/lunatrius/core/LunatriusCore.java
import com.github.lunatrius.core.proxy.CommonProxy;
import com.github.lunatrius.core.reference.Reference;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLInterModComms;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.network.NetworkCheckHandler;
import net.minecraftforge.fml.relauncher.Side;
import java.util.Map;

package com.github.lunatrius.core;



@Mod(modid = Reference.MODID, name = Reference.NAME, version = Reference.VERSION)
public class LunatriusCore {
    @SidedProxy(serverSide = Reference.PROXY_SERVER, clientSide = Reference.PROXY_CLIENT)
    public static CommonProxy proxy;