/// <reference path="..\..\GSMyAdmin\WebRoot\Scripts\UI.js" />

this.plugin = {
    PushedMessage: function (source, message, parameters) {
        switch (message) {
            case "manualdownload":
                UI.ShowModalAsync("Manual Download Required", "Due to the FiveM developers placing a cloudflare challenge on their server downloads, it may unfortunately be necessary for the user to manually supply the server binaries at this time. Try again in a few moments, otherwise please download the file at the related link below, and upload it with its original name into the file managers top level directory (along side server-data and server-bin).", UI.Icons.Exclamation, UI.OKActionOnly, "FiveM Server Download", parameters);
        }
    }
};