Players attack the wall will not be hurt, how to set

玩家攻擊建築物玩家不會受傷,如何設置

 

    {
      "name": "buildings",
      "members": "block.stair.ushape.prefab, block.stair.lshape.prefab, wall.prefab, wall.half.prefab, wall.low.prefab, wall.window.prefab, wall.frame.prefab, foundation.prefab, floor.prefab, floor.frame.prefab, floor.triangle.prefab, roof.prefab",
      "exclusions": ""
    },

This will not work
First make sure server.pve = false in your server.cfg.  but I am sure I don't really understand what you mean.
Im sure he meant to allow players to destroy their own entities. If that is the case

AuthorizedDamage - Allows players to damage entities they own or have cupboard authorization over
CupboardOwnership - When enabled with AuthorizedDamage will treat entities outside of cupboard range as unowned, and entities inside cupboard range will require authorization.

For example:
  "RuleSets": [
    {
      "name": "default",
      "enabled": true,
      "defaultAllowDamage": false,
      "flags": "HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal, ProtectedSleepers, TurretsIgnorePlayers, TrapsIgnorePlayers, SelfDamage, AuthorizedDamage, CupboardOwnership",
      "rules": [
        "anything can hurt SamSite",
        "anything can hurt dispensers",
        "anything can hurt players",
        "players cannot hurt players",
        "anything can hurt traps",
        "traps cannot hurt players",
        "players can hurt barricades",
        "barricades cannot hurt players",
        "highwalls cannot hurt players",
        "anything can hurt heli",
        "anything can hurt npcs",
        "fire cannot hurt players",
        "anything can hurt resources"
      ]
    }​