Hi Mandydax,
Originally with this mod, we used Lua to detect and accomplish that kind of thing. The problem was that the API didn't quite give us what we were looking for. In order to accomplish some of the design goals (player cannot pick up and place items directly, other than a selected few such as BPs and wire) we found that the code didn't cleanly allow what we were looking for. We had to choose between a bug allowing the player to duplicate items for free or a bug where items disappear forever in nonintuitive ways. We didn't like either of those options for obvious reasons so, when Factorio's permission system was recently expanded with some features we could use, the mod was switched over to use the permission system to block undesired events versus intercepting them with Lua. This eliminated those two bugs but restricted us in other ways.
The problem with using the permission system is two-fold:
1. It's not quite granular enough for us to accomplish what you're looking for.
2. The client completely blocks and doesn't even send the prohibited events to the server so we can't even intercept the command and trigger actions based on them with Lua. We've reached out to the devs and rseding91 indicated he has no desire to go back and change the behavior so blocked events are sent to the server.
As the two bugs above were completely game breaking and the inability to copy paste recipes is a minor quality of life issue, we chose the lesser of two evils. If you want to see what I mean, you can go back and try version 0.7.35 of the mod (use a clean new game as saves are not inter-compatible with new versions of the mod) before the system was changed to permissions.