Mod Desired Servers by Kreezxil
- 18.58 KB
- 1.20.1
- July 22, 2020
- July 1, 2023
- Miscellaneous
Name | Desired Servers | Author | Kreezxil | Description | Your desired servers will always be listed. |
---|---|---|---|---|---|
Information | Downloads: Version: 1.20.1 Size: 18.58 KB Updated at: July 1, 2023 Created at: July 22, 2020 | Tags | Miscellaneous |
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
From a page that is GPLv3 licensed that sounds very familiar to this.
Fabric versions require Fabric API.
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.
Neat Feature
You can colorize your server entries using /u (universal) and semoleans.
We tested putting §6
inside the servername in the desiredservers.json
Same works on fabric
CMS COMPATIBILITY
The only thing cms does is allow you to do color codes using %
instead of §
So there's no reason to even add CMS support
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