Easy Mod Sync
Automatically sync files from servers to client or clients to clients upon joining with end to end encryption.
截图
介绍
Easy Mod Sync

Easy Mod Sync is a Fabric mod designed to synchronize specified files and directories from a Minecraft server or another client to connecting clients. It ensures that players have the necessary configs, mods, resource packs, or other assets required by the server before joining.
Features
- Delta Synchronization: The mod calculates MD5 hashes of the server’s tracked files and compares them against the client’s local files. The client only downloads files that are missing or differ from the server’s version.
- Transfer Methods:
- MINECRAFT (Default)(Slow): Transfers files using standard Minecraft custom payload packets, split into chunks. Suitable for configs or a handful of mods.
- EXTERNAL (Fast): Spawns a lightweight, internal HTTP server to handle file transfers. This method is optimized for larger files (such as big resource packs or hundreds of mods) to prevent stalling the main server thread.
- Security & Encryption:
- When using the
EXTERNALtransfer method, file payloads are encrypted using AES-GCM with single-use Session IDs generated per client connection. - The server enforces strict whitelisting, clients can only request files explicitly added to the sync registry. Directory traversal protections are built-in.
- Client Interface & Isolation:
- Connecting players are presented with a prompt detailing the risks, giving them the option to accept the download or disconnect.
- Files are initially downloaded to a temporary directory (
config/easymodsync/temp/). They are only moved to the active game directory when the transfer is 100% complete without errors and the player clicks “Finalize”. - There’s a scrollable event log on the progress screen to see live file transfers. Players can safely abort the transfer at any time using the Exit button.
Commands
EasyModSync includes in-game commands to manage the file sync registry (config/easymodsync/file_tree.json). These commands require Operator (OP) level 3 or higher.
/easymodsync add_files <path>Adds a specific file or recursively adds a directory to the sync list. The path must be relative to the server’s root directory. Example:/easymodsync add_files config/mypack/
/easymodsync remove_files <path>Removes a specific file or all files within a directory from the sync list. Example:/easymodsync remove_files config/old_settings.json
(Note: Command arguments support dynamic tab-completion for both local server files and currently tracked files to reduce lag that might come from recursively checking the full directory tree of the server. Due to this after typing a folder’s name press space and then backspace to get an updated list of files and directories within the folder)
Configuration
The mod’s config is stored in config/easymodsync.json and can be edited directly or via Mod Menu/Cloth Config.
| Option | Type | Default | Description |
| :— | :— | :— | :— |
| offerAdditionalFiles | Boolean | true | Toggles whether the server will prompt joining clients to download tracked files. |
| fileTransferMethod | Enum | MINECRAFT | Determines the protocol used to send files. Options are MINECRAFT (packet-based) or EXTERNAL (HTTP-based). |
| externalPort | Integer | 25652 | The port utilized by the built-in HTTP server if the EXTERNAL transfer method is selected. This port must be accessible to connecting clients (i.e the port needs to be open on the server or the client offering the files). |
Requirements
- Fabric Loader
- Fabric API
- Cloth Config API
常见问题
Easy Mod Sync 支持哪些 Minecraft 版本?
Easy Mod Sync 支持 Minecraft Java 版 26.2–26.3,共 2 个版本,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。
Easy Mod Sync 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。
frikinjay 的其他作品
查看全部 →Let Me Despawn
通过调整生物消失规则提升性能,告别那些烦人的意外永久存在生物。
Almanac Lib
一个独立于加载器的前置库,包含模组间复用的共享代码,并修复了空 NBT 问题。
Almanac
Almanac 是我的模组使用的一个前置库,主要提供跨加载器通用的共享代码,供多个模组复用,以避免代码重复。
More Villagers: Re-employed
新增多种村民职业和工作站,是原版 More Villagers 模组的移植版。
评论
登录后评论和评分