1. Is it possible to tell if a player has build privileges inside a tool cupboard area, but by using either a position or another entity. I am making a custom structure building plugin and i don't want people to be able to build from outside a toolcupboard radius going inside of it.
     
  2. You can get the build privilege directly from the player by doing:
    Code:
    player.GetBuildingPrivilege();
     
  3. I know of that, but what i'm asking is it possible to check if the player has build privilege lets say a couple feet in front of them.
     
  4. Ah, assuming you know the position (via raytrace or something) you can use the static getter:
    Code:
    // Vector3 position, Quaternion rotation, Bounds bounds
    BuildingPrivlidge.Get(position, rotation, bounds);
     
  5. Thank you so much for this.
     
  6. Sure thing.