MinecraftStats
MinecraftStats copied to clipboard
Script to sync files from remote/hosted server
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.
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.
How's this look?