In the Hooks section of the API documentation, there's the list of hooks Cuberite supports. I think you want the HOOK_PLAYER_BROKEN_BLOCK and HOOK_PLAYER_PLACED_BLOCK.
https://api.cuberite.org/#hooks
Copying the chunk one block at a time will be slow. Instead, use a cBlockArea to read the entire chunk in one API call and write it in another single API call.
Note, though, that the cBlockArea currently doesn't support block entities nor regular entities, so your plugin will have to process those separately.
https://api.cuberite.org/#hooks
Copying the chunk one block at a time will be slow. Instead, use a cBlockArea to read the entire chunk in one API call and write it in another single API call.
Note, though, that the cBlockArea currently doesn't support block entities nor regular entities, so your plugin will have to process those separately.