[ { type = "custom-api"; title = "Minecraft"; url = "https://api.mcstatus.io/v2/status/java/\${MC_SERVER_URL}"; cache = "30s"; template = "
\n
\n {{ if .JSON.Bool \"online\" }}\n \n {{ else }}\n \n \n \n {{ end }}\n
\n\n
\n \n {{ .JSON.String \"host\" }}\n {{ if .JSON.Bool \"online\" }}\n \n {{ else }}\n \n {{ end }}\n \n\n \n
\n
"; } ]