mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-08 03:39:42 +01:00
Bump bstatsVersion from 1.4 to 1.8 in /Plan (#1706)
* Bump bstatsVersion from 1.4 to 1.8 in /Plan Bumps `bstatsVersion` from 1.4 to 1.8. Updates `bstats-bukkit` from 1.4 to 1.8 - [Release notes](https://github.com/Bastian/bStats-Metrics/releases) - [Commits](https://github.com/Bastian/bStats-Metrics/commits) Updates `bstats-sponge` from 1.4 to 1.8 - [Release notes](https://github.com/Bastian/bStats-Metrics/releases) - [Commits](https://github.com/Bastian/bStats-Metrics/commits) Updates `bstats-bungeecord` from 1.4 to 1.8 - [Release notes](https://github.com/Bastian/bStats-Metrics/releases) - [Commits](https://github.com/Bastian/bStats-Metrics/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Update bStats construction Affects issues: - Possibly fixed #1680 Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Risto Lahtela <24460436+Rsl1122@users.noreply.github.com>
This commit is contained in:
parent
c878e71179
commit
63bc4a667a
@ -90,7 +90,7 @@ subprojects {
|
||||
ext.geoIpVersion = "2.15.0"
|
||||
ext.gsonVersion = "2.8.6"
|
||||
ext.guavaVersion = "28.0-jre"
|
||||
ext.bstatsVersion = "1.4"
|
||||
ext.bstatsVersion = "1.8"
|
||||
ext.placeholderapiVersion = "2.10.9"
|
||||
ext.nkPlaceholderapiVersion = "1.3-SNAPSHOT"
|
||||
|
||||
|
@ -30,7 +30,7 @@ public class BStatsBukkit {
|
||||
|
||||
public void registerMetrics() {
|
||||
if (metrics == null) {
|
||||
metrics = new Metrics(plugin);
|
||||
metrics = new Metrics(plugin, 1240);
|
||||
}
|
||||
registerConfigSettingGraphs();
|
||||
}
|
||||
|
@ -36,7 +36,8 @@ public class BStatsBungee {
|
||||
|
||||
public void registerMetrics() {
|
||||
if (metrics == null) {
|
||||
metrics = new Metrics(plugin);
|
||||
int pluginId = 3085;
|
||||
metrics = new Metrics(plugin, pluginId);
|
||||
}
|
||||
registerConfigSettingGraphs();
|
||||
}
|
||||
|
@ -63,7 +63,7 @@ import java.util.Optional;
|
||||
public class PlanSponge extends SpongePlugin implements PlanPlugin {
|
||||
|
||||
@com.google.inject.Inject
|
||||
private Metrics2 metrics;
|
||||
private Metrics2.Factory metrics;
|
||||
|
||||
@com.google.inject.Inject
|
||||
private Logger slf4jLogger;
|
||||
@ -96,8 +96,9 @@ public class PlanSponge extends SpongePlugin implements PlanPlugin {
|
||||
locale = system.getLocaleSystem().getLocale();
|
||||
system.enable();
|
||||
|
||||
int pluginId = 3086;
|
||||
new BStatsSponge(
|
||||
metrics,
|
||||
metrics.make(pluginId),
|
||||
system.getDatabaseSystem().getDatabase()
|
||||
).registerMetrics();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user