Replace mcstats with bStats

Won't show up on the bStats website, until @drtshock or someone else signs up and creates a Bukkit plugin named "EssentialsX" on the bStats website. If you want to test, you can change `pluginName` to `"EssXmdtest"`, or any other value as desired.
This commit is contained in:
md678685 2017-05-07 17:14:20 +01:00 committed by Ali Moghnieh
parent c28d749548
commit f13e355010
No known key found for this signature in database
GPG Key ID: F09D3A1BAF2E6D70
3 changed files with 935 additions and 686 deletions

View File

@ -240,21 +240,11 @@ public class Essentials extends JavaPlugin implements net.ess3.api.IEssentials {
Economy.setEss(this);
execTimer.mark("RegHandler");
try {
metrics = new Metrics(this);
if (!metrics.isOptOut()) {
getLogger().info("Starting Metrics. Opt-out using the global PluginMetrics config.");
new BukkitRunnable() {
@Override
public void run() {
metrics.start();
}
}.runTaskAsynchronously(this);
} else {
getLogger().info("Metrics disabled per PluginMetrics config.");
}
} catch (IOException e) {
// Failed to submit the stats :-(
metrics = new Metrics(this);
if (!metrics.isOptOut()) {
getLogger().info("Starting Metrics. Opt-out using the global bStats config.");
} else {
getLogger().info("Metrics disabled per bStats config.");
}
final String timeroutput = execTimer.end();

File diff suppressed because it is too large Load Diff

View File

@ -6,7 +6,7 @@ version: ${project.version}-b${build.number}
website: http://tiny.cc/EssentialsCommands
description: Provides an essential, core set of commands for Bukkit.
softdepend: [Vault]
authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, md_5, Iaccidentally, drtshock, vemacs]
authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, md_5, Iaccidentally, drtshock, vemacs, SupaHam]
commands:
afk:
description: Marks you as away-from-keyboard.