Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Mango Mod License for Minecraft Java Edition

English · 繁體中文 · 简体中文

Current version / 目前版本 / 当前版本: 1.3 SPDX identifier: LicenseRef-Mango-Mod-License-1.3


English

A custom license for Minecraft Java Edition mods. It keeps the mod's own source code open under LGPL and keeps its art assets under All Rights Reserved. Minecraft and prerequisite mods are left under their own licenses.

Author & Collaborators

Role Name
Author YTMango (MangoJellyPudding / EvanHsieh0415)
Collaborator Claude (Anthropic): AI-assisted drafting and translation

Anthropic is not a party to this License and does not endorse it.

Repository Contents

File Description
LICENSE.md The full license text (English authoritative, plus Simplified and Traditional Chinese)
COPYING Full text of GNU GPL-3.0 (required by LGPL-3.0)
COPYING.LESSER Full text of GNU LGPL-3.0
README.md This file

Scope

This License is intended only for Minecraft Java Edition mods published by the Owner.

Category This project's own material Minecraft / prerequisite mods
Source code (incl. lang/ and data/ files) LGPL-3.0-or-later + Minecraft & prerequisite mod linking exception + dependent mod exception Not covered. They stay under their own licenses
Assets (textures, models, sounds, etc.) All Rights Reserved. Forks may use them, but ownership stays with the Owner Not covered. They stay under their own licenses
Distributed artifact Only the compiled .jar downloadable from CurseForge, Modrinth, MC百科, or the official GitHub Releases —

Key rules:

  • Modpacks: may include the unmodified .jar on CurseForge and Modrinth. Other platforms need prior permission. Modpacks must not remove or modify the license files inside the .jar.
  • Forks: unless approved as official, a fork must not use the original project name unchanged, and must clearly say it is unofficial in its name, its description, and every page where it is published.
  • Players and creators: playing (including on servers), screenshots, videos, and streams are all free.
  • Translations and data tweaks: language files and data files are LGPL, so translation packs and recipe/data tweaks are allowed.
  • Dependent mods: mods that only depend on or call this mod, without copying its code, may use any license. Embedding the unmodified .jar (Jar-in-Jar) is allowed.
  • Personal edits: you may modify the assets for private use (e.g. a personal resource pack), but not distribute them.

Notes

  • Not legal advice. This License was drafted with AI assistance and has not been reviewed by a lawyer. Use it at your own risk.
  • English prevails. The Chinese versions are translations for convenience only.
  • Always ship the GPL/LGPL texts. LGPL-3.0 requires both COPYING and COPYING.LESSER to accompany the code.
  • Pin the version. Each project should state which version of this License it uses. A newer version of this License does not automatically apply to existing releases.
  • Mojang. Mods using this License must also comply with the Minecraft EULA and the Minecraft Usage Guidelines. This License is not affiliated with Mojang Studios or Microsoft.
  • Vanilla code. Do not put decompiled Minecraft code into your project source. It cannot be licensed under LGPL.
  • Pure GPL libraries. Do not bundle libraries licensed under plain GPL (without a linking exception). Their authors have not granted the Minecraft exception, so the combination cannot be distributed.

How to Use

  1. Copy the files. Copy LICENSE.md, COPYING, and COPYING.LESSER into the root of your mod repository.
  2. Fill in the placeholders. In LICENSE.md, replace [OWNER] with the copyright holder and [YEAR] with the year (for example 2026 or 2026–present).
  3. Declare the license in mod metadata.
    • Fabric / Quilt (fabric.mod.json):
      "license": "LicenseRef-Mango-Mod-License-1.3"
    • Forge / NeoForge (mods.toml / neoforge.mods.toml):
      license = "LicenseRef-Mango-Mod-License-1.3"
  4. Bundle the license in the .jar (Gradle):
    jar {
        from("LICENSE.md", "COPYING", "COPYING.LESSER")
    }
  5. Set the license on each platform.
    • Modrinth: choose Custom, enter LicenseRef-Mango-Mod-License-1.3, and link to LICENSE.md in your repository.
    • CurseForge: choose Custom License and paste the contents of LICENSE.md.
    • MC百科: state the license name and link to LICENSE.md on the mod page.
  6. (Optional) Add SPDX headers to source files:
    // SPDX-License-Identifier: LicenseRef-Mango-Mod-License-1.3
  7. Mention it in your mod's README, for example:

    This mod is licensed under the Mango Mod License for Minecraft Java Edition 1.3.


繁體中文

