Me and my friends are attempting to recreate bedwars on a small server that we own using command blocks. We have a pretty good idea of how we're going to do everything, except for the fact that, we don't want players to be able to break blocks from de map, only blocks placed by other players and the beds. How would I go about doing this?
Note: I am using 1.8