20 UK gallons = about 24 US gallons. Following the gallon per inch rule:
Swordtail x 3 = 12 inches (already half your space)
Platy x 1 = 4 inches
Thai Flying Fox x 1 = 5.5 inches
Zebra Danio x 6 = 15 inches
Male Betta x 1 = 3 inches
Plec (assuming that he's a common) x 1 = 24 inches
You are very overstocked at 63.5 inches in a 24 gallon tank.
I have a few suggestions to get you on the path to correct stocking. First off, rehome the plec now. There's really no room for him in that tank, no matter how small he is now. He produces a LOT of waste, and as your tank is already so overstocked, he's making the problem much worse.
Next, your male betta needs to be moved into his own (at least one gallon) tank. As much as many people would like them to be, bettas are just not community fish. He will not be happy at all in that tank.
That brings us down to 36.5 inches. I'm not really sure what to tell you to lose from there, but here are some potential problems.
The flying fox COULD be a problem with the other fish if there's not enough coverage in the tank for the other fish to get away from him when he starts to get pushy.
The lone platy, although not a schooling fish, would be much happier with a group of it's own kind. If I were you, I would rehome it.
If you stuck with just the swordtails and the danios, you would be about right, stocking wise. If you added extra filtration and did extra water changes, you could probably do ok with the Thai flying fox in there, as well.
I know that this seems like a much emptier tank, but it would be a much healthier and happier one!