{"id":20333360,"url":"https://github.com/bepinex/bepinex.templates","last_synced_at":"2025-09-03T20:49:21.227Z","repository":{"id":40396836,"uuid":"407662489","full_name":"BepInEx/BepInEx.Templates","owner":"BepInEx","description":"A collection of dotnet templates for BepInEx","archived":false,"fork":false,"pushed_at":"2024-06-26T17:11:44.000Z","size":41,"stargazers_count":20,"open_issues_count":3,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-11T21:41:51.680Z","etag":null,"topics":["bepinex","templates"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BepInEx.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}},"created_at":"2021-09-17T19:49:30.000Z","updated_at":"2025-03-11T09:04:46.000Z","dependencies_parsed_at":"2024-02-18T01:24:43.427Z","dependency_job_id":"011d6b74-862e-4ae0-bb5e-e164ca553075","html_url":"https://github.com/BepInEx/BepInEx.Templates","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/BepInEx/BepInEx.Templates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BepInEx%2FBepInEx.Templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BepInEx%2FBepInEx.Templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BepInEx%2FBepInEx.Templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BepInEx%2FBepInEx.Templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BepInEx","download_url":"https://codeload.github.com/BepInEx/BepInEx.Templates/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BepInEx%2FBepInEx.Templates/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273509049,"owners_count":25118446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bepinex","templates"],"created_at":"2024-11-14T20:31:02.361Z","updated_at":"2025-09-03T20:49:21.200Z","avatar_url":"https://github.com/BepInEx.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BepInEx.Templates\n\nA collection of .NET project templates for BepInEx 5 and 6 plugins\n\n## Installation\n\nYou will need [.NET 6 or newer](https://dotnet.microsoft.com/download) to use the templates.\n\nTo install, use [dotnet](https://dotnet.microsoft.com/download) tool.\n\n### Install stable templates\n\nThese templates are for **BepInEx 5** and **BepInEx 6.0.0-pre**:\n\n```\ndotnet new install BepInEx.Templates --nuget-source https://nuget.bepinex.dev/v3/index.json\n```\n\nThis will install the following templates:\n\n| Templates                                    | Short Name           | Language   | Tags                                   |\n| -------------------------------------------- | -------------------- | ---------- | -------------------------------------- |\n| BepInEx 5 Plugin Template                    | bepinex5plugin       | [C#]       | BepInEx/BepInEx 5/Plugin               |\n| BepInEx 6 .NET Launcher Plugin Template      | bep6plugin_netfx     | [C#]       | BepInEx/BepInEx 6/Plugin/.NET Launcher |\n| BepInEx 6 Il2Cpp Plugin Template             | bep6plugin_il2cpp    | [C#]       | BepInEx/BepInEx 6/Plugin/Il2Cpp        |\n| BepInEx 6 Unity Mono Plugin Template         | bep6plugin_unitymono | [C#]       | BepInEx/BepInEx 6/Plugin/Unity Mono    |\n\n### Install Bleeding Edge templates\n\nThese templates are for **BepInEx 5** and **BepInEx 6.0.0-be** builds:\n\n```\ndotnet new install BepInEx.Templates::2.0.0-be.4 --nuget-source https://nuget.bepinex.dev/v3/index.json\n```\n\nThis will install the following project templates:\n\n| Templates                         | Short Name              | Language | Tags                                       |\n|-----------------------------------|-------------------------|----------|--------------------------------------------|\n| BepInEx 5 Plugin                  | bepinex5plugin          | [C#]     | BepInEx/BepInEx 5/Plugin                   |\n| BepInEx 6 .NET Core Plugin        | bep6plugin_coreclr      | [C#]     | BepInEx/BepInEx 6/Plugin/CoreCLR/.NET Core |\n| BepInEx 6 .NET Framework Plugin   | bep6plugin_netfx        | [C#]     | BepInEx/BepInEx 6/Plugin/.NET Framework    |\n| BepInEx 6 Unity Il2Cpp Plugin     | bep6plugin_unity_il2cpp | [C#]     | BepInEx/BepInEx 6/Plugin/Unity/Il2Cpp      |\n| BepInEx 6 Unity Mono Plugin       | bep6plugin_unity_mono   | [C#]     | BepInEx/BepInEx 6/Plugin/Unity/Mono        |\n\n## Using a template\n\nTo use a template, you can use `dotnet new` command.  \nIf you use Rider or Visual Studio 2022, you will be able to select the templates when creating a new solution.\n\nFor example, to create a BepInEx 5 plugin project:\n```\ndotnet new bepinex5plugin -n MyPluginName\n```\n\nThis will create a folder name MyPluginName with an example plugin project.\n\nAll templates have additional options. To view them, use `--help` switch. For example:\n\n```\ndotnet new bepinex5plugin --help\n```\n\nwill show additional options you can specify when creating a project:\n\n```\nOptions:\n  -T|--TargetFramework  The target framework for the project\n                        text - Optional\n                        Default: net35\n\n  -D|--Description      Plugin description\n                        text - Optional\n                        Default: My first plugin\n\n  -V|--Version          Plugin version\n                        text - Optional\n                        Default: 1.0.0\n```\n\n## Documentation, guides and more\n\nFor more guides, refer to [BepInEx Docs](https://docs.bepinex.dev).  \nIf you're writing a BepInEx plugin for the first time, [check out the plugin development walkthrough](https://docs.bepinex.dev/articles/dev_guide/plugin_tutorial/index.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbepinex%2Fbepinex.templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbepinex%2Fbepinex.templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbepinex%2Fbepinex.templates/lists"}