changed login tracking to print to getmetrics
This commit is contained in:
parent
74179fffb1
commit
3dba165e2c
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ public class PlayerLoginListener implements Listener{
|
||||||
}
|
}
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void onPlayerLogin(PlayerLoginEvent event){
|
public void onPlayerLogin(PlayerLoginEvent event){
|
||||||
module.saveData(module.metricsYml, "loginlog."+System.currentTimeMillis(), event.getPlayer().getName());
|
module.saveData(module.metricsYml, "loginlog."+System.currentTimeMillis()+event.getPlayer().getName(), event.getPlayer().getName());
|
||||||
|
module.metricsList.add("loginlog."+System.currentTimeMillis()+event.getPlayer().getName());
|
||||||
event.getPlayer();
|
event.getPlayer();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue