mod structure can pickup enemies

Hello everyone, I need help, I’m new here. I am creating a mod of a structure to make events, it is a catch of flag, I have created a structure based on the wood table, the idea is that I can pickup any player of any tribe, for now I have managed to create the structure and To be able to place it in any part and that can demolish the enemies, also I have made that the resources for crafting is the same itself so I avoid that they falsify and that when demolishing it returns 100% of the resources therefore it adds the structure to the inventor, But the problem is that when demolen the enemies takes 9 seconds and do not recover the resources.
Can it be done so that the enemies recover the structure to demolish it or better still I can make that the enemogos can pickup ?.

I’m sorry for my English, thank you very much to everyone.