

如果你想要几乎零 effort 地搭建任何整合包的服务器,请通过 BisectHosting 获取服务器服务,并在使用代码 kreezxil 作为新客户时享受首月 25% 的折扣。
立即加入我们的 Discord:!
来自一个采用 GPLv3 许可协议的页面,听起来与此非常相似。
Fabric 版本现已 exclusively 位于:

Desired Servers
需要 Fabric API
这是一个模组,用于消除发送覆盖玩家添加的服务器的 servers.dat 文件的需求。
停止发送该文件,并添加 Desired Servers!你可以使用简单的 JSON 格式添加多个服务器。
首次运行时,如果不存在 desiredservers.json 文件,该模组将生成包含以下内容的新文件:
[
{
"serverName": "Desired Server",
"serverIP": "127.0.0.1"
},
{
"serverName": "Another Desired Server!",
"serverIP": "192.168.1.1"
}
]
添加服务器就像添加另一个带有详细信息的 JSON 块一样简单。
在加载时,服务器会被添加到服务器列表中;如果它已经存在,则会被忽略。
服务器列表 JSON
多人游戏屏幕中的服务器
The TidBit
Featured Servers/ 文件夹现在位于 config 文件夹中。
The What and How
Forge 不喜欢模组的布局方式,并希望其更像默认示例。所以我为此添加了一些内容。此外,模组在报告方面捕获了过多的内容,因此我在绝对必要的地方解包了添加的 try/catch 子句。

Other Info
* 与原始 GPLv3 相同的许可协议:
* 移植到 1.16.1
* 源代码现可提供
* 仅限客户端


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.
Fabric versions now exclusively at

Desired Servers
Requires Fabric API
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
* ported to 1.16.1
* source now available
* client only
评论 0
登录后参与评分
还没有评论,来抢沙发吧