File tree Expand file tree Collapse file tree 2 files changed +34
-2
lines changed
src/main/java/me/mrmango404 Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Original file line number Diff line number Diff line change 5353 <version >3.2.1</version >
5454 <scope >provided</scope >
5555 </dependency >
56+ <dependency >
57+ <groupId >org.bstats</groupId >
58+ <artifactId >bstats-bukkit</artifactId >
59+ <version >3.0.2</version >
60+ <scope >compile</scope >
61+ </dependency >
5662 </dependencies >
5763
5864 <properties >
6874 <filtering >true</filtering >
6975 </resource >
7076 </resources >
77+ <plugins >
78+ <plugin >
79+ <groupId >org.apache.maven.plugins</groupId >
80+ <artifactId >maven-shade-plugin</artifactId >
81+ <version >3.5.1</version >
82+ <configuration >
83+ <relocations >
84+ <relocation >
85+ <pattern >org.bstats</pattern >
86+ <!-- Replace this with your package! -->
87+ <shadedPattern >me.mrmango404</shadedPattern >
88+ </relocation >
89+ </relocations >
90+ </configuration >
91+ <executions >
92+ <execution >
93+ <phase >package</phase >
94+ <goals >
95+ <goal >shade</goal >
96+ </goals >
97+ </execution >
98+ </executions >
99+ </plugin >
100+ </plugins >
71101 </build >
72-
73102</project >
Original file line number Diff line number Diff line change 77import me .mrmango404 .hooks .BSkyblockFlag ;
88import me .mrmango404 .util .ClearShulker ;
99import me .mrmango404 .util .DebugManager ;
10+ import org .bstats .bukkit .Metrics ;
1011import org .bukkit .Bukkit ;
1112import org .bukkit .Location ;
1213import org .bukkit .Material ;
@@ -54,7 +55,7 @@ public void onEnable() {
5455 scoreboard = Bukkit .getScoreboardManager ().getNewScoreboard ();
5556 safariPlug = Bukkit .getPluginManager ().getPlugin ("SafariNet" );
5657 bentoBoxPlug = Bukkit .getPluginManager ().getPlugin ("BentoBox" );
57-
58+
5859 if (bentoBoxPlug != null ) {
5960 flag = new Flag .Builder (BSkyblockFlag .CONTAINER_VIEW_PROTECTION .getFlagName (), Material .YELLOW_SHULKER_BOX )
6061 .type (Flag .Type .PROTECTION )
@@ -77,6 +78,8 @@ public void onEnable() {
7778 } else {
7879 DebugManager .log ("SafariNet hook could not be found." );
7980 }
81+
82+ new Metrics (this , 26011 );
8083 }
8184
8285 @ Override
You can’t perform that action at this time.
0 commit comments