Minecraft and SpigotMC

Wanted to check and see if it was possible to enhance the minecraft binding to allow you to tie doors and lights in the house to lights in the game. I see that it is possible to from the game turn on a light, but I would like when a door opens in the house to open it in the game.