Curse Download Widget

Widgets for curse.com hosted projects, quick and easy project overview and download information anywhere on the web.

Embeddable curse.com project widgets for minecraftforum.net and beyond, and a JSON API for consuming curse.com project information on your website. Widget is open source on GitHub and contributions of new widget themes are encouraged.

Minecraft Forum

Embedding a curse.com project widget on minecraftforum.net is simple, use the mod, texturepack or world bbcode to place any number of widgets anywhere in your forum topics. Projects are identified by their curse.com slug or a unique CurseForge project ID.

The optional version parameter accepts a Release Type, Major Version, Major Version with Release Type, or File ID.

Mod

Embed a download widget for the latest version of Mine & Blade: Battlegear 2

[mod]mb-battlegear-2[/mod]

Embed a download widget for version 1.6.4 of Mine & Blade: Battlegear 2

[mod="1.6.4"]mb-battlegear-2[/mod]

Embed a download widget for the latest file with a release type beta of Mine & Blade: Battlegear 2

[mod="beta"]mb-battlegear-2[/mod]

Embed a download widget for the version 1.6.2 beta of Mine & Blade: Battlegear 2

[mod="1.6.2/beta"]mb-battlegear-2[/mod]

Embed a download widget for the #727805 file of Mine & Blade: Battlegear 2

[mod="727805"]mb-battlegear-2[/mod]

Texture Pack

Embed a download widget for the latest version of Equanimity [32x]

[texturepack]equanimity-32x-1-7-x-1-6-x[/texturepack]

Embed a download widget for version 1.7.2 of Equanimity [32x]

[texturepack="1.7.2"]equanimity-32x-1-7-x-1-6-x[/texturepack]

World

Embed a download widget for the latest version of Diversity

[world]diversity[/world]

Embed a download widget for version 1.6.4 of Diversity

[world="1.6.4"]diversity[/world]

Customization

Embed a download widget for the latest version of Lucky Block Spiral

[customization]229041-lucky-block-spiral-1-8-lucky-block-addon[/customization]

Embed a download widget for version 1.8.0 Lucky Block Spiral

[customization="1.8"]229041-lucky-block-spiral-1-8-lucky-block-addon[/customization]

Modpack

Embed a download widget for the latest version of FTB Infinity

[modpack]227724-ftb-infinity[/modpack]

Embed a download widget for latest beta of FTB Infinity

[modpack="beta"]227724-ftb-infinity[/modpack]

Elsewhere

Widgets are embedded using iframes, create an iframe anywhere on your page referencing widget.mcf.li followed by the curse.com identifier for your project. The identifier of your project is the path immediately following curse.com, for example the identifier for curse.com/mc-mods/minecraft/mb-battlegear-2 is mc-mods/minecraft/mb-battlegear-2.

<iframe src="https://widget.mcf.li/mc-mods/minecraft/mb-battlegear-2" width="100%" style="border: none;"></iframe>

Optionally specify the version to be downloaded using the version parameter, by default the latest version will be used.

<iframe src="https://widget.mcf.li/mc-mods/minecraft/mb-battlegear-2?version=1.6.4" width="100%" style="border: none;"></iframe>

The widget is available over both http and https, https is preferred but at this time it is not forced. This may change in future, if you have a specific reason for needing http please add a comment to this issue on GitHub.

API

Append .json to any widget URL and a full JSON representation of all of the data available for a project will be returned, eg: mc-mods/minecraft/mb-battlegear-2.json

Notes

Project data is cached for an hour.

If you are having any problems using the widgets please contact citricsquid. Reach via E-mail (sryan@curse.com), via IRC (citricsquid on irc.esper.net) or via Private Message on minecraftforum.net .