From c2fe6a6bf4da26c689433a311cfc7485fec9a815 Mon Sep 17 00:00:00 2001 From: Lemon-miaow Date: Thu, 24 Sep 2026 00:59:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(plugins):=20loader=20mod=20metadata=20?= =?UTF-8?q?=E2=80=94=20AGPL-3.0-only=20license,=20real=20issue=20tracker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The three loader mods declared `license = "MIT"` (and Forge/NeoForge a placeholder `issueTrackerURL = https://example.invalid/felis`) while the repository is AGPL-3.0-only (README.md:73, LICENSE). The mods were added 2026-06-26, the LICENSE landed 2026-07-12 — stale leftovers that nothing ever read back: no CI job, no install path. Fabric loader prints the license from fabric.mod.json at boot and both mods.toml files are parsed by their loaders, so the wrong claim is user-visible. Align both with reality — boot-verified on real fabric/forge/neoforge dedicated servers (AUDIT-2026-09-22.md, batch 41). --- plugins/fabric/src/main/resources/fabric.mod.json | 2 +- plugins/forge/src/main/resources/META-INF/mods.toml | 4 ++-- plugins/neoforge/src/main/resources/META-INF/mods.toml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/fabric/src/main/resources/fabric.mod.json b/plugins/fabric/src/main/resources/fabric.mod.json index 5ed2fc9..1d65e66 100644 --- a/plugins/fabric/src/main/resources/fabric.mod.json +++ b/plugins/fabric/src/main/resources/fabric.mod.json @@ -5,7 +5,7 @@ "name": "Felis Link", "description": "In-game /link command: mints a one-time account-link code from felis-api.", "authors": ["Felis"], - "license": "MIT", + "license": "AGPL-3.0-only", "environment": "server", "entrypoints": { "server": ["best.lolicon.felis.fabric.FelisFabricMod"] diff --git a/plugins/forge/src/main/resources/META-INF/mods.toml b/plugins/forge/src/main/resources/META-INF/mods.toml index fb6c772..3f07485 100644 --- a/plugins/forge/src/main/resources/META-INF/mods.toml +++ b/plugins/forge/src/main/resources/META-INF/mods.toml @@ -1,7 +1,7 @@ modLoader = "javafml" loaderVersion = "[47,)" -license = "MIT" -issueTrackerURL = "https://example.invalid/felis" +license = "AGPL-3.0-only" +issueTrackerURL = "https://github.com/FelisMC/Felis/issues" [[mods]] modId = "felis_link" diff --git a/plugins/neoforge/src/main/resources/META-INF/mods.toml b/plugins/neoforge/src/main/resources/META-INF/mods.toml index 618e313..9dcdacf 100644 --- a/plugins/neoforge/src/main/resources/META-INF/mods.toml +++ b/plugins/neoforge/src/main/resources/META-INF/mods.toml @@ -1,7 +1,7 @@ modLoader = "javafml" loaderVersion = "[1,)" -license = "MIT" -issueTrackerURL = "https://example.invalid/felis" +license = "AGPL-3.0-only" +issueTrackerURL = "https://github.com/FelisMC/Felis/issues" [[mods]] modId = "felis_link"