If you want a server setup for nearly any mod pack with zero effort, get a server with BisectHosting and receive 25% off your first month as a new customer using the code kreezxil
of us on Discord right now!
From a page that is GPLv3 licensed that sounds very familiar to this.
This is a mod that removes the need to ship a servers.dat file that overwrites player-added servers.
Stop shipping that file and add Desired Servers
! You can add multiple servers with a simple json format.
On first run, the mod will generate a desiredservers.json with the following content if one isn’t present:
"serverName": "Desired Server",
"serverName": "Another Desired Server!",
Adding a server is as simple as adding another json block with the details.
The server is added to the server list on load, if it is already there it will be ignored.
Server list JSON
Servers in the multiplayer screen
The Featured Servers/ folder now lives in the config folder.
The What and How
Forge didn’t like how the mod was laid out and wanted it to be more like the default example. So I added in some stuff for that. Also the mod was catching way too much stuff with reporting, so I unwrapped that added try/catch clauses where it was absolutely necessary.
* Same license as the original GPLv3 at www.curseforge.com/minecraft/mc-mods/featured-servers
* ported to 1.16.1
* source now available
* client only