@EventHandler
public void TesteE(PlayerJoinEvent a) {
Player p = a.getPlayer();
Bukkit.getScheduler().scheduleSyncRepeatingTask(this, new Runnable() {
@Override
public void run() {
Json json = new Json();
json.addText("§6Olá ").addText("§7GamersBoard")
.withClickAction(ClickAction.OPEN_URL, "http://gamersboard.com.br/index.php")
.withHoverAction(HoverAction.SHOW_TEXT, "§cVá até a §7§lGamersBoard " + p.getName() + "§c!");
json.sendJson(p);
Json a = new Json();
a.addText("eae men");
a.sendJson(p);
}
}, 0, 20L * 5);
}
}