💻 Virtual Crates & Keys
With ExcellentCrates you can create both, virtual crates and keys. And you can link them to each other with no limits!
Virtual crates can use both, virtual and physical keys, and vice versa. You can even require virtual and physical key(s) per a crate at the same time (but player needs only one of them)!
Creating Virtual Keys
To create a virtual key, follow simple steps:
Go to
/crate editor
-> Keys -> New KeyEnter key unique indentifier.
A new key will appear. Click it.
Find and click
Virtual
button. It should say Enabled.Key is virtual now!
When making key virtual, you can notice that Key Item
setting disappears from the editor. That's correct, because virtual keys shouldn't be obtainable as inventory items.
Creating Virtual Crates
Unlike keys, there is not explicit setting for crates to make it virtual. Instead, there is a directory called /menu/
which you can utilize to display virtual crates for players, so they can interact with them.
In that /menu/
directory you will see a default.yml
config file. It is an example of GUI configuration file that you can customize for your own preferences.
Menu configs contains a few important settings to add your virtual crates there:
Crate -> Slots - This is the most important setting required for virtual crates to appear in the menu. Add there IDs of your virtual crates and slot number where they will appear. Crate ID is the same as crate config file name (without the .yml extension).
It should look something like this:
Last updated