跳到正文

Desired Servers

Your desired servers will always be listed.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。


 

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

  • ported to 1.16.1
  • source now available
  • client only

常见问题

Desired Servers 支持哪些 Minecraft 版本?

Desired Servers 支持 Minecraft Java 版 1.12.2–1.21.1,共 15 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Desired Servers 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

Mrbysco 的其他作品

查看全部 →