MinecraftStats icon indicating copy to clipboard operation
MinecraftStats copied to clipboard

Script to sync files from remote/hosted server

Open nugget opened this issue 3 years ago • 2 comments

This is a sample script which can sync the necessary files over FTP from a remote or hosted Minecraft server.

This is just one of many possible solutions to Issue #152

Happy to adjust to suit style/philosophy differences. Just let me know what you'd like to see.

nugget avatar Nov 25 '21 19:11 nugget

Thanks a lot! It looks simple enough and should be a good solution while this feature is not yet integrated in the Python part. I'm going to give it a try this weekend.

The only thing I'm against is configuring the host data (name, user and password) in a version-controlled file. If someone is keeping a Github fork, that's an accidental data leak waiting to happen. My solution is typically to have the script source in a config file with some gitignored extension, or have it auto-generate a dummy if it doesn't exist. I'll gladly add that myself.

pdinklag avatar Nov 26 '21 06:11 pdinklag

How's this look?

nugget avatar Nov 26 '21 18:11 nugget