private String getDate() { DateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy HH:mm"); return dateFormat.format(lastLoginCal.getTime()); }
@EventHandler(priority = EventPriority.NORMAL) public void onPlayerJoin(PlayerJoinEvent e) { Player player = e.getPlayer(); TPlayer tplayer = TEssentials.getTPlayers().getPlayer(player.getName()); tplayer.setLastLoginCal(Calendar.getInstance()); }
setLastLoginCal
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)