MobHealth Code

Select a file to view contents.

.classpath
.gitignore
.project
.settings/org.eclipse.core.resources.prefs
README.md
bin/me/sablednah/MobHealth/API/MobHealthAPI.class
bin/me/sablednah/MobHealth/HeroesEventListener.class
bin/me/sablednah/MobHealth/MessageScheduler.class
bin/me/sablednah/MobHealth/Metrics$1.class
bin/me/sablednah/MobHealth/Metrics$Graph.class
bin/me/sablednah/MobHealth/Metrics$Plotter.class
bin/me/sablednah/MobHealth/Metrics.class
bin/me/sablednah/MobHealth/MobHealth$1.class
bin/me/sablednah/MobHealth/MobHealth.class
bin/me/sablednah/MobHealth/MobHealthCommandExecutor.class
bin/me/sablednah/MobHealth/NewWidgitActions.class
bin/me/sablednah/MobHealth/SaveToggle.class
bin/me/sablednah/MobHealth/ServerDamageEntityListener$ScheduledshowBar.class
bin/me/sablednah/MobHealth/ServerDamageEntityListener.class
bin/me/sablednah/MobHealth/SetHealth.class
bin/me/sablednah/MobHealth/SkillMessageScheduler.class
bin/me/sablednah/MobHealth/SpoutNotifications.class
bin/me/sablednah/MobHealth/Updater$UpdateResult.class
bin/me/sablednah/MobHealth/Updater$UpdateRunnable.class
bin/me/sablednah/MobHealth/Updater$UpdateType.class
bin/me/sablednah/MobHealth/Updater.class
licence.txt
pom.xml
src/main/java/me/sablednah/MobHealth/API/ActionBar.java
src/main/java/me/sablednah/MobHealth/API/ActionBar_1_8_1.java
src/main/java/me/sablednah/MobHealth/API/ActionBar_1_8_3.java
src/main/java/me/sablednah/MobHealth/API/ActionBar_1_8_4.java
src/main/java/me/sablednah/MobHealth/API/MobHealthAPI.java
src/main/java/me/sablednah/MobHealth/API/PlayerHealthEvent.java
src/main/java/me/sablednah/MobHealth/HeroesEventListener.java
src/main/java/me/sablednah/MobHealth/MessageScheduler.java
src/main/java/me/sablednah/MobHealth/Metrics.java
src/main/java/me/sablednah/MobHealth/MobHealth.java
src/main/java/me/sablednah/MobHealth/MobHealthCommandExecutor.java
src/main/java/me/sablednah/MobHealth/NewWidgitActions.java
src/main/java/me/sablednah/MobHealth/SaveToggle.java
src/main/java/me/sablednah/MobHealth/ServerDamageEntityListener.java
src/main/java/me/sablednah/MobHealth/SetHealth.java
src/main/java/me/sablednah/MobHealth/SkillMessageScheduler.java
src/main/java/me/sablednah/MobHealth/SpoutNotifications.java
src/main/java/me/sablednah/MobHealth/Updater.java
src/main/resources/config.yml
src/main/resources/lang.yml
src/main/resources/players.yml
src/main/resources/plugin.yml


