Skip to content
ben-mkiv edited this page Nov 16, 2019 · 3 revisions

Door Controller

Door Controller allows you to operate Security and normal Doors. Can only be broken by a person in Creative or the person who placed it.

Door Controllers can be camouflaged by right-clicking them with a solid block.

Can be used as Upgrade for Microcontrollers

Methods

doorcontroller = require("component").os_doorcontroller
    
doorcontroller.toggle(String:password) -- Opens or Closes the Door
doorcontroller.isOpen()
doorcontroller.open(String:password) 
doorcontroller.close(String:password) 
doorcontroller.setPassword(String:oldPassword, String:newPassword) 
doorcontroller.removePassword(String:password) 

the methods return an array which contains the return value of each connected door