diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java b/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java index d2d86ce7..5df0aede 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java @@ -394,6 +394,27 @@ public LaunchServer(Path dir) throws IOException, InvalidKeySpecException { } }); + if(config.permissionsHandler instanceof Reconfigurable) + reconfigurableManager.registerReconfigurable("permissionsHandler",(Reconfigurable) config.permissionsHandler); + if(config.authHandler instanceof Reconfigurable) + reconfigurableManager.registerReconfigurable("authHandler",(Reconfigurable) config.authHandler); + for(int i=0;i { + try { + mirrorManager.addMirror(s); + } catch (MalformedURLException e) { + e.printStackTrace(); + } + }); + // init modules modulesManager.initModules();