There is a message when the plugin is initialized and the server checks if the layer is a valid block.