doubledoors_world: type: world debug: false events: # Use monitor to allow the event to be cancelled by any other scripts or plugins # But use 'on' to make the door move as immediately as possible on player right clicks *_door bukkit_priority:monitor: # Iron doors aren't opened on click - if == iron_door: - stop - define face # A door faces outward, rotate the outward face opposite the direction of the hinge to get the other door - if == left: # Note: pi/2 is radian equivalent of 90 degrees. - define face <[face].rotate_around_y[-]> - else: - define face <[face].rotate_around_y[]> - define door2 ]> # Check that the double door *exists* - if <[door2].material.name> == : - switch <[door2]>