Hey everyone. I'm running AMP 2.0.6.4
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.
https://github.com/superzanti/ServerSync https://www.curseforge.com/minecraft/mc-mods/serversync
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 192.168.1.51 -p 33335 --server
For example here is their replacement for the bat file that starts the server:
@echo off
SETLOCAL
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
ENDLOCAL
Thanks! BTW I looooove amp!