Allow custom update URLs for modules

This commit is contained in:
2026-05-19 21:29:55 -04:00
parent 2543c7f19e
commit 42f7a02a7a
9 changed files with 224 additions and 42 deletions
@@ -124,7 +124,7 @@ public class PlexCMD extends ServerCommand
}
for (PlexModule module : plugin.getModuleManager().getModules())
{
plugin.getUpdateChecker().updateJar(sender, module.getPlexModuleFile().getName(), true);
plugin.getUpdateChecker().updateModuleJar(sender, module);
}
plugin.getModuleManager().reloadModules();
return context.mmString("<green>All modules updated and reloaded!");