• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • Minecraft 1.16.220 Update + Bug/Crash Fixes
    Added MCPE 1.16.220 version and fixed crashes for multiple plugins. You can view the full changelist here.
  • Forum Updates - 4/11/2021
    Various changes have been made to the forums and a few categories. You can view the full changelist here.

Door with code fix

Warning!
Hello , there have been no replies in this thread for more than 30 days.
Please make sure you have a valid reason before you reply to this thread or you may face moderation action.
#1
cmd create door1 § Open door
1 cmd add door1 if %args% [1] = CODE then goto 4
2 cmd add door1 message %p% §e [§cD§e] §cWrong Code.
3 cmd add door1 exit
4 cmd add door1 message %p% §e [§aD§e] §aDoor open.
5 cmd add door1 block flat X Y Z 0 X Y Z
6 cmd add door1 sleep 3
7 cmd add door1 block flat X Y Z IDBLOCK X Y Z
8 cmd add door1 message %p% §e [§aD§e] §aDoor closed again.


at line 1 where "CODE" is stated must be a code
At lines 5 and 7 where "X Y & Z" is stated you have to fill in the coordinates of the door location
at line 7 where "ID" is stated you must enter the ID of the blocks / door