-
Notifications
You must be signed in to change notification settings - Fork 5
Mag Card Reader
BastouP411 edited this page Nov 2, 2021
·
13 revisions
This peripheral allows you to read and write data from magnetic cards.
The maximum size of data stored in a Mag Card can be set in the server config file.
To be crafted, the Mag Card Reader requires:
- 7 stone blocks
- 1 redstone
- 1 iron ingot
To be crafted, the Mag Card requires:
- 1 paper
- 1 redstone
- 1 iron ingot
The wraped peripheral will be named reader
Writes the string data
on the next swiped mag card, and sets the card label to label
.
Cancels the previoulsly scheduled mag card write.
Sets the Mag Card Reader light to green.
Sets the Mag Card Reader light to yellow.
Sets the Mag Card Reader light to red.
This event is fired when a Mag Card is swiped. This returns:
-
side: string
The side the Mag Card Reader is attached to. -
uuid: string
The unique id of the Mag Card. -
data: string
The data writen on the Mag Card.
This event is fired when a Mag Card is written. This returns:
-
side: string
The side the Mag Card Reader is attached to. -
uuid: string
The unique id of the Mag Card. -
newData: string
The data written on the card. -
oldData: string
The data previously written on the card.