ok thanks.
you can use AntiBot-Ultra its not updated but still works on every version and blocks bots from joining quite well
infact you can even whitelist players allowing them to join during a bot attack!
by just simply giving them the permission antbot-ultra.whitelist