This tool is for those who want to self host a server but rarely have a time to.
For example, let's say a friend wants to play on your server but you're not home to host it. One possible solution to this would be for that friend to just drag and drop the server files into a singleplayer world, play on it, then drag and drop the changes back on the server before you come back.
But... That's kind of tedious. So I made this tool to automate that. Using 'feature set 0' of this repo will allow you to run a program that automically detects when you open and close minecraft, doing all the syncing in the background. No need for the manual labor!
git clone https://github.com/neskech/Minecraft-Sync.git git clone git@github.com:neskech/Minecraft-Sync.git 1b. If you dont want to build the app yourself then download one of these executables
2. Run this command in order to set the configuration of the application, please do every command besides ServerDirectory. Unless you are hosting a server.
./<your_executable_here> -f 2 -hUse this command to get a brief overview of the application
./<your_executable_here> -H What each command does:
- Detects when you're on Minecraft, downloads from the cloud if needed, automatically retrieves your changes, and uploads them to the git.
- Manual uploading and downloading.
- Sets configuration data, this must be done first before using the rest of the application.
If you're doing this on windows make sure to include the .exe extension
git clone https://github.com/neskech/Minecraft-Sync.git npm i
npm run build cd bin
chmod +x index
./index -H ./index -f 2 -h./index -f 2 -d <your singelplayer world directory>./index -f 2 -s <your server directory> ./index -f 2 -u <username>./index -f 2 -a <your sync directory>./index -r <your git repository url>./index -p <your process name>./index -f 1 -o down./index -f 1 -o up./index -f 2