Source code: https://github.com/SpecialAPI/NoConsole
Mod the Gungeon is deprecated, a config to disable the console is now a part of the MTG API: https://thunderstore.io/c/enter-the-gungeon/p/MtG_API/Mod_the_Gungeon_API/