Not protecting all foundationsSolved
for some reason, it does not work correctly for me: when installing 1 foundation and a cabinet on it, there is protection on the foundation and the cabinet. if you put 2-3-5 foundations and at the last let’s put a cabinet - the protection acts on the cabinet and on the FIRST established foundation
You will have to provide a video and in-depth instructions on how to recreate the bug.
In response to ():
You will have to provide a video and in-depth instructions on how to recreate the bug.
https://youtu.be/D4SXKQfG8go

Auto Decay and Cupboard Limiter were installed
tried to remove them - does not help

Merged post

once again left all the plugins - checked CABINETS PROTECTION - all as on video
Only I have such a problem?
I will look into it
In response to ():
I will look into it
clarify if someone else has this error. maybe I ruined something. (I did not touch the code of the plugin itself, did not make any changes)
I updated it.
Players still reporting not working right, but they might just be morons.

Hey,

For some reason I cannot get the plugin to protect the TC foundation.
TC is protected fine.
Config set to true (default)
Tried a full oxide unload and only loaded CupboardProtection.
Tried a clean install of CupboardProtection to no avail.
Any ideas ??

The plugin is VERY inconsistent in which foundations it protects and seems broken.
The concept is awesome and is really what I would like on my servers but in its current state, it is useless.

Did a few test now and non works . cupboard protected but not foundation .
did reinstall (removed all, datafile and configfile and .cs)

change config to false then back to true (reloading plugin each time )

but no luck
i seem to found the issue . i think......  
in seting the mask
private readonly int Mask = LayerMask.GetMask("Construction");​

i changed it to

private readonly int Mask = LayerMask.GetMask("Construction", "Default", "Deployed", "Resource", "Terrain", "Water", "World");​

and in

private BuildingBlock GetFoundation

i set the RaycastAll distance from 2f to 6f . it seems it did not hit all the hitboxes from different material grades

 private BuildingBlock GetFoundation(BuildingPrivlidge Priv) => Physics.RaycastAll(Priv.transform.position, Vector3.down, 6f, Mask, QueryTriggerInteraction.Ignore).Select(Hit => Hit.GetEntity() as BuildingBlock).FirstOrDefault(E => E);

now it works for me saving all tipes of foundations under TC

hope this helps some of you

Many thanks. I was having the same problem and this seems to have resolved the issue perfectly.

Merged post

Okay, so I was mistaken. It appeared that this resolved my issue I am experiencing the same inconcistencies as many other posters. :(
5d45358864483.png NooBlet
i seem to found the issue . i think......  
in seting the mask
private readonly int Mask = LayerMask.GetMask("Construction");​

i changed it to

private readonly int Mask = LayerMask.GetMask("Construction", "Default", "Deployed", "Resource", "Terrain", "Water", "World");​

and in

private BuildingBlock GetFoundation

i set the RaycastAll distance from 2f to 6f . it seems it did not hit all the hitboxes from different material grades

 private BuildingBlock GetFoundation(BuildingPrivlidge Priv) => Physics.RaycastAll(Priv.transform.position, Vector3.down, 6f, Mask, QueryTriggerInteraction.Ignore).Select(Hit => Hit.GetEntity() as BuildingBlock).FirstOrDefault(E => E);

now it works for me saving all tipes of foundations under TC

hope this helps some of you

Tried the above and didn't solve the issue, not sure if anything has changed since then. Cupboard is protected but the foundation is not.

5f301f17be3f6.png KeithStone

Tried the above and didn't solve the issue, not sure if anything has changed since then. Cupboard is protected but the foundation is not.

Yes there has been changes to rust since that fix worked ... now it works sometimes . not allways ... havent looked into it in months as im not using it anymore as we community now......

Ultimately we went with Orange's paid version of this plugin. I'm not shilling for him or anything but it works perfectly and at least for me was worth the cost.
Locked automatically