介绍
Default Servers provides a simple solution for modpack creators trying to ship out default server lists to players.
Instead of overwriting the servers.dat file, which often leads to player-added servers being deleted on updates,
Default Servers allows you to ship default data inside config/default-servers.json. This file is loaded at runtime
and will populate the servers.dat file if it does not exist.
Usage
The default config file is composed of a list of server entries, as seen below:
{
"servers": [
{
"name": "All of Fabric",
"ip": "127.0.0.1",
"forced": false
},
{
"name": "My Epic Server",
"ip": "127.0.0.1",
"resources": "enabled",
"forced": false
},
{
"name": "Gamer Time",
"ip": "127.0.0.1",
"forced": true
}
]
}
name and ip fields are required, while resources and forced are optional.
Resources can be one of the following values:
- “enabled” – server will automatically download resource packs
- “disabled” – server will not download resource packs
- “prompt” – server will prompt for resource packs [default]
If forced is set to true (default: false), the server will be added to the servers.dat list on boot regardless of whether the file already exists.
If a server entry with the same IP address already exists, the entry will not be added.
License
Default Servers is available under MIT.
1.19.2 port by AnotherPillow, previous releases by Draylar & kaifabian.
常见问题
Default servers 支持哪些 Minecraft 版本?
Default servers 支持 Minecraft Java 版 1.19.2,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。
Default servers 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
Pillow 的其他作品
查看全部 →
Sky++
Yet another skyblock.net mod.
ResourceCounter
Yet another bedwars resource counter
Fire Aspect Tridents
Allowing tridents, ranged and melee to have fire aspect.
Noticeable Ancient Debris
A resource pack to make ancient debris more noticeable.
评论
登录后评论和评分