跳到正文

Mods Type Checker

作者:PystoyPlayer

Checks if mods are client-side, server-side, or required on both.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

ModsChecker

CLI tool to audit Minecraft mods and flag client-only mods. It scans a mods folder, calculates hashes, and queries Modrinth and CurseForge to classify mods.

Гайд на русском: тут

Features

  • Modrinth lookup by SHA1.
  • CurseForge lookup by fingerprint (batch request).
  • Metadata detection from fabric.mod.json, META-INF/mods.toml, mcmod.info.
  • Client-only classification + heuristics.
  • Console summary and optional JSON report.
  • English/Russian output.

Requirements

  • Runtime: Java 8 to 25.
  • Build: JDK 17+ (Gradle 8.x requirement).

Build

./gradlew build

Resulting fat-jar:

build/libs/modschecker-1.0.0.jar

Run

java -jar modschecker-1.0.0.jar

Example output

Example output

Configuration file

On first run, a modschecker.properties file is created next to the jar (or in the working directory).

Example:

modsDir=./mods
curseforgeApiKey=
gameId=432
verbose=false
jsonOutput=
language=ru
pauseOnExit=true

CLI options

  • --modsDir <path>: Mods folder (default ./mods next to the jar or cwd).
  • --curseforgeApiKey <key>: API key (or env CURSEFORGE_API_KEY).
  • --gameId <int>: Default 432 (Minecraft).
  • --jsonOutput <path>: Save JSON report.
  • --verbose: Print extra diagnostics.
  • --language <lang>: ru or en.
  • --pause: Wait for Enter before exit (default on Windows).
  • --noPause: Do not wait for Enter.

Classification rules

A mod is considered client-only if:

  • Modrinth client_side=required and server_side=unsupported (client required), or
  • Modrinth client_side=required and server_side=optional (client preferred).

If Modrinth data is not available, a heuristic is used based on keywords in mod names.

Notes

  • CurseForge is used for identification only (no explicit client/server flags).
  • No infinite retries or loops; HTTP timeouts are used.

常见问题

Mods Type Checker 支持哪些 Minecraft 版本?

Mods Type Checker 支持 Minecraft Java 版 1.0–1.21.11,共 98 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Mods Type Checker 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

PystoyPlayer 的其他作品

查看全部 →