How to configure your Skript - Giuca002/Keycard-Skript GitHub Wiki
Options
Everything needed to configure your Skript will be found under Options, this starts at line 8 of the file. It should look like this below.
options:
#Blocks down Dont touch ...3 is default
down: 3
actionbar: action
#if actionbar is set to "chat" it will display messages in chat if set to "action" it will be action bar if set to "both" its both
#Card Information... ex: {@l1} {@name} <= thats the card layout
name: ACCESS CARD
l1: &bL1
l2: &6L2
...
Down
If you read the first guide it mentioned for your colored block to be 3 blocks down here you can change this, but this should not be touched normally. (This is shared across all key cards)
down: 3
Action
Action is a option of how error and success messages should be told to the player. To change this simply write "chat" to display the messages in the chat, write "action" to display the messages to the action bar of the player, and "both" to display it both in the chat and action bar. As seen below it is set to action bar by default. (This is shared across all key cards)
actionbar: action
Name:
This is the suffix of all key cards. By default it is set to "ACCESS CARD", please note if you do not want this just don't include it in the key card when making it. (This is shared across all default key cards)
name: ACCESS CARD
Level:
Level defines what doors your key card can open, don't touch this without reading the card creation guide.
l1: &bL1
l2: &6L2
l3: &cL3
l4: &0L4
l5: &5L5
m: &9MASTER
Error Messages:
Error messages are for when your key card is not a high enough level and fails to open the door, don't touch this without reading the card creation guide.
# Error Messages ...You cant use varibles in error messages or success messages type it manually :(
El1: &cYou need a L1 ACCESS CARD or higher.
El2: &cYou need a L2 ACCESS CARD or higher.
El3: &cYou need a L3 ACCESS CARD or higher.
El4: &cYou need a L4 ACCESS CARD or higher.
El5: &cYou need a L5 ACCESS CARD or higher.
Success Messages:
Success Messages are for when you have open your door successfully
# Success Message
Sl1: &aAccess Granted.
Sl2: &aAccess Granted.
Sl3: &aAccess Granted.
Sl4: &aAccess Granted.
Sl5: &aAccess Granted.
Blocks:
If you already read the how to make a key card reader page, you can find it here. You will know this is the colored block and you can change it here, don't touch this without reading the card creation guide.
#Blocks
l1block: light blue concrete
l2block: orange concrete
l3block: red concrete
l4block: black concrete
l5block: purple concrete
Buttons:
This is button you want to use for your key card reader, don't touch this without reading the card creation guide.
#Buttons
l1button: stone button
l2button: stone button
l3button: stone button
l4button: stone button
l5button: stone button
Keycard Item:
This is the Item you want to use for your key card to be, don't touch this without reading the card creation guide.
#Keycard item block
l1item: light blue stained glass pane
l2item: orange stained glass pane
l3item: red stained glass pane
l4item: black stained glass pane
l5item: purple stained glass pane
mitem: blue stained glass pane