|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StatsPlugin
| Method Summary | |
|---|---|
java.lang.String |
getCorrectStatName(java.lang.String statType)
Get the correct name of this stat |
int |
getNormalStat(java.lang.String statType,
java.lang.String[] arguments)
Get the value of a stat. |
boolean |
isEnabled()
Check whether the current stats plugin is enabled or not. |
| Method Detail |
|---|
boolean isEnabled()
int getNormalStat(java.lang.String statType,
java.lang.String[] arguments)
StatsPlugin.statType.
NOTE: returns -1 when the current stats plugin doesn't support this stat.
statType - Stat you want to getarguments - Provide arguments for the stat (playerName, worldName). 1st argument has to be the playername, 2nd argument must be world (can be null)
java.lang.String getCorrectStatName(java.lang.String statType)
statType - stat name that can be incorrect
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||