The launcher keeps saying "connection terminated"

When I join a server, it (99% of the time) says “connection terminated” within seconds of joining the server. It’s very annoying. Does anybody know how I can fix it?

Make sure that you allow beammp on any antivirus software you have. It also helps to run beammp launcher as Administrator