When playing singleplayer I get upwards of 100 FPS and I have a very capable computer, however on multiplayer servers I get less than 50 FPS. I have quite a slow internet connection however I wasn't aware that WiFi speed could affect framerate. I also have tried using multiple different clients to try and improve performance; I am currently using Lunar client which has helped but not to the same level of performance as in singleplayer.
Is there anything else that I could try?