The server
Start it before starting any door computer or the card writer system.
The server will handle all user accesses.
The card writer
This is the main system.
It's with gui to setup all users.
It needs an opensecurity card writer connected.
You can setup new user, edit user or delete user.
A user can be blocked to stop him using a mag card and a level can give to grant access on different doors.
Data will be encrypted on the card.
The door systems
This will be used for the door it self.
The computer needs a door controller and a card reader connected.
You can use as much of this systems, as you want.
It's important, that a door computer is started after the server, because it sends his access level to server during start.
The level can be changed in the code. It's this line on the top : local accessLevel = 2
It's because ur using MC 1.10.2
The names of the blocks are changed in Open security, compared to MC 1.7.10.
I will redo the programs with the new names for MC 1.20.2 if i find the time. At the moment i am working on my gui.