20me/sablednah/MobHealth/Metricsjava/lang/ObjectREVISIONI
ConstantValueBASE_URLLjava/lang/String;http://mcstats.org
REPORT_URL
/report/%sCUSTOM_DATA_SEPARATOR~~
PING_INTERVAL
pluginLorg/bukkit/plugin/Plugin;graphsLjava/util/Set;	Signature7Ljava/util/Set<Lme/sablednah/MobHealth/Metrics$Graph;>;defaultGraph&Lme/sablednah/MobHealth/Metrics$Graph;
configuration1Lorg/bukkit/configuration/file/YamlConfiguration;configurationFileLjava/io/File;guiddebugZ
optOutLockLjava/lang/Object;task!Lorg/bukkit/scheduler/BukkitTask;<init>(Lorg/bukkit/plugin/Plugin;)V
Exceptions,java/io/IOExceptionCode
/(0()V2java/util/HashSet
1/
576java/util/Collections89synchronizedSet (Ljava/util/Set;)Ljava/util/Set;	;=$me/sablednah/MobHealth/Metrics$Graph?Default
<A(B;(Ljava/lang/String;Lme/sablednah/MobHealth/Metrics$Graph;)V	D	F$%	H&'J"java/lang/IllegalArgumentExceptionLPlugin cannot be null
IN(O(Ljava/lang/String;)V	Q
STU
getConfigFile()Ljava/io/File;	W 
Y[Z/org/bukkit/configuration/file/YamlConfiguration\]loadConfigurationA(Ljava/io/File;)Lorg/bukkit/configuration/file/YamlConfiguration;	_aopt-out
cedjava/lang/BooleanfgvalueOf(Z)Ljava/lang/Boolean;
Yijk
addDefault'(Ljava/lang/String;Ljava/lang/Object;)V!
npojava/util/UUIDqr
randomUUID()Ljava/util/UUID;
ntuvtoString()Ljava/lang/String;"
Yyz{get8(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
Y}~options:()Lorg/bukkit/configuration/file/YamlConfigurationOptions;
6org/bukkit/configuration/file/YamlConfigurationOptionsheaderL(Ljava/lang/String;)Lorg/bukkit/configuration/file/YamlConfigurationOptions;
copyDefaults;(Z)Lorg/bukkit/configuration/file/YamlConfigurationOptions;
Ysave(Ljava/io/File;)V
Y	getString&(Ljava/lang/String;)Ljava/lang/String;	!

Y
getBoolean(Ljava/lang/String;Z)Z	"#LineNumberTableLocalVariableTablethis Lme/sablednah/MobHealth/Metrics;
StackMapTableorg/bukkit/plugin/PlugincreateGraph:(Ljava/lang/String;)Lme/sablednah/MobHealth/Metrics$Graph;Graph name cannot be null
java/util/Setadd(Ljava/lang/Object;)ZnamegraphaddGraph)(Lme/sablednah/MobHealth/Metrics$Graph;)VGraph cannot be null
addCustomData+(Lme/sablednah/MobHealth/Metrics$Plotter;)VPlotter cannot be null
<
addPlotterplotter(Lme/sablednah/MobHealth/Metrics$Plotter;start()Z
isOptOut	getServer()Lorg/bukkit/Server;org/bukkit/ServergetScheduler(()Lorg/bukkit/scheduler/BukkitScheduler; me/sablednah/MobHealth/Metrics$1
(#(Lme/sablednah/MobHealth/Metrics;)V.$org/bukkit/scheduler/BukkitSchedulerrunTaskTimerAsynchronouslyS(Lorg/bukkit/plugin/Plugin;Ljava/lang/Runnable;JJ)Lorg/bukkit/scheduler/BukkitTask;java/lang/Throwable
Yload
org/bukkit/Bukkit	getLogger()Ljava/util/logging/Logger;	java/util/logging/LevelINFOLjava/util/logging/Level;java/lang/StringBuilder
[Metrics] 
N
+v
getMessage
append-(Ljava/lang/String;)Ljava/lang/StringBuilder;
t
java/util/logging/Loggerlog.(Ljava/util/logging/Level;Ljava/lang/String;)V
6org/bukkit/configuration/InvalidConfigurationExceptionexLjava/io/IOException;8Lorg/bukkit/configuration/InvalidConfigurationException;enable
Ykset
disable
	org/bukkit/scheduler/BukkitTask0cancel
U
getDataFolder
java/io/FileU
getParentFile
PluginMetrics
(#(Ljava/io/File;Ljava/lang/String;)V
config.yml
pluginsFolder
postPlugin(Z)V !getDescription+()Lorg/bukkit/plugin/PluginDescriptionFile;
#%$'org/bukkit/plugin/PluginDescriptionFile&vgetName
)*
getOnlineMode
#,-v
getVersion
,012getOnlinePlayers()[Lorg/bukkit/entity/Player;
/
56encode
89(C)Ljava/lang/StringBuilder;;version
=>?encodeDataPair@(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)VAserverCplayers
EGFjava/lang/IntegeruH(I)Ljava/lang/String;Jrevision
LNMjava/lang/StringfHPos.name
RTSjava/lang/SystemUgetPropertyWos.archY
os.version[java.version
]_^java/lang/Runtime`a
getRuntime()Ljava/lang/Runtime;
]cdeavailableProcessors()Igamd64
Lijequalslx86_64nosnameposarchr	osversiontcoresvonline-mode
cxuy(Z)Ljava/lang/String;{java_version}pingtrueiterator()Ljava/util/Iterator;java/util/Iteratornext()Ljava/lang/Object;
<getPlotters()Ljava/util/Set;&me/sablednah/MobHealth/Metrics$Plotter	C%s%s%s%s
<%
v
getColumnName
Lformat9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
egetValuehasNextjava/net/URL
N
isMineshafterPresent	java/net/ProxyNO_PROXYLjava/net/Proxy;
openConnection*(Ljava/net/Proxy;)Ljava/net/URLConnection;
()Ljava/net/URLConnection;
java/net/URLConnectionsetDoOutputjava/io/OutputStreamWriter
getOutputStream()Ljava/io/OutputStream;
((Ljava/io/OutputStream;)V
Owrite
0flushjava/io/BufferedReaderjava/io/InputStreamReader
getInputStream()Ljava/io/InputStream;
((Ljava/io/InputStream;)V
((Ljava/io/Reader;)V
vreadLine
0close
ERR
L
startsWith(Ljava/lang/String;)Z
+N&OK This is your first update this hour
Lcontains(Ljava/lang/CharSequence;)Z
0resetisPingdescription)Lorg/bukkit/plugin/PluginDescriptionFile;
pluginName
onlineMode
pluginVersion
serverVersion
playersOnlinedataLjava/lang/StringBuilder;	coreCountiterLjava/util/Iterator;keyvalueurlLjava/net/URL;
connectionLjava/net/URLConnection;writerLjava/io/OutputStreamWriter;readerLjava/io/BufferedReader;responseLocalVariableTypeTable<Ljava/util/Iterator<Lme/sablednah/MobHealth/Metrics$Graph;>;mineshafter.MineServer
	
java/lang/Class
forName%(Ljava/lang/String;)Ljava/lang/Class;java/lang/ExceptioneLjava/lang/Exception;$java/io/UnsupportedEncodingExceptionbufferUTF-8
java/net/URLEncoder68(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;textaccess$04(Lme/sablednah/MobHealth/Metrics;)Ljava/lang/Object;access$1C(Lme/sablednah/MobHealth/Metrics;)Lorg/bukkit/scheduler/BukkitTask;access$2D(Lme/sablednah/MobHealth/Metrics;Lorg/bukkit/scheduler/BukkitTask;)Vaccess$31(Lme/sablednah/MobHealth/Metrics;)Ljava/util/Set;access$4$(Lme/sablednah/MobHealth/Metrics;Z)V
(access$5#(Lme/sablednah/MobHealth/Metrics;)Z
SourceFileMetrics.javaInnerClassesGraphPlotter!	



 !
"#$%B&'()*+-X*.*1Y34:*<Y>@C*Y.E*G+
IYKM*+P**RV**VX^*^`bh*^lmsh*^wbh*^lx*^|W*^*V**^l**^wNhm +04>CKVcr>i-|%+
IYM<Y+@M*:,W,# %%

-c+
IYM*:+W-r%+
IYM*C+*:*CW$%%-K*EYL*+*G+**P*PY*	ιG++ÿHHFHHJH*
8<DHK

j-Ju*EYL*^*RاSM*۲Y,+M*۲Y,+*^`+ì+ÿ+=;r=creqrrtr2 !"#9%=&>'E(a*e,r u'>'5+#+#L0*+-;*EYL**^`b*^*V*G*W+ç+ÿ47797"79:;&?-@27:C;&D0*+-D*EYL**^`b*^*V*G*G*G+ç+ÿ=@@B@&	LNOP&T-U6V;LCYD&DTU-[#*PLYY+
f
i#
 *+-*PM,"N'(6,+:.:'/6Y3:l4=7*4W:<@<BD<IK<OQ:	VQ:
XQ:ZQ:\b6

fhk:
m	<o
<q<s
D<uw<z<|~<*:Y:*::m<::H:YSYSYSYS:D:<çÿYYY-4S:*:
:Y:ĻYY˷Ϸ::ܶޙ
+Yc*:Y:*::9<:::çÿV?q
rstu$v/{8~R\fs	+Flv$)9CNVadp#

#
$
/8w'n
	p

r
{

w+^F9l
v	

aCp*waC#LLLLLLLP#LLLLLLL<D	#LLLLLLL#LLLLLLL;XL	 #LLLLLLLL<	#LLLLLLLL#LLLLLLLL-`WL		

I
>?*-]*&7+4=7,4W
 


6*-2*
-%*E -%*G!"-&*+G#$-%*:h%&*+-&*'o)*-%*+,-<.	/	

Leave a Reply