/keycard (Legacy)

Key Card Texture

Command Structure

<required parameter>

[optional parameter]

/keycard<cut> <X co-ordinate> <Y co-ordinate> <Z co-ordinate> [keycard description] [uses] [quantity]

Parameter Descriptions

Co-Ordinates

The X, Y, Z co-ordinates are the co-ordinates of the door that you'd like the key card to open.

PRO TIP: If you use tildes (~) in place of numeric co-ordinates, the key card will use your current location.

Using +/- after the tildes will offset your location by the amount you specify. For example, if your co-ordinates are 100 70 200, ~ ~ ~ will equal 100 70 200; and ~+10 ~ ~-20 will equal 110 70 180.

A door must be placed on the co-ordinates that you set the key card to, otherwise the key card will be useless.

Keycard Description

The keycard decription is the lore of the key card item. If you do not set the description, the lore will default to the keycard lore set in config.yml.

You cannot use spaces in the description, instead, replace spaces with an underscore ( _ ).

You can add new lines to the key lore by adding a pipe ( | ) to the key card description.

Uses

This is the number of uses that the player will be allowed to have before the key card is 'used' (removed from their inventory).

If this is not set, then the key card will only be used once.

Quantity

The quantity parameter determines how many key cards the player will be given. All of the key cards given will have the same values (so will open the same door).

Last updated