這是一份專為 Minecraft Java 版模組設計的自訂協議。模組本身的原始碼以 LGPL 開放,美術資產保留所有權利(ARR),Minecraft 本體與前置模組則維持其原有授權。

作者與協作者

角色 名稱
作者 YTMango (MangoJellyPudding / EvanHsieh0415)
協作者 Claude(Anthropic):AI 協助起草與翻譯

Anthropic 並非本協議的當事方,亦不為其背書。

倉庫內容

檔案 說明
LICENSE.md 協議全文(以英文為準,附簡體與繁體中文)
COPYING GNU GPL-3.0 全文(LGPL-3.0 要求附上)
COPYING.LESSER GNU LGPL-3.0 全文
README.md 本檔案

使用範圍

本協議僅適用於所有者發布的 Minecraft Java 版模組。

類別 本專案自己產出的內容 Minecraft 本體/前置模組
原始碼(含 lang/ 與 data/ 檔案) LGPL-3.0-or-later,附 Minecraft 與前置模組連結例外、依賴模組例外 不受本協議約束,維持其原有授權
資產(材質、模型、音效等) 保留所有權利(ARR);分支可使用,但所有權仍屬原所有者 不受本協議約束,維持其原有授權
產出物 僅限 CurseForge、Modrinth、MC百科 或官方 GitHub Releases 上可下載的編譯後 .jar —

重點規則:

  • 模組包:可在 CurseForge 與 Modrinth 上收錄未修改的 .jar;其他平台須事先取得同意;模組包不得刪除或修改 .jar 內的授權檔案。
  • 分支:除非經認可為官方分支,否則不得直接沿用原專案名稱,且須在名稱、描述及每個發布頁面清楚標明為非官方分支。
  • 玩家與創作者:遊玩(包括伺服器)、截圖、影片、直播皆不受限制。
  • 翻譯與資料調整:語言檔案與資料檔案屬於 LGPL,可自由製作翻譯包或調整配方等資料。
  • 依賴模組:僅依賴或呼叫本模組、未複製其程式碼的模組,可採用任何授權;可用 Jar-in-Jar 嵌入未修改的 .jar。
  • 個人修改:可為私人用途修改資產(例如個人資源包),但不得散布。

注意事項

  • 非法律意見:本協議在 AI 協助下起草,未經律師審閱,使用風險請自行承擔。
  • 以英文版為準:中文版本僅為方便閱讀的翻譯。
  • 務必附上 GPL/LGPL 全文:LGPL-3.0 要求程式碼必須同時附上 COPYING 與 COPYING.LESSER。
  • 固定版本:每個專案應註明使用的協議版本;本協議推出新版本時,不會自動套用到已發布的版本。
  • Mojang:使用本協議的模組也必須遵守 Minecraft EULA 與 Minecraft 使用準則。本協議與 Mojang Studios 或 Microsoft 無關。
  • 原版程式碼:不要把反編譯的 Minecraft 程式碼放進專案原始碼,這部分無法以 LGPL 授權。
  • 純 GPL 函式庫:不要打包純 GPL(無連結例外)的函式庫;其作者並未給予 Minecraft 例外,組合後的作品無法散布。

使用步驟

  1. 複製檔案:將 LICENSE.md、COPYING、COPYING.LESSER 複製到模組倉庫根目錄。
  2. 填入佔位符:將 LICENSE.md 中的 [OWNER] 換成著作權人,[YEAR] 換成年份(例如 2026 或 2026–present)。
  3. 在模組中繼資料中宣告授權:
    • Fabric/Quilt(fabric.mod.json):
      "license": "LicenseRef-Mango-Mod-License-1.3"
    • Forge/NeoForge(mods.toml/neoforge.mods.toml):
      license = "LicenseRef-Mango-Mod-License-1.3"
  4. 將協議打包進 .jar(Gradle):
    jar {
        from("LICENSE.md", "COPYING", "COPYING.LESSER")
    }
  5. 在各平台設定授權:
    • Modrinth:選擇 Custom,填入 LicenseRef-Mango-Mod-License-1.3,並連結到倉庫中的 LICENSE.md。
    • CurseForge:選擇 Custom License,貼上 LICENSE.md 的內容。
    • MC百科:在模組頁面註明協議名稱並附上 LICENSE.md 連結。
  6. (選用)在原始碼檔案加上 SPDX 標頭:
    // SPDX-License-Identifier: LicenseRef-Mango-Mod-License-1.3
  7. 在模組的 README 中註明,例如:

    本模組採用 Mango Mod License for Minecraft Java Edition 1.3 授權。


