Hey everyone!
I just came across an issue that I was not able to resolve.
Someone wanted to destry his own compund walls and gates because they were in the way or whatever. He was able to destroy the walls since I allowed damaging stuff you have building privilege in. But he was not able to destroy the gate. I had "LockedDoorsImmortal" active, so I deactivated it - and then it worked.
But here is the problem: Without that anyone is able to damage any doors and gates, no matter if they have building privilege or not. And that is not what I want.
So is there a way to protect doors from being damaged by others but still can be damaged by the ppl who own the place?
Thank you.
Players not being able to damage own doors
you either have a rule allowing the damage, or defaultAllowDamage is set true. it should never be set true on a PVE server, imo
AuthorizedDamage and/or AuthorizedDamageRequiresOwnership is what you're looking for.