Key/lock teleports for Omegga. Pulled out of the ny22 plugin.
omegga install gh:voximity/tpinteract
Use /tpinteract
and insert the text into an Interact component's "Write to Console" field. It will look like:
tp:X,Y,Z
Alternatively, generate the brick instantly with /tpinteract brick
.
- Stand at the destination of your locked teleport
- Run
/locks new <lock-name> <key-name>
- The
<lock-name>
is a unique name for your lock. It will always be unlocked by the same key. - The
<key-name>
is a unique name for the key that unlocks this lock.
- The
- Paste the copied brick. It will teleport you to the destination only if you have the required key. This is the "lock" brick.
- To create the key brick, use
/locks key <key-name>
To change the error message on a lock, use
/locks error <lock-name> You do not have the key for that lock!
To change the success message on a lock, use
/locks message <lock-name> Welcome to my secret hideout!