A lightweight, pure Java synchronization tool designed to keep Minecraft modpacks up to date across a group of players. It automatically mirrors the server's mod directory on the client's side, deleting extra mods and downloading missing or outdated ones.
- Zero Dependencies: Runs natively on pure Java. No external libraries are required.
- Secure by Design: Built-in protection against directory traversal attacks (uses strict memory mapping).
- Apt-like Progress Bar: Cool Linux-style terminal progress bar during downloads.
- Fast Hash Checking: Uses efficient MD5 chunking to verify file integrity instantly.
- Create a folder for your update server and place the
ModSyncServer.jarinside it. - In the same folder, create a configuration file named
modsync.confwith the following content:
PORT=12345
MOD_DIR=C:/path/to/your/server/mods
- Open your terminal in that folder and run the server:
java -jar ModSyncServer.jar- Create a folder anywhere on your computer and place the
ModSync.jarinside it. - In the same folder, create a configuration file named
modsync.confwith the following content:
SERVER_IP=SERVER_IP_HERE
PORT=12345
MOD_DIR=C:/Users/YOUR_USER/AppData/Roaming/.minecraft/mods
(Make sure to replace SERVER_IP_HERE with the host's IP address and fix the path to
your .minecraft/mods folder if needed).
- Run the sync tool via the terminal:
java -jar ModSync.jar- Once the progress bar reaches 100%, you are ready to open Minecraft and play!