Modpack Shipped Servers

Quick rating

Community listing page, reviews may not be monitored by the author.

Modpack Shipped Servers

By MaganoosOwner

No reviews yet

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

Mod Loaders
Minecraft
26.3 26.2

About

Description

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.