-
Notifications
You must be signed in to change notification settings - Fork 24
SecurityTerminal
MrDiamondDog edited this page Jun 26, 2022
·
8 revisions
Allows you to protect the blocks in an area from getting mined by unauthorized users.
isEnabled():boolean
-- returns the status of the block
addUser(String:Password, String:Username):boolean
-- adds the Minecraft User as an allowed user.
delUser(String:Username):boolean
-- removes the Minecraft User as an allowed user.
setPassword(String:password):boolean
-- sets the block password, required to enable/disable and other actions
toggleParticle():boolean
-- switches particles to show the corners of the protected area
setRange(Int:range):boolean -- valid values [1 - 4]
-- sets the range of the protction area (range * 8 Blocks)
-- increasing range increases energy cost.
enable(String:password):boolean
-- enables the block, requires the correct password
disable(String:password):boolean
-- disables the block, requires the correct password
getAllowedUsers(String:password):boolean
-- returns a comma delimited string of current allowed users.
- 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