I tried to deny some custom blocks, but they didn't work on the server(they can work in the local game)
Attachments
Comments 11

It doesn't support yet. You can check here. (BDS Tutorial)
It says
Use Add-Ons
You can use add-ons on your server that you've created or downloaded online.
You cannot use the following types of add-ons on your server:
Add-Ons purchased from the Minecraft Marketplace.
Add-Ons using Experimental Gameplay features such as custom mob entities, animations, data driven spawning, particles, functions.
It doesn't support yet. You can check here. (BDS Tutorial)
It says
Use Add-Ons
You can use add-ons on your server that you've created or downloaded online.
You cannot use the following types of add-ons on your server:
Add-Ons purchased from the Minecraft Marketplace.
Add-Ons using Experimental Gameplay features such as custom mob entities, animations, data driven spawning, particles, functions.