Type /cpb add [panel] while looking at the desired block. The block you are looking at when the command is executed is the block that will open the panel.
Right-clicking the block will open the panel, if the block is destroyed, the location will be saved so if the block is replaced, it will still open the panel.
The blocks.yml file stores the locations that panels are located, take the following file for example
The file will show the location of the block, in this syntax
worldName_X_Y_Z. The plugin uses the underscore symbol to separate the world and the three axis, so if your world name contains an underscore use %dash% instead.
If you want your panel block to execute commands, simply add a commands section like seen below. If your panel block contains a commands section it won't open the panel automatically anymore, simply add
open= panelName into the commands section to open the panel instead.
world_31_92_-80:panel: examplePanelcommands:- open= examplePanel- msg= panel opened!