use of net.aufdemrand.denizen.utilities.ScriptVersionChecker in project Denizen-For-Bukkit by DenizenScript.
the class DenizenCommandHandler method scriptcheck.
/*
* DENIZEN SCRIPTVERSIONS
*/
@Command(aliases = { "denizen" }, usage = "scriptversions", desc = "Shows the currently loaded version of your scripts and checks them against the script repo.", modifiers = { "scriptversions" }, min = 1, max = 3, permission = "denizen.basic")
public void scriptcheck(CommandContext args, CommandSender sender) throws CommandException {
sender.sendMessage(ChatColor.GREEN + "Checking " + VersionScriptContainer.scripts.size() + " script(s)!");
for (VersionScriptContainer cont : VersionScriptContainer.scripts) {
ScriptVersionChecker svc = new ScriptVersionChecker(cont);
svc.runme(sender);
}
}
Aggregations