So today i spent some time making a coffee machine in spawn for all people to use freely.
After some time its all wired up properly.
All that needs doing it the computer that points to the button to tell you what it gives you.
This gave me a small idea to build a fully automatic cafe/bar.
So i did some research and theres a machine that lets you put an item in and gives you a redstone signal if it is correct.
E.g. i set it to a diamond to give a redstone signal to my drinks chest.
1a) Place a diamond in the whole
2a) receive drink pressed
1b) Place dirt in the whole
2b) Get nothing in return
So i hope you like this idea?
Let me know in the comments!