Can I set that a certain person can't press a lever in minecraft?

As
11

I would like to set that my teammate can't operate levers and buttons in Minecraft, does anyone know how I can set that (command or trick)?

Ho

Perhaps this can be done via an additional (redstone) circuit that runs via a CommandBlock, which only forwards the signal when you have pressed the lever.

qu

🤔 I would only think of a command block.

Maybe a command that sets a redstone torch when you are in a certain area. The whole with an AND gate.

So only if you stand in this area and press the button that whatever you are controlling will also be controlled.

ro

Yes you can, (just know how to do it in pocket editon, cellphone, ps4, xbox, swicht) if there are people in your world who also belong to you, you can go to the pause menu, and on the left there are crowns or other symbols.

Then you go to the player, so press it, and then you can decide what they are allowed and what they are not allowed to do.

Have fun

Qu

Java or Bedrock?

As

Java

ba

So with all platforms (except Pc) you can give the player different rights. I think you can give him such a rank that he can't do anything. A command block on the PC could help

As

I'm playing in the Java edition, but thanks anyway

As

Ok, thanks for the answer, but I'm playing on the pc. You said that it could work with a command block, do you know a command that does that?

Qu

Do you have your own server or do you only play in a LanWelt?

On a server, there are plugins for it, otherwise it should work purely theoretically even if the person does not have an op

ba

I don't know, sorry: /

As

I play on my own server.