{"id":31003729,"url":"https://github.com/kade-github/menu-core","last_synced_at":"2026-03-04T21:32:27.143Z","repository":{"id":313421204,"uuid":"1051371061","full_name":"Kade-github/Menu-Core","owner":"Kade-github","description":"A FNF helper mod to enable multiple custom main menus and mod content switching.","archived":false,"fork":false,"pushed_at":"2026-02-28T02:25:20.000Z","size":3416,"stargazers_count":18,"open_issues_count":1,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-02-28T08:19:51.287Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kade-github.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-05T21:48:30.000Z","updated_at":"2026-02-03T04:08:54.000Z","dependencies_parsed_at":"2025-09-06T00:16:26.143Z","dependency_job_id":"cea061d2-9ba4-43a4-9ef9-018f79418cb1","html_url":"https://github.com/Kade-github/Menu-Core","commit_stats":null,"previous_names":["kade-github/menu-core"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/Kade-github/Menu-Core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kade-github%2FMenu-Core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kade-github%2FMenu-Core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kade-github%2FMenu-Core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kade-github%2FMenu-Core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kade-github","download_url":"https://codeload.github.com/Kade-github/Menu-Core/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kade-github%2FMenu-Core/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30093805,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T20:42:30.420Z","status":"ssl_error","status_checked_at":"2026-03-04T20:42:30.057Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-13T01:49:40.649Z","updated_at":"2026-03-04T21:32:27.131Z","avatar_url":"https://github.com/Kade-github.png","language":null,"readme":"# Menu Core\n\u003e A FNF helper mod to enable multiple custom main menus and mod content switching.\n\n**Current Funkin' Version:** `0.8.1`\n\nA Friday Night Funkin' mod to enable a custom menu at the start of the game. This menu will allow the user to switch between different mods and their own custom menus, to allow for custom mod content to be enabled/disabled, or grouped together.\n\n\u003cimg width=\"1280\" height=\"720\" alt=\"image\" src=\"https://github.com/user-attachments/assets/52320c53-0084-4494-8376-c11ec65e7125\" /\u003e\n\n# Download\nHead over to the [latest release](https://github.com/Kade-github/Menu-Core/releases/latest), and extract the folder `menu-core` into your mods folder!\n\n## Modders: How to implement?\n\n```haxe\npackage kade.hex;\n\nimport kade.hex.states.HexMainMenu;\n\nimport funkin.modding.module.Module;\nimport flixel.FlxState;\n\nimport funkin.modding.module.ModuleHandler;\n\nclass HMenuCore extends Module {\n    var modName = \"VS Hex\";\n    var modDescription = \"V.S Hex v3\";\n    var modAssetKey = \"mc_hex\";\n\n    var modState = null;\n\n    public function new() {\n        // Priority is set to 3 here.\n        super(\"HMenuCore\", 3);\n    }\n    \n    public function addVersion()\n    {\n        var mcHandle = ModuleHandler.getModule(\"MC_Data\");\n        if (mcHandle == null) {\n            trace(\"MenuCore: MC_Data not found!\");\n            return;\n        }\n\n        if (mcHandle.versions.indexOf(modName) != -1) {\n            // Already added\n            return;\n        }\n\n        modState = new HexMainMenu();\n        \n        mcHandle.addVersion(modName, modAssetKey, modDescription, modState);\n    }\n\n    public override function onStateChangeBegin(event:StateChangeScriptEvent):Void {\n        super.onStateChangeBegin(event);\n\n        addVersion();\n    }\n\n    public override function onCreate(event):Void {\n        super.onCreate(event);\n\n        addVersion();\n    }\n}\n```\n\nYou will create a module like so, name it whatever. Make sure it's `priority` is after **2**! After that, copy the three other non-constructor functions and change the top properties to what you'd like!\n\n```haxe\nvar modName = \"VS Hex\";\nvar modDescription = \"V.S Hex v3\";\nvar modAssetKey = \"mc_hex\";\n```\n\nThen at the bottom (in the `addVersion` method) you'll see \n```haxe\nmodState = new HexMainMenu();\n```\n\nIt's very important that you create a new custom state, like so:\n```haxe\npackage kade.hex.states;\n\nimport funkin.ui.MusicBeatState;\n\nclass HexMainMenu extends MusicBeatState {\n    public function new():Void {\n        super();\n    }\n\n    public override function create():Void {\n        super.create();\n    }\n\n    public override function update(elapsed:Float):Void {\n        super.update(elapsed);\n    }\n}\n```\n\nThen take that state and instantiate it in that variable.\n\nThe next step is to take the `mc_template.png` asset and change it to your mod's own icon.\n\nThen put it in your mods `shared/images/` folder, and you'll be done!\n\n### Todo\n\n- Animation for selection\n\n### Credits\n\n\u003e Music\n\nCreated by Kade\n\n\n\u003e Assets\n\nCreated by YingYang\n\n\n*Originally created for V.S Hex v3!*\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkade-github%2Fmenu-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkade-github%2Fmenu-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkade-github%2Fmenu-core/lists"}