


Developed by aedenthorn
just set consoel to true
If you want to complain or ask for help, don't, download decompile and fix it yourself
using BepInEx.Logging; using BepInEx; using HarmonyLib; using UnityEngine;
namespace EnableConsoleMine { [BepInPlugin("EnableConsoleMine", "(mod)EnableConsoleMine", "1.0.0.0")] public class EnableConsoleMine : BaseUnityPlugin { static ManualLogSource logger;
public void Awake()
{
Logger.LogInfo("Plugin EnableConsoleMine is enabled.");
logger = Logger;
Harmony.CreateAndPatchAll(typeof(EnableConsoleMine));
}
[HarmonyPrefix]
[HarmonyPatch(typeof(FejdStartup), "Awake")]
static void Prefix_FejdStartup_Awake()
{
Console.SetConsoleEnabled(true);
Debug.Log("Console has been enabled by EnableConsoleMine mod."); //Unity log
logger.LogInfo("Console has been enabled by EnableConsoleMine mod."); // BepInEx log
}
}
}
v1.0.0