Set Console Command for Block
gamemode adventure @p
@s = self · @p = nearest player · @a = all players · @e = all entities
Previous Output
-Beginner · 1 block
Use a pressure plate to switch the entering player to Adventure mode and protect blocks in your map.
What you need
Expected result
The player nearest the entrance switches to Adventure mode.
Configure one block at a time
The copy button copies only Command Input. Choose every other value in the Command Block screen.
Place a pressure plate on the block above the Command Block so it runs as a player enters.
gamemode adventure @p
@s = self · @p = nearest player · @a = all players · @e = all entities
-If it does not work