the command entered works on a single player world but the command blocks just don't work on the minehut server (and yes I have command blocks enabled)
and if your curious the command is for a mining curse:
/execute as @e[tag=Insert Tag Here] at @s run fill ~-5 ~-5 ~-5 ~5 ~5 ~5 stone replace minecraft:diamond_ore