mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
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:
parent
c28d749548
commit
f13e355010
3 changed files with 935 additions and 686 deletions
|
@ -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
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue