Skip to content

Commit

Permalink
Update bStats Metrics class to 1.8 (EssentialsX#3845)
Browse files Browse the repository at this point in the history
Replace modified bStats Metrics 1.7 class with official 1.8 artifact. 1.8 adds random submit intervals and changes the way submissions are scheduled, and our custom modifications are no longer needed as we now use the plugin ID.
  • Loading branch information
mdcfe authored and DarkEyeDragon committed Dec 24, 2020
1 parent c6a8faa commit ae1cbed
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 730 deletions.
4 changes: 4 additions & 0 deletions Essentials/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ dependencies {

api 'io.papermc:paperlib:1.0.6'

api 'org.bstats:bstats-bukkit:1.8'

// Providers
api project(':providers:BaseProviders')
api project(':providers:PaperProvider')
Expand All @@ -20,10 +22,12 @@ dependencies {
shadowJar {
dependencies {
include (dependency('io.papermc:paperlib'))
include (dependency('org.bstats:bstats-bukkit'))
include (project(':providers:BaseProviders'))
include (project(':providers:PaperProvider'))
include (project(':providers:NMSReflectionProvider'))
include (project(':providers:1_8Provider'))
}
relocate 'io.papermc.lib', 'com.earth2me.essentials.paperlib'
relocate 'org.bstats.bukkit', 'com.earth2me.essentials.metrics'
}
Loading

0 comments on commit ae1cbed

Please # to comment.