@EventHandler
    public void onPlayerJoin(PlayerJoinEvent event) {
        if (event.getPlayer().hasPermission("apply.check")) {
            ResultSet set = this.getMySQL().executeQuery("SELECT * FROM " + this.getTable() + " WHERE promoted=0");
            if (set == null) {
                return;
            }
            try {
                set.last();
                if (set.getRow() == 0) {
                    return;
                }
                if (set.getRow() == 1) {
                    event.getPlayer().sendMessage("There is 1 application requiring approval!");
                    return;
                }
                event.getPlayer().sendMessage("There are " + set.getRow() + " applications requiring approval!");
            } catch (SQLException e) {
                e.printStackTrace();
            }
        }
    }