File tree Expand file tree Collapse file tree 4 files changed +22
-3
lines changed
org/mangorage/mangobotplugin Expand file tree Collapse file tree 4 files changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ dependencies {
7070
7171 installer(' org.mangorage:installer:4.0.13' )
7272
73- bootstrap(" org.mangorage:mangobotbootstrap:1.0.22 " )
73+ bootstrap(" org.mangorage:mangobotbootstrap:1.0.27 " )
7474 plugin(' org.mangorage:mangobot:12.0.61' )
7575
7676 library ' org.slf4j:slf4j-simple:2.0.13' // Use a recent version)
Original file line number Diff line number Diff line change 33
44 requires net .dv8tion .jda ;
55 requires com .google .gson ;
6- requires jdk .unsupported ;
76
87 requires net .minecraftforge .eventbus ;
98 requires org .jetbrains .annotations ;
1413 requires java .desktop ;
1514 requires luaj .jme ;
1615 requires org .apache .logging .log4j ;
16+ requires org .mangorage .bootstrap ;
1717
1818
1919 exports org .mangorage .mangobotplugin .entrypoint ;
2828 opens org .mangorage .mangobotplugin .commands .music ;
2929
3030 provides org .mangorage .mangobotcore .plugin .api .Plugin with org .mangorage .mangobotplugin .entrypoint .MangoBot ;
31+ provides org .mangorage .bootstrap .api .module .IModuleConfigurator with org .mangorage .mangobotplugin .module .ModuleConfigurator ;
32+
3133 uses org .mangorage .mangobotcore .plugin .api .Plugin ;
3234}
Original file line number Diff line number Diff line change @@ -83,7 +83,6 @@ public final class MangoBot implements Plugin {
8383 private JDA jda ;
8484
8585 public MangoBot () {
86-
8786 ACTION_REGISTRY .register (new TrashButtonAction ());
8887
8988 commandManager .register (new EmojiCommand ());
Original file line number Diff line number Diff line change 1+ package org .mangorage .mangobotplugin .module ;
2+
3+
4+ import org .mangorage .bootstrap .api .module .IModuleConfigurator ;
5+
6+ import java .util .List ;
7+
8+ public final class ModuleConfigurator implements IModuleConfigurator {
9+
10+ @ Override
11+ public List <String > getChildren (String s ) {
12+ System .out .println ("Found This -> " + s );
13+ if (s .equals ("lavaplayer" )) {
14+ return List .of ("lavaplayer.natives" );
15+ }
16+ return List .of ();
17+ }
18+ }
You can’t perform that action at this time.
0 commit comments