Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
Platforms
Links
Creators
Details
Licensed MIT
Published 4 days ago
Updated 3 days ago
Modpack Shipped Servers
A simple mod that allows modpack developers to define a default set of servers that the player can then choose to do with as they please.
This is useful for modpacks made for servers (or advertisement), so that they can easily provide a list of recommended servers for players to join.
When the mod first runs, it will check if there is already server data present. If any are detected, it simply does nothing. If not, it adds your servers.
Configuration
The mod uses a simple JSON file to define the servers. The file is located at config/shipped-servers.json
in the Minecraft directory.
Below is an example:
{
"servers": [
{
"name": "Example",
"address": "play.example.com",
"resourcePackPolicy": "prompt"
},
{
"name": "Another Example",
"address": "eu.example.com",
"resourcePackPolicy": "enabled"
},
{
"name": "Yet Another Example",
"address": "na.example.com",
"resourcePackPolicy": "disabled"
}
]
}
The servers
array can contain any number of server objects, each with the following properties:
name
: The name of the server as it will appear in the server list.address
: The address of the server (IP or domain).resourcePackPolicy
: The resource pack policy for the server. Can beenabled
,disabled
, orprompt
. Case-insensitive.