简体中文

这是一份专为 Minecraft Java 版模组设计的自定义协议。模组本身的源代码以 LGPL 开放,美术资源保留所有权利(ARR),Minecraft 本体与前置模组则维持其原有许可。

作者与协作者

角色 名称
作者 YTMango (MangoJellyPudding / EvanHsieh0415)
协作者 Claude(Anthropic):AI 协助起草与翻译

Anthropic 并非本协议的当事方,亦不为其背书。

仓库内容

文件 说明
LICENSE.md 协议全文(以英文为准,附简体与繁体中文)
COPYING GNU GPL-3.0 全文(LGPL-3.0 要求附上)
COPYING.LESSER GNU LGPL-3.0 全文
README.md 本文件

适用范围

本协议仅适用于所有者发布的 Minecraft Java 版模组。

类别 本项目自己产出的内容 Minecraft 本体/前置模组
源代码(含 lang/ 与 data/ 文件) LGPL-3.0-or-later,附 Minecraft 与前置模组链接例外、依赖模组例外 不受本协议约束,维持其原有许可
资源(纹理、模型、音效等) 保留所有权利(ARR);分支可使用,但所有权仍属原所有者 不受本协议约束,维持其原有许可
发布产物 仅限 CurseForge、Modrinth、MC百科 或官方 GitHub Releases 上可下载的编译后 .jar —

重点规则:

  • 整合包:可在 CurseForge 与 Modrinth 上收录未修改的 .jar;其他平台须事先取得许可;整合包不得删除或修改 .jar 内的许可文件。
  • 分支:除非经认可为官方分支,否则不得直接沿用原项目名称,且须在名称、描述及每个发布页面清楚标明为非官方分支。
  • 玩家与创作者:游玩(包括服务器)、截图、视频、直播均不受限制。
  • 翻译与数据调整:语言文件与数据文件属于 LGPL,可自由制作翻译包或调整配方等数据。
  • 依赖模组:仅依赖或调用本模组、未复制其代码的模组,可采用任何许可;可用 Jar-in-Jar 嵌入未修改的 .jar。
  • 个人修改:可为私人用途修改资源(例如个人资源包),但不得分发。

注意事项

  • 非法律意见:本协议在 AI 协助下起草,未经律师审阅,使用风险请自行承担。
  • 以英文版为准:中文版本仅为方便阅读的翻译。
  • 务必附上 GPL/LGPL 全文:LGPL-3.0 要求代码必须同时附上 COPYING 与 COPYING.LESSER。
  • 固定版本:每个项目应注明使用的协议版本;本协议推出新版本时,不会自动适用于已发布的版本。
  • Mojang:使用本协议的模组也必须遵守 Minecraft EULA 与 Minecraft 使用准则。本协议与 Mojang Studios 或 Microsoft 无关。
  • 原版代码:不要把反编译的 Minecraft 代码放进项目源代码,这部分无法以 LGPL 授权。
  • 纯 GPL 库:不要打包纯 GPL(无链接例外)的库;其作者并未给予 Minecraft 例外,组合后的作品无法分发。

使用步骤

  1. 复制文件:将 LICENSE.md、COPYING、COPYING.LESSER 复制到模组仓库根目录。
  2. 填入占位符:将 LICENSE.md 中的 [OWNER] 换成著作权人,[YEAR] 换成年份(例如 2026 或 2026–present)。
  3. 在模组元数据中声明许可:
    • Fabric/Quilt(fabric.mod.json):
      "license": "LicenseRef-Mango-Mod-License-1.3"
    • Forge/NeoForge(mods.toml/neoforge.mods.toml):
      license = "LicenseRef-Mango-Mod-License-1.3"
  4. 将协议打包进 .jar(Gradle):
    jar {
        from("LICENSE.md", "COPYING", "COPYING.LESSER")
    }
  5. 在各平台设置许可:
    • Modrinth:选择 Custom,填入 LicenseRef-Mango-Mod-License-1.3,并链接到仓库中的 LICENSE.md。
    • CurseForge:选择 Custom License,粘贴 LICENSE.md 的内容。
    • MC百科:在模组页面注明协议名称并附上 LICENSE.md 链接。
  6. (可选)在源代码文件加上 SPDX 标头:
    // SPDX-License-Identifier: LicenseRef-Mango-Mod-License-1.3
  7. 在模组的 README 中注明,例如:

    本模组采用 Mango Mod License for Minecraft Java Edition 1.3 授权。

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors