How to allow multiple version to connect to a server

You can use:
ViaVersion
ViaBackwards
ViaRewind

You do not need to add ViaVersion, ViaBackwards, and ViaRewind on your Bungeecord. You only need them on your spigot server.