SvenKayser / JMOD

The Javascript MOD Loader
Other
8 stars 3 forks source link

Feature Request: servers.dat insertion #43

Open ghost opened 7 years ago

ghost commented 7 years ago

Something that might come in useful is the ability to add servers to the existing servers.dat list, so that a modpack can automatically include links to the servers that make use of it. This is mainly for Survival Industry to have "DirtHuts.com" as a server by default, without overwriting the servers.dat file during upgrades, which will wipe out all other servers that a player might have collected.

SvenKayser commented 7 years ago

Useful.

SvenKayser commented 7 years ago

Having looked at the issue a bit I actually start to question how useful this is - or I just don't see how it can be made done in a way that does not upset the server list anyways.

The problem is that if I shove a new server into the list, it will get saved like a normal entry. Now once the server changes, a new version of the jmod will ship a new entry. The old entry however will still be present.

Maybe there is a better way to do this, like presenting a special "login to this modpack featured server" button. But I don't think the standard list actually is the solution.