Forums Archived

This forum has been archived. No new posts can be made and no new users can sign up. It remains here for reference only.

Find the new forums here

ServerSync and Amp. I can't figure out how to do it.

  • Last Post 11 October 2020
AmpMinecraftLover posted this 09 October 2020

Hey everyone. I'm running AMP

I have discovered "ServerSync". When a client connects, they automatically copy the mod folder down from the server. Which is amazing. Kinda surprised when I searched the forum for it and didnt find it mentioned here.

I have the client side setup and done but I can't figure out how to do it in amp. This command must run before the server starts:

java -jar serversync-3.6.0.jar -a -p 33335 --server

For example here is their replacement for the bat file that starts the server:

@echo off
SET server_name=My Fancy Server
SET forge_java_arguments=-Xms2g -Xmx2g
SET serversync_java_arguments=

for %%f in (forge*.jar) do (SET forge=%%~nxf)
for %%f in (serversync*.jar) do (SET serversync=%%~nxf)
start "Forge - %server_name%" java %forge_java_arguments% -jar %forge% nogui
start "ServerSync - %server_name%" java %serversync_java_arguments% -jar %serversync% --server

Thanks! BTW I looooove amp!

Order By: Standard | Newest | Votes
AmpMinecraftLover posted this 09 October 2020

I feel like I'm SO CLOSE. Here is what im putting into the "Additional java options" field in AMP

-jar serversync-3.6.0.jar -a -p 33335 --server

And I get the following in the console:

Unmatched arguments from index 5: '-jar', 'forge-1.12.2-', 'nogui'
Usage: ServerSync [-hoqsV] [-a=<serveraddress>] [-p=<serverport>]
A utility for synchronizing a server<->client style game. -a, --address=<serveraddress>
The address of the server you wish to connect to.
-h, --help Show this help message and exit.
-o, --progress, progress-only Only show progress indication. Ignored if '-s', '--server' is specified.
-p, --port=<serverport> The port the server is running on.
-q, silent, --quiet Remove all GUI interaction. Ignored if '-s', '--server' is specified.
-s, server, --server Run the program in server mode.
-V, --version Print version information and exit.</serverport></serveraddress></-></serverport></serveraddress>

AmpMinecraftLover posted this 09 October 2020

UPDATE: This command works from outside of AMP by just using the command line:

javaw -jar serversync-3.6.0.jar -a -p 33335 --server

Now I just need to figure out how to get it to work in AMP.

AbhorrentJoel posted this 10 October 2020

Did you know there is a custom server type that can be found in Minecraft under the configuration menu? Now you do.

Set that Server Type to "Custom" and set the custom startup arguments to:

-jar {JarFile} -a -p 33335 --server

Make sure to select the correct server jar and it should launch. How well it behaves with AMP is something you will discover - the status for server will probably be broken, but it should still run.

AmpMinecraftLover posted this 10 October 2020

Thank you for the reply.

I was told in the discord channel to create another instance for serversync and use the above info you included. I tried doing the above in the same instance and serversync worked, but forge didnt load. I will post later with my success/failure and what I had to do to get it working. Would be great to have this as an option in AMP. I plan to submitting a feature request too.

AbhorrentJoel posted this 10 October 2020

You tried to run both in the same instance? I do not think that is possible. You need to make it in a new instance.

I do not know anything much about the application you are trying to use, but it may take some advanced configuration that may not be possible in AMP without its caveats unless the application in question allows for you to add files from a different Minecraft instance's directory by specifying in the:


Take a look at the wiki for ServerSync and see what you can find.

AmpMinecraftLover posted this 11 October 2020

Hey everyone.

I have tried and abandoned using serversync from inside of Amp. In all honesty, what would be required is a "run this command before loading minecraft server" field. I am now doing it from a bat file on the server that configures 7 different instances of serversync, It was worth a shot and thank you all for the assist.