This tutorial will walk through the creation of a simple keycard sign.
Here is our setup:
The red circle is the block we are going to change, it can be anywhere, but for demonstration purposes, it is above the sign.
The blue arrow points to where we want the player to have to click in order to activate it (the sign, not the block behind it)
Lets begin with permissions
This list of clickable images represents all the permissions (more info here). Simply click the ones you want to require, in this case, Containment 2, and Armory 1
As you can see, the list of valid keycards has gone down. This list shows which keycards can toggle the block.
Next, we need to enter the cords!
First, we need the cords of the thing we want to click, which is super simple to get. Simply press F3
So the cords for the reader are -538, -32, -611
Now for the on/off block, this block is the one that changes when you do the keycard
So the cords for the on/off block are -537 -31 -611
Now lets enter those into the site
This last part is pretty simple, we just need to enter the names of the two states of the outblock. For this example, lets go with Block of Diamond and Dirt
Please note that you have to click on an entry in the dropdown to save it, just entring the name wont work.
Now its time for the output!!!
Lets use the setblock command for our usage
As you can see, a sign has appeared under the reader block, and now the keycard reader should be fully functional!
If you need to see the information about a keycard sign, right click it with an admin tool on debug mode, available from /remoteadmin
If things dont match the site, please message me because that probably means i fucked something up (your query will go ignored for 3+ business days)
If you have any questions, be very afraid to ask.
Hopefully this tutorial helped you gain a few brain cells. God knows you need them.