Sync configs with server.

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
Status
Not open for further replies.

poxun

New Member
Jul 29, 2019
22
0
0
I can understand why this isn't possible at the point when you normally connect to a server since configs get read at client startup but I have a potential solution. I also understand that the mod packs will go a long way to offest the sync problem but server admins do like to 'tweak' their configs.

Add a (fairly simple to do) serverside mod that will serve up the server's config pack over http/ftp/something on a specified port (lets say server port +1000). It would be a good idea to add some spam/ddos protection but it shouldn't be too hard. You could also use this to confirm that the user is connecting with the correct modpack improving the experience for the confused noob.

The user could then add the server he/she intends to connect to into a list in the launcher. Just before launch the launcher (either with the user pressing an update configs button or automatically) could retrieve the configs from the server and create a specific config/sub-instance of the correct modpack for that server.

Of course this would be under control of the server admin with configs/port blocking etc.

This would go a long way to alleviate the GregsTech recipe miss-match issues ;)
 

SomeLuigi

New Member
Jul 29, 2019
9
0
0
It wouldn't need to use a different port probably. Considering configs are in text, you don't need fancy binary transmission or anything like that.
 

TheSandwichMakr

New Member
Jul 29, 2019
582
0
0
I think this would be a neat idea but rather than the server providing the configs it sends some data with a link to the configs a bit like how it does texturepacks except it sends it with the serverlist ping response. The vanilla client would ignore the extra data but the ftb launcher could download the configs.
 

sciguyryan

New Member
Jul 29, 2019
269
0
0
This would be incredibly handy but I'm not sure how easy this would be to do. It would a nice idea if this were available however as transferring configs on large servers can be a real pain when things are changed. If this could be automated it would save server administrators a great deal of work.
 
Status
Not open for further replies.