Players going inside building when upgradingFixed

Hi, can u add check(fix) for upgrading when player inside a building block such as foundation.

Some players going into the foundation, upgrade it and sit here, also they can put boxes/bags there,

it work when players using upgrade with click hammer and untouching mode

Found this same thing too. You can upgrade a foundation while underneath it. You can place sleeping bags and boxes in it, spawn there and run out. Turrets and traps can also shoot out of the foundation, and nothing can shoot in.
5eeda53d617d5.jpg ilakskil
Found this same thing too. You can upgrade a foundation while underneath it. You can place sleeping bags and boxes in it, spawn there and run out. Turrets and traps can also shoot out of the foundation, and nothing can shoot in.

u can block buildings with this

https://umod.org/plugins/no-foundation-objects

but still can sleeping or shooting inside foundations

just go to "public void DoGrade..."

if (Grade == block.grade || !block.CanChangeToGrade(Grade, Player))
                        return;

You have to check if the block can be upgraded. in normal rust upgrade logic, this check makes sure the player isn't sitting under the foundation. works here, too. 

Author could also add a more informative message, but the one extra check already solves the exploit.

Hey, the plugin should be updated now with the fix for this.

Locked automatically