@EventHandler
    public void onJoin(PlayerJoinEvent event) {
        final CraftPlayer p = (CraftPlayer) event.getPlayer();
        final EntityPlayer ep = p.getHandle();
        final String guideAlert = "{\"text\":\"\",\"extra\":[{\"text\":\""+Core.getPrefix()+"§bClick me for help in this game!\",\"clickEvent\":{\"action\":\"suggest_command\",\"value\":\"/guide\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":{\"text\":\"\",\"extra\":[{\"text\":\"§5§oProvides help\\§5§ofor this minigame!\"}]}}}]}";

        if (Core.isDefaultScoreboardEnabled()) {
            Core.getOnline().setScore(Bukkit.getOnlinePlayers().length);
        }

        if (Guide.alreadyGuide.contains(p.getName())) {
            Guide.alreadyGuide.remove(p.getName());
        }

        event.setJoinMessage(Core.getPrefix() + "§e§l" + event.getPlayer().getName().toUpperCase() + " §6has joined §8(§3" + Bukkit.getOnlinePlayers().length + "§8/§3" + Core.getMaxPlayers() + "§8)");

        Bukkit.getScheduler().runTaskLater(Core.plugin, () -> {
            for (int i = 0; i < 2; i++) {
                p.sendMessage("");
            }

            IChatBaseComponent comp = ChatSerializer.a(guideAlert);
            PacketPlayOutChat packet = new PacketPlayOutChat(comp);
            ep.playerConnection.sendPacket(packet);
        }, 5);



        event.getPlayer().teleport(Core.getLobbySpawnpoint());
        p.setHealth(20.0);
        p.getInventory().clear();
        p.getInventory().setArmorContents(null);

        event.getPlayer().getInventory().setItem(0, Core.getHub());

        for (Player players : Bukkit.getOnlinePlayers()) {
            if (Core.getBoard() == null) return;

            players.setScoreboard(Core.getBoard());
        }
    }