This is already exactly what it does. On every server start
, the files in the profile’s directory get copied over to the live servers directory if they differ. So, for your example of an FTB server, any files in this directory
/var/games/minecraft/profiles/some_ftb_profile
end up in /var/games/minecraft/servers/your_server_name
.
If you update the files in the live server directory, they stay there. In fact, if there are overlapping names, the files in the live
server directory will get overwritten by the ones from the profiles
directory.
Incidentally, there’s a reason that profiles aren’t editable within the web-ui, and it is to avoid precisely this. You can certainly make a given profile ftb
(or named whatever) and update the files within ftb
every time you want to make changes to mods, etc. Each time you start the server, each live server with that profile will get those new files… and it can work just fine … but that is going against the design of profiles and needlessly risking the uptime of your server in the case of mod conflicts.
Profiles were intended to be unchanging. If you have a forge 1.7.10 profile, for example, and it’s called forge-1.7.10
, there’s no reason to change the profile once it is known working. Even if you wished to have another forge 1.7.10 profile with simply different mods, you’d instead make a brand new profile named forge-1.7.10-different
, and either build the profile from scratch or copy the existing profile and update it/tweak it as desired.
Regardless of which option you preferred, forge-1.7.10
should be left untouched, because if by chance the combinations of mods you wished to use breaks the server from running, you could revert. If you have instead changed an existing set of known-working files, you have nothing to go back to. Even using restore points and archives is of no use, because they’ll be overwritten with the contents of profiles
upon start.
Long story short, profiles are working like you’re expecting them to–going one direction from profiles
to servers
…, but you are making it more difficult in your four steps than necessary.