ClientModSync

Quick rating

ClientModSync

No reviews yet

Server provides mod files from clientmod, and clients synchronize based on configuration.

Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
Apache License 2.0
Latest Version
1.0.1
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

ClientModSync

Server provides mod files from clientmod, and clients synchronize based on configuration.

服务端提供 clientmod 内的模组文件,客户端按配置执行同步。

Features

  • Server:
    • Reads server_root/clientmod
    • Starts an HTTP sync service
    • Exposes:
      • GET /manifest.json
      • GET /mods/<fileName>
    • Client:
      • Checks whether synchronization is needed after mod load (at title screen)
      • If no sync is needed, no sync UI is shown
      • If sync is needed, shows sync UI
      • Supports manual click (Sync Now)
      • Supports auto mode (Auto Next Time) with 5-second countdown
      • Shows progress bar (by mod count), current mod, and realtime speed during sync
      • Automatically restarts client after sync completes to apply mod changes

功能说明

  • 服务端:
    • 读取 server_root/clientmod
    • 启动 HTTP 同步服务
    • 提供接口:
      • GET /manifest.json
      • GET /mods/<fileName>
    • 客户端:
      • 模组加载后(主菜单)先检查是否需要同步
      • 若检测为“不需要同步”,不会弹出同步界面
      • 若检测为“需要同步”,弹出同步界面
      • 支持手动点击(立即同步
      • 支持自动模式(下次及以后自动同步,展示 5 秒后自动执行)
      • 同步过程中显示进度条(按模组数量)、当前同步模组、实时速度
      • 同步完成后自动重启客户端以应用变更

Sync Modes

  • ADD_ONLY: Download missing mods only; do not delete extra local mods
  • STRICT: Strictly match server clientmod (download/update missing or mismatched mods, delete extra local mods)

同步模式

  • ADD_ONLY:缺少则补,多余不处理
  • STRICT:严格同步(缺少补齐、哈希不一致更新、多余删除)

Configuration

Config file: config/clientmodsync-common.toml

  • Server:

    • server.httpPort=58235
    • Client:

      • client.enabled=true
      • client.serverIp="" (empty = use current connected server address)
      • client.serverPort=58235
      • client.downloadThreads=4 (parallel download threads; higher is usually faster)
      • client.syncMode="ADD_ONLY" (ADD_ONLY or STRICT)

Client auto preference file:

  • config/clientmodsync-client.properties

配置

配置文件:config/clientmodsync-common.toml

  • 服务端:

    • server.httpPort=58235
    • 客户端:

      • client.enabled=true
      • client.serverIp=""(留空则使用当前连接服务器地址)
      • client.serverPort=58235
      • client.downloadThreads=4(并行下载线程数,越高通常越快)
      • client.syncMode="ADD_ONLY"ADD_ONLYSTRICT

客户端自动偏好配置文件:

  • config/clientmodsync-client.properties

Build

  • Requires JDK 17
  • Windows: gradlew build
  • Output: build/libs/clientmodsync-1.0.0.jar

构建

  • 需要 JDK 17
  • Windows:gradlew build
  • 产物:build/libs/clientmodsync-1.0.0.jar

Deployment

  1. Put clientmodsync-1.0.0.jar into both server and client mods
  2. Put required client mods into server clientmod
  3. Start server and launch client
  4. Run sync in UI and wait for automatic restart

部署

  1. clientmodsync-1.0.0.jar 放入服务端和客户端的 mods
  2. 将需要同步的模组放入服务端 clientmod
  3. 启动服务端并打开客户端
  4. 在弹窗执行同步,随后客户端会自动重启

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Modrinth
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works