This is a custom AMP (Application Management Panel) template for running Minecraft servers with modpacks from CurseForge and Modrinth.
minecraftmodpack.kvp- Main template configurationminecraftmodpackconfig.json- Server settings manifestminecraftmodpackports.json- Port configurationmodpack-install.ps1- PowerShell installer script (Windows)modpack-install.sh- Bash installer script (Linux)
Copy all template files to your AMP templates directory:
Windows:
C:\AMP\AMPTemplates\
Linux:
/home/amp/.ampdata/AMPTemplates/
Important: Make sure the installation scripts are executable on Linux:
chmod +x /home/amp/.ampdata/AMPTemplates/modpack-install.sh- Open AMP web interface
- Go to Instances → Create Instance
- Select Generic Module as the application type
- Choose the minecraftmodpack template from the dropdown
- Name your instance (e.g., "Modpack Server")
- Click Create
This template uses AMP's Update System to trigger modpack installation. Here's the workflow:
- You configure modpack settings in the GUI
- You check the "Install Modpack" checkbox
- You click the "Update" button in AMP (NOT the Start button)
- AMP's update system triggers the installation script:
- On Windows: Runs
modpack-install.ps1via PowerShell - On Linux: Runs
modpack-install.shvia Bash
- On Windows: Runs
- The script downloads and installs the modpack
- Once complete, you can start the server normally
Key Point: Use the Update button in AMP to trigger modpack installation, not the Start button!
This template allows you to choose a modpack in the AMP GUI and have it automatically download and set up the modded Minecraft server. Here's what happens:
- You configure the modpack settings in the AMP web interface
- You check the "Install Modpack" box and apply settings
- The template automatically:
- Downloads the modpack from CurseForge or Modrinth
- Extracts server files
- Detects and configures the server JAR
- Sets up all necessary files
- Prepares the server for startup
No manual file downloads or extractions needed - it's all done through the GUI!
Modrinth is the easiest option as it doesn't require an API key and has excellent API support.
-
Find a modpack on Modrinth
- Example: https://modrinth.com/modpack/better-minecraft
- Or browse: https://modrinth.com/modpacks
-
Get the project slug from the URL
- URL:
https://modrinth.com/modpack/better-minecraft - Slug:
better-minecraft
- URL:
-
Open AMP and go to your Minecraft Modpack server instance
-
Go to Configuration → Click on the Modpack section
-
Fill in the settings:
- Modpack Platform: Select
Modrinthfrom dropdown - Modpack ID/Slug: Enter
better-minecraft - Modpack Version: Enter
latest(or a specific version number) - Install Modpack: ✅ Check this box
- Modpack Platform: Select
-
Click "Update" at the top to save settings
-
Wait for installation
- The template will automatically download and install the modpack
- Watch the console for progress messages
- Installation typically takes 1-5 minutes depending on modpack size
-
Start the server
- Once installation completes, start the server normally
- The server will use the newly installed modpack
- All of Fabric:
aof- Popular fabric modpack - Better Minecraft:
better-minecraft- Enhanced vanilla experience - Fabulously Optimized:
fabulously-optimized- Performance-focused - Create: Above and Beyond:
create-above-and-beyond- Tech/automation - Medieval Minecraft:
medieval-minecraft- Medieval themed
CurseForge requires an API key for automated downloads.
- Go to https://console.curseforge.com/
- Create an account or log in
- Generate an API key
- Add the API key as an environment variable:
Windows (PowerShell):
[Environment]::SetEnvironmentVariable("CURSEFORGE_API_KEY", "your-api-key-here", "User")Linux (add to ~/.bashrc or AMP service file):
export CURSEFORGE_API_KEY="your-api-key-here"- Find a modpack on CurseForge (e.g., https://www.curseforge.com/minecraft/modpacks/all-the-mods-9)
- Get the project ID from the URL or page (numeric ID)
- In AMP, go to Configuration → Modpack Settings
- Set:
- Modpack Platform:
CurseForge - Modpack ID/Slug:
123456(project ID) - Modpack Version:
latest(or specific file ID)
- Modpack Platform:
- Click Install Modpack checkbox
- Click Update to apply settings
Note: Some CurseForge modpacks may require manual server file downloads due to API restrictions.
- Modpack Platform: Choose CurseForge, Modrinth, or None
- Modpack ID/Slug: Project identifier from the platform
- Modpack Version: Version to install (use "latest" for most recent)
- Install Modpack: Check to trigger installation
- Auto-Install on Startup: Automatically check for updates on server start
- Server JAR: Name of the server JAR file (auto-detected after modpack install)
- Initial Memory: Starting RAM allocation (MB)
- Maximum Memory: Maximum RAM allocation (MB)
- Server Port: Port for client connections (default: 25565)
- Server Name: Server MOTD (Message of the Day)
- Max Players: Maximum concurrent players
- Game Mode: Survival, Creative, Adventure, or Spectator
- Difficulty: Peaceful, Easy, Normal, or Hard
- Allow Nether: Enable/disable Nether dimension
- PvP Enabled: Enable player vs player combat
- Enable Command Blocks: Allow command blocks
- Online Mode: Enable Mojang authentication (disable for offline/cracked servers)
- Whitelist: Enable whitelist mode
- Spawn Protection: Radius of spawn protection in blocks
- View Distance: Server-side view distance (chunks)
- Simulation Distance: Active chunk distance around players
- Level Type: Default, Flat, Large Biomes, or Amplified
- Level Name: World folder name
- World Seed: Seed for world generation
- Generate Structures: Enable villages, strongholds, etc.
If automatic installation doesn't work:
- Download the modpack server files manually
- Extract to the Minecraft server directory in AMP
- Update the Server JAR setting to point to the correct JAR file
- Restart the server
- Modrinth: Check that the modpack slug is correct
- CurseForge: Verify your API key is set correctly
- Check AMP console output for error messages
- Verify Server JAR setting points to the correct file
- Ensure sufficient Maximum Memory is allocated
- Check that Java is installed and in the PATH
- Review server logs in AMP console
- Change Server Port in settings
- Ensure no other Minecraft servers are running on the same port
You can modify modpack-install.ps1 or modpack-install.sh to add custom installation logic:
- Pre-download mod installations
- Custom configuration file modifications
- Integration with other tools
To run multiple modpack servers:
- Create separate AMP instances
- Use different ports for each server
- Install different modpacks in each instance
- AMP v2.5.1.8 or higher
- Java 17 or higher (for modern Minecraft versions)
- Sufficient RAM (recommended: 4GB+ for most modpacks)
- Internet connection for modpack downloads
unzip- for extracting modpack archivescurlorwget- for downloading filesjq- for JSON parsing (optional, for enhanced features)
Install on Debian/Ubuntu:
sudo apt-get install unzip curl jqFor issues specific to this template:
- Check the AMP console for error messages
- Verify all files are correctly placed
- Ensure platform-specific scripts have execute permissions (Linux)
For AMP-related issues:
- Visit: https://github.com/CubeCoders/AMP
- Discord: https://discord.gg/cubecoders
For modpack-specific issues:
- Contact the modpack author
- Visit the modpack page on CurseForge or Modrinth
This template is provided as-is for use with AMP. Refer to individual modpack licenses for usage restrictions.
- Template created for the AMP community
- Uses CurseForge API: https://docs.curseforge.com/
- Uses Modrinth API: https://docs.modrinth.com/
- v1.0 - Initial release
- CurseForge support (with API key)
- Modrinth support
- Cross-platform (Windows/Linux)
- Automatic server configuration