Update bStats

This commit is contained in:
NotMyFault 2021-01-24 10:44:22 +01:00
parent 16f72d1cfd
commit 0bba9c5ac7
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
2 changed files with 3 additions and 11 deletions

View File

@ -57,13 +57,6 @@ repositories {
includeGroupByRegex("org.inventivetalent.*")
}
}
maven {
name = "CodeMC"
url = uri("https://repo.codemc.org/repository/maven-public/")
content {
includeGroup("org.bstats")
}
}
maven {
name = "IntellectualSites 3rd Party"
url = uri("https://mvn.intellectualsites.com/content/repositories/thirdparty")
@ -116,7 +109,7 @@ dependencies {
}
api("com.intellectualsites.paster:Paster:1.0.1-SNAPSHOT")
// Third party
implementation("org.bstats:bstats-bukkit:1.8")
implementation("org.bstats:bstats-bukkit:2.1.0")
compileOnlyApi("org.inventivetalent:mapmanager:1.7.+") { isTransitive = false }
implementation("com.github.TechFortress:GriefPrevention:16.+") { isTransitive = false }
implementation("com.massivecraft:mcore:7.0.1") { isTransitive = false }
@ -163,7 +156,7 @@ tasks.named<ShadowJar>("shadowJar") {
include(dependency("it.unimi.dsi:fastutil"))
}
relocate("org.bstats", "com.boydti.metrics") {
include(dependency("org.bstats:bstats-bukkit:1.8"))
include(dependency("org.bstats:bstats-bukkit:2.1.0"))
}
relocate("com.intellectualsites.paster", "com.boydti.fawe.paster") {
include(dependency("com.intellectualsites.paster:Paster:1.0.1-SNAPSHOT"))

View File

@ -96,7 +96,6 @@ public class WorldEditPlugin extends JavaPlugin { //implements TabCompleter
private static final Logger log = LoggerFactory.getLogger(WorldEditPlugin.class);
public static final String CUI_PLUGIN_CHANNEL = "worldedit:cui";
private static WorldEditPlugin INSTANCE;
private static final int BSTATS_PLUGIN_ID = 1403;
private BukkitImplAdapter bukkitAdapter;
private BukkitServerInterface server;
@ -174,7 +173,7 @@ public class WorldEditPlugin extends JavaPlugin { //implements TabCompleter
}
// Setup metrics
new Metrics(this, BSTATS_PLUGIN_ID);
new Metrics(this, 1403);
// Check whether the server runs on 11 or greater
checkJvm();