Harbour is designed to support not only the official runtime, but also alternative ones such as Forge and Fabric, making it flexible for modded server setups.
To set up Harbour from scratch, run the following command:
npm run initial-setupIf you're using pnpm, the equivalent command is:
pnpm run initial-setupThis will create the necessary directories for your base installation and regenerate configuration files like mods.json and runtime.json.
To run Harbour on a docker environment, please run the following command:
docker-compose up --build -dThis folder contains the URL from which the server should download the executable .jar file. The URL must point to a valid .jar file and be accessible via a standard HTTP request.
For the vanilla version, you can obtain this URL from Minecraft's official server download page. If you're using Fabric, use the URL from Fabric’s server download page.
This section lists all the mods. Harbour automatically downloads each one from its specified source and places it in the mods folder—no manual action required.
For a mod entry to work correctly, it should include the following properties:
Most of these properties are optional and serve primarily as additional information. As long as you provide a valid URL, the other fields can be left empty. However, including the three additional fields significantly improves the maintenance experience during upgrades.
If no mods are needed, simply use an empty array—that’s all you need.
{ "name": "Lithium", // Name of the mod "version": "0.11.2", // Version of the mod "gameVersion": "1.20.1", // Version of the game "url": "https://cdn.modrinth.com/data/gvQqBUqZ/versions/ZSNsJrPI/lithium-fabric-mc1.20.1-0.11.2.jar" // URL containing the .jar file }