LWC guide - rutgerkok/BetterEnderChest GitHub Wiki

First of all, make sure you have installed LWC. We are going to add the block to the LWC list of custom blocks. Go to the core.yml inside the LWC folder. In the config file, somewhere below protections, you should find (something like) this:

 blocks:
    chest:
        enabled: true
        autoRegister: private
    furnace:
        enabled: true
        autoRegister: private
    dispenser:
        enabled: true
        autoRegister: private
    sign:
        enabled: true
        autoRegister: private
    wooden_door:
        enabled: true
    iron_door:
        enabled: true
    trap_door:
        enabled: true
    fence_gate:
        enabled: true

Now you should add your block to the custom block list. You could add it like this (this code auto-registers a placed Ender Chest as private, remove the line to disable this):

     ender_chest:
        enabled: true
        autoRegister: private

Now (re)start the server, and make sure that everything works correctly.