MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / start

Method start

src/main/java/cc/slack/start/Slack.java:49–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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);

Callers 2

onEnableMethod · 0.45
onUpdateMethod · 0.45

Calls 11

printMethod · 0.95
registerMethod · 0.95
startMethod · 0.95
createMethod · 0.95
toggleMethod · 0.80
initAsyncSliderMethod · 0.80
getNameMethod · 0.65
getVersionMethod · 0.45
initializeMethod · 0.45
initMethod · 0.45
getInstanceMethod · 0.45

Tested by

no test coverage detected