Through /mi generate
/mi generate lets you generate a random item based on specific criterias that you give as command arguments. The command format is the following: /mi generate <player> (extra-args).
<player> indicates what player you will be giving the random item to. It is really important because it also represents the RPG player data the item will be built onto. Let's say the command sender is level 20 and the target player is level 10. The item level will not scale on 20 but rather 10.
The available command arguments are listed below:
Argument | Use |
-matchlevel | The item level will match the target player's level. |
-matchclass | The item is guaranteed to be usable (class requirements) by the target player. |
-gimme | Adds the item to your inventory instead, hence the <player> remark. |
-class:<class-name> | The item is guaranteed to be usable by the given class. |
-level:<integer> | The item is guaranteed to have level X. |
-tier:<tier-name> | The item is guaranteed to have tier Y. |
-type:<item-type> | Choose the item type. |
-id:<id> | If you want a specific item template to be used. |
Keep in mind these arguments are all optional (which is what makes the item gen so powerful) and act as "filters" when MMOItems determines what item template, tier and item level it will choose.