▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Modpack Shipped Servers
Modpack Shipped Servers

Modpack Shipped Servers

Allows Modpacks to ship default servers, that players can then choose to remove if they want to.

4.7K
1

Modpack Shipped Servers

modrinth codeberg

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 be enabled, disabled, or prompt. Case-insensitive.

Совместимость

Minecraft: Java Edition

26.1.x1.21.x1.20.x

Платформы

Поддерживаемые окружения

Клиент

Создатели

Детали

Лицензия:MIT
Опубликован:6 месяцев назад
Обновлён:2 месяца назад
Главная