legacyItems - PC-Logix/OpenSecurity GitHub Wiki
Items
RFID Reader Card
RFID Reader Card for Tablets or Computers allows you to read RFID Cards in a players inventory
Methods:
rfid = components.os_rfidreader
rfid.scan(optional int:1-64) Scans for all entites for RFIDs within range default is 16 blocks
If you specify an integer it will scan that area, large areas can cause lag. This will queue a signal with the name rfidData 4 parameters will be returned,: uuid, playerName, distance, data. It will also return the data in a table. The max range is configurable in the mod's config file, though the maximum is 64 blocks even there.
Example Program:
output = component.os_rfidReader.scan(10)
for k, v in pairs(output[1]) do
print(k, v)
end
It would return:
uuid (uuid)
data (data)
player (player)
range (range)
RFID Card
RFID Card, can hold up to 64 characters of data, can be locked in the Card Writer to disallow rewriting
Mag Card
MagStrip Card can hold up to 128 characters of data, can be locked in the Card Writer to disallow rewriting
SecureOS Disk
Crafted with a blank OpenComputers disk, and a Mag Card, insert into a computer boot from it, login with Username root, password root, and install.
SecureOS github for issues: https://github.com/Shuudoushi/SecureOS