-
Notifications
You must be signed in to change notification settings - Fork 24
DoorController
ben-mkiv edited this page Nov 16, 2019
·
3 revisions
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
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
- Alarm
- Biometric Reader
- Card Writer
- Data Block
- Door Controller
- Energy Turret
- Entity Detector
- Keypad
- Magnetic Card Reader
- NanoFog Terminal
- RFID Reader
- Rolldoor
- Rolldoor Controller
- Security Terminal
- Security Doors