Hi. I'm trying to set up a machine on my server (its private, so don't bother asking) that will accept an item, and output redstone.
For Example: Someone comes up to my free-machines shop. Inside, they can use a line of machines as long as they decide to be in there for. But to get in, they have to bypass a iron door - And to open that door, they need to put 1 diamond into said 'machine', and when that machine detects that a diamond has been placed inside its inventory, it will output of a redstone signal, thus opening the door.
How would I do this???