-
Notifications
You must be signed in to change notification settings - Fork 0
Item Slots
This page is for how to create item slots using the items command. If using the Pro version, an easier setup using the Item Creator GUI Can be found here
This picks up from the Creating a New Item and Attributes tutorials.
Another cool feature ItemAttributes offers is item slots. Item slots differ from general attributes in the sense that they can be occupied or simply be empty. As an example, you can have an item with an empty attribute item slot, which means that you can use a socket gem on it and "occupy" the slot with attributes held by that gem.
In order to add a slot to an item, you simply need to run /items slot add <type>. The slot types are documented below:
| Name | Key (for use in command) | Description |
|---|---|---|
| Attribute | attribute | A slot which can hold a single attribute. |
| Attribute List | attribute_list | A slot which can hold multiple attributes. |
| Spell | spell | An attribute which can hold a spell (requires MagicSpells) |
Upon adding a slot, it will show in your item as an empty accessory slot.

While mostly, binding slots would be done in-game through the form of socket gems, if you wish to bind a slot manually through the command, the capability for this exists!
By using the /items slot bind command, you can bind a slot to an item. Keep in mind, that the slot must first be added to the item as described above. The command formats for each are described below.
| Name | Format | Example |
|---|---|---|
| Attribute | /items slot bind attribute <attribute_name> | /items slot bind attribute damage 5 |
| Attribute List | /items slot bind attribute [<attribute_name> <value>...] | /items slot bind attribute_list damage 5 critical chance 3 |
| Spell | /items slot bind spell | /items slot bind spell blink |
Removing slots can be done by using the /items slot remove <index> command.
To see which slots currently exist at an index, simply run /items slot while holding an item to see the indexes. Then just run the above command with the number from the list.