-
Notifications
You must be signed in to change notification settings - Fork 26
Automation
You may want to automate the process of running ServerSync before starting, if so there are two command-line/terminal switches/options available for that very purpose.
--progress
This will cause ServerSync to run its sync process and automatically close on completion, during the process ServerSync will display a GUI indicating progress.
--silent
This will cause ServerSync to run its sync process and automatically close on completion, this option will run in a headless state, no GUI or indication will be presented other than messages printed to the console that it was started from (if any, usually only debug)
Either of these can be added to a startup script used to run ServerSync and then open Minecraft (directly or through the launcher) to have a more streamlined workflow.
As of this time ServerSync has no way to sync from within a running forge environment, an unfortunate side effect of how forge works.
Example startup scripts for Minecraft:
SET pathToMinecraft="path..."
SET pathToLauncher="path..."
java -jar %pathToMinecraft%\serversync.jar --progress
java -jar %pathToLauncher%\Minecraft.exe Bob
SET pathToMinecraft="path..."
SET pathToLauncher="path..."
java -jar %pathToMinecraft%\serversync.jar --silent
java -jar %pathToLauncher%\Minecraft.exe Bob bobssupersecurepassword 127.0.0.1:38067
Note that we have not used START so ServerSync will block until completion in this script and we won't prematurely open up Minecraft
How to guides
- Quick start guide
- Server setup
- Redirecting files
- Using the command line
- Excluding files from sync or deletion
- Banning clients
Multiple profile management
Troubleshooting