Water flowing TPS lag

On my server every time a player puts water on the floor and it flows the tps falls from 20 to 4 thus leaving all the server locked.

Has how to solve this error?

Can you tell us what version of Sponge you are using, and which protection plugins you have?

I am using spongeforge version 5.2.0-2477-Beta-2793 to 1.10.2, and the plugin griefprevention 1.10.2 protection-4.0.1.540

I believe there was an old issue with water flow and grief prevention causing lag. You can try updating SpongeForge (to 1.10.2-2477-5.2.0-BETA-2793) and GP (to version 4.0.1.566), which are the final builds for Minecraft 1.10.2. You might also find help on the GriefPrevention discord. Please note that SpongePowered has ceased working on 1.10.2 builds; only API 7 (1.12.2) is presently supported.