1

Command Block Help

MrSnappyTurtles 7/4/19 9:45 am
180
7/6/2019 12:20 am
I don't know where this would go but.
I need some help with a command block for my server.
I am having new players that just joined the server to hit a lever that opens a 4 by 4 piston door to get out into the world. But I was thinking how would i get the door closed again. Then I found Command Blocks. Only problem is I have no clue how to use one. So I am looking for help on how to set up a command block so that it would rank the player up, open the door and start a timer to close the door and maybe set their spawn point to outside the door.
If you could help with that or point me to where I can get help would mean a lot.
Posted by
MrSnappyTurtles
Level 1 : New Miner
1

  Have something to say?

JoinSign in

3

HoboMaggot
07/05/2019 1:54 am
Level 55 : Grandmaster Blob
Do you want the person to join and help you with command blocks or just point you in the general direction.

If you want a general direction, after the person hits a lever/button there should be a timer which activates a command block that fills the door with blocks
1
MrSnappyTurtles
07/05/2019 3:59 am
Level 1 : New Miner
So I figured out what I need to get done I just dont know how to do it.
Im thinking of using a button to trigger a command block that would send the redstone signal that opens the door for lets say 30 seconds then closes. At the same time I want the button push to rank the player up to the normal rank that would change the spawn to just outside the door.

I hope that makes sense
1
HoboMaggot
07/06/2019 12:20 am
Level 55 : Grandmaster Blob
Use fill to open a door, use a timer to let it pass for 30 sec and close it with /fill.
Then use a cmd block under the person with something like /spawnpoint @a[distance=4] "specific cords"
1

Welcome