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
Join atleast of us on Discord right now!
Â
From a page that is GPLv3 licensed that sounds very familiar to this.
Â
Desired Servers
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", "serverIP": "127.0.0.1" }, { "serverName": "Another Desired Server!", "serverIP": "192.168.1.1" } ]
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 TidBit
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.Â
Other Info
* Same license as the original GPLv3 at https://www.curseforge.com/minecraft/mc-mods/featured-servers-
ported to 1.16.1
-
source now available
-
client only