TerraFirmaCraft-The-Final-Frontier / FileDirector

Automated mod/file downloading.
https://www.curseforge.com/minecraft/mc-mods/filedirector
MIT License
8 stars 5 forks source link

Custom "Cannot Find Host" message when FD cannot find a text file. #6

Open Lylythii opened 1 year ago

Lylythii commented 1 year ago

Concept

For self hosted source content, files, or custom Git repositories. Authors could provide a host.txt file or similar.

This message, & a link to the host text file, should be specified in the modpack.json file. Similar to below;

{
    "packName": "Pack Name",
    "icon": {
        "path": "icon.png"
   },
    "host": {
        "hostFile": "website_url.host.txt",
        "hostOfflineReason": "This modpacks website is currently down for maintenance. Downloads are unavailable.",
        "hostOfflineReasonRemote": "website_url.reason.txt",
        "allowOfflineLaunch": false
   }
}

Definitions

Is this desperately needed? No, but a way to inform the user that the modpacks source is "currently unavailable", & why, helps reduce confusion.

End Goal