I'm trying to disable jumping for the player using the amplified jump boost command:
/effect give @p minecraft:jump_boost 1 250 true
It works, but the player can now run faster by repeatedly tapping the space bar, which is not good.
I tried creating a scoreboard so that I can give myself slowness every time the scoreboard detected that I jumped, but it doesn't detect at all when the amplified jump boost command is active.
Is there anyway around this?