mcgen is a Golang-based JSON web API for generating custom Minecraft achievements.
A demo of the UI and API is available at https://mcgen.menzerath.eu.
A simple UI is available at the base URL.
It allows you to generate achievements with a live preview using the API.
/api/v1/achievement?background=sword_diamond&title=Achievement%20Title&text=Achievement%20Text
{
"background": "sword_diamond",
"title": "Achievement Title",
"text": "Achievement Text"
}
We also support the legacy api of https://github.com/menzerath/minecraft-achievement-generator.
/a.php?i=3&h=Achievement%20Title&t=Achievement%20Text
We also support the legacy api of https://github.com/menzerath/minecraft-achievement-generator.
/a/3/Achievement%20Title/Achievement%20Text
Available icons are listed in this directory.
Use their filename without the .png
extension as the background
parameter.
To download an image, set the output
parameter to download
.
This is either in the query string or the JSON body.
Grab a current release for your platform and run the executable.
An http server will be exposed on port 8080 and serve the API.
Grab a current docker image from the GitHub Container Registry.
An http server will be exposed on port 8080 and serve the API.
Prometheus metrics are available at localhost:9100/metrics
.
"Minecraft" is a trademark of Notch Development AB.