Required Variables
The CurseForge API token used to authenticate with the CurseForge API.You can generate an API token from your CurseForge account settings.Example:or with system properties:
The CurseForge project ID where the version will be uploaded.You can find your project ID in your project’s settings or URL.Example:or with system properties:
Optional Variables
The type of game this artifact is for.Valid values:or with system properties:
minecraft- Minecraft (Java Edition)hytale- Hytale
The release type of the artifact.Valid values:or with system properties:
release- Stable, production-ready releasebeta- Beta testing versionalpha- Alpha testing version
Space-separated list of Minecraft versions that this version supports.If not set, MCReleaser will use the common or with system properties:
GAME_VERSIONS variable as a fallback.Example:JSON array or formatted string defining relationships to other CurseForge projects.Relations specify dependencies, embedded libraries, incompatibilities, or optional integrations.Example:
Space-separated list of mod loaders that this version supports.Valid values: or with system properties:
forge, fabric, quilt, neoforge, riftExample:The minimum Java version required for this artifact.Valid values: or with system properties:
8, 16, 17, 18, 21, etc.Example:The environment(s) where this mod can run.Valid values:
client- Client-side onlyserver- Server-side onlyboth- Both client and server
Whether to manually create the release. When enabled, the release will not be automatically published and will require manual approval.Example:or with system properties:
Source Reference
CurseForge properties are defined in:Complete Example
Using Environment Variables
Using System Properties
GitHub Actions Workflow
Tips
- Store your
CURSEFORGE_TOKENas a secret in your CI/CD system - The project ID is numeric and can be found in your project’s settings
- Use the common
GAME_VERSIONSvariable to set versions for all platforms at once - CurseForge requires specific version strings - make sure they match CurseForge’s version format
- The changelog will be taken from the common
DESCRIPTIONvariable - Specify the Java version to help users understand compatibility requirements
- Use relations to declare dependencies on other mods like JEI or Fabric API