ServerSync icon indicating copy to clipboard operation
ServerSync copied to clipboard

[Client] Launch ServerSync from Minecraft

Open vyamkovyi opened this issue 6 years ago • 3 comments

Just as title says. Instead of making people to launch jar file directly, just add a magical button somewhere that launches ServerSync and probably closes Minecraft. Can be OS-sensitive, as in Linux filesystem can go "out of sync" with running applications.

It is also possible to run ServerSync before actually loading any mods, hooking Minecraft startup I think. I'm not sure though.

vyamkovyi avatar Jun 11 '18 20:06 vyamkovyi

I looked into hooking Minecrafts startup previously, seemed rather hacky for minimal gains. **edit (note here that I did not exactly do extensive research on the subject)

Could probably just provide users a way to configure where their Minecraft launcher is and have SS start it after a sync. Though one person on curse did seem to have a way of running SS via MultiMC quite nicely.

I have considered adding a button to Minecraft before, the drawbacks put it on a backburner though:

  • Excess code noise handling Minecraft UI
  • Would need to open / close Minecraft multiple times with potentially (usually) massive load times
  • Forge does not currently have a nice way to reload / hot reload mods (that I know of) (and I don't have the space or time to digest how forge works to add it myself)

Not really opposed to the idea though.

rheimus avatar Jun 13 '18 10:06 rheimus

Setting this to backlog as it really relies on a feature that Forge does not currently have.

ServerSync could be used as a library for a different mod that adds in game UI for sync, the previously mentioned drawbacks would still be present though.

rheimus avatar Nov 07 '20 00:11 rheimus

Relates to #228

rheimus avatar Mar 27 '21 00:03 rheimus