Upload a ModDB release
upload_releaseUpload and publish a new mod release from a zip file. Auto-detects identifier and version from modinfo.json for game mods, requires confirmation, and cannot be replaced after publishing.
Instructions
Upload and publish a new release (zip in, one release out). For game mods the identifier/version are auto-detected from the zip's modinfo.json, and game_versions must be provided. The uploaded file cannot be replaced afterwards, so verify the build first. Requires confirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mod | Yes | Mod identifier: alias/name, numeric id, or ModDB URL/path (e.g. 'carrycapacity', '5894', '/show/mod/54807') | |
| confirm | No | Must be true; guards against accidental publication | |
| version | No | Release version (e.g. 1.2.0). Required for non-game-mod categories; ignored for game mods (taken from the zip) | |
| changelog | No | Changelog text in Markdown (optional but recommended) | |
| file_path | Yes | Absolute path to the .zip (or .dll/.cs) to upload, on the machine running this server | |
| game_versions | No | Compatible game versions, e.g. ["1.22.7", "1.22.6"] (required for game mods) |