()
| 47 | public final String Website = "https://github.com/DGVPSH/SlackOpen"; |
| 48 | |
| 49 | public void start() { |
| 50 | PrintUtil.print("Initializing " + info.getName()); |
| 51 | Display.setTitle(info.getName() + " " + info.getVersion() + " BETA" ); |
| 52 | |
| 53 | EventUtil.register(this); |
| 54 | moduleManager.initialize(); |
| 55 | cmdManager.initialize(); |
| 56 | configManager.init(); |
| 57 | AccountManager.start(); |
| 58 | friendManager = new FriendManager(); |
| 59 | |
| 60 | |
| 61 | |
| 62 | // Default Modules |
| 63 | moduleManager.getInstance(RichPresence.class).toggle(); |
| 64 | moduleManager.getInstance(Animations.class).toggle(); |
| 65 | moduleManager.getInstance(Hud.class).toggle(); |
| 66 | moduleManager.getInstance(Sprint.class).toggle(); |
| 67 | moduleManager.getInstance(Tweaks.class).toggle(); |
| 68 | moduleManager.getInstance(TargetHUD.class).toggle(); |
| 69 | moduleManager.getInstance(Targets.class).toggle(); |
| 70 | |
| 71 | |
| 72 | try { |
| 73 | ViaMCP.create(); |
| 74 | ViaMCP.INSTANCE.initAsyncSlider(); |
| 75 | } catch (Exception e) { |
| 76 | // Dont more StrackTrace |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | public void shutdown() { |
| 81 | EventUtil.unRegister(this); |
no test coverage detected