How do you make it so a player cannot build in a certain area but can still have it in their inventory?

The title says it all!

That’s technically impossible, but a workaround could be having a property combined with an inventory item manager. Have the inventory item manager set the property. When they enter the zone, disable the inventory item manager, and remove all of the items from the player’s inventory. When they leave the zone, grant the same number of items that the property is set to, and then enable the inventory item manager again.

3 Likes

Nevermind, my strategy didn’t work.
Remember to mark a solution!

put an invisible barrier in the area.

just set the alpha to 0.01

That doesn’t work. The players can still place blocks over it. It has to have collision.

1 Like

Make an invisible barrier over the entire map. Set the scope to “player” and only activate it when the player enters the area, and deactivate it when the player leaves the area

thx for the reminder chunky