Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSzabo committed Nov 6, 2024
2 parents b844b13 + b74d0fe commit 269bd00
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 5 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ repositories {
}

dependencies {
compileOnly("io.papermc.paper:paper-api:1.21-R0.1-SNAPSHOT")
compileOnly("io.papermc.paper:paper-api:1.21.3-R0.1-SNAPSHOT")
compileOnly("gg.auroramc:Aurora:1.6.0")
compileOnly("gg.auroramc:AuroraLevels:1.5.1")
compileOnly("net.luckperms:api:5.4")
Expand All @@ -53,6 +53,7 @@ dependencies {
compileOnly("org.me.leo_s:BeeMinions:2.0.9-BETA")

implementation("co.aikar:acf-paper:0.5.1-SNAPSHOT")
implementation("org.bstats:bstats-bukkit:3.0.2")

compileOnly("org.projectlombok:lombok:1.18.32")
annotationProcessor("org.projectlombok:lombok:1.18.32")
Expand All @@ -66,8 +67,9 @@ tasks.withType<JavaCompile>().configureEach {
tasks.withType<ShadowJar> {
archiveFileName.set("AuroraCollections-${project.version}.jar")

relocate("co.aikar.commands", "gg.auroramc.levels.libs.acf")
relocate("co.aikar.locales", "gg.auroramc.levels.libs.locales")
relocate("co.aikar.commands", "gg.auroramc.collections.libs.acf")
relocate("co.aikar.locales", "gg.auroramc.collections.libs.locales")
relocate("org.bstats", "gg.auroramc.collections.libs.bstats")

exclude("acf-*.properties")
}
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/gg/auroramc/collections/AuroraCollections.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import gg.auroramc.collections.hooks.HookManager;
import gg.auroramc.collections.placeholder.CollectionsPlaceholderHandler;
import lombok.Getter;
import org.bstats.bukkit.Metrics;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

Expand Down Expand Up @@ -84,6 +85,8 @@ public void onEnable() {
} catch (IllegalAccessException | NoSuchFieldException e) {
l.severe("Failed to initialize api provider! error: " + e.getMessage());
}

new Metrics(this, 23778);
}

public void reload() {
Expand Down

0 comments on commit 269bd00

Please sign in to comment.