I'm teaching myself Java and Kotlin by making a Hypixel-like bedwars plugin. I'm struggling with creating a good build permissions system - maybe you guys can help me? I want players to be able to place blocks, and break blocks they and other players have placed. But they shouldn't be able to break blocks that are part of the preexisting map. I'm using WorldGuard for managing mechanics like this in the lobby, but looking through the API there's nothing that would explicitly aid me in the functionality I'm looking for. Could one of you kindly point me in the direction of the simplest option to accomplish this? I'm totally fine with writing custom code, but I'm a little lost here. Spoiler: Some specifics about my plugin if you want them Games are in temporary worlds that are created automatically by my plugin There are NPCs in the map that players should be able to interact with Each island has a chest that only members of the team can access, but this is something I can figure out on my own The map also shouldn't be able to be blown up with TNT, but this is again something I can figure out myself Thanks!