You have been disconnected due to an illegal client

This error can happen when you try and join the server with a mod that didn’t’ ship with the modpack. Not to panic, if you’re not using a cheat mod then you won’t be banned. Just removed the mod from the pack, and you will be able to join the server again.