Item generation templates are the base items used to generate random items. They have a list of modifiers which apply under certains conditions, making the generated item stronger, and a list of default item stats which defines how the basic item looks.
The item statistics all scale on the item level. For instance,
LONG_SWORD:
# Basic template information
type: SWORD
# Base item data
base:
material: IRON_SWORD
name: '&fLong Sword'
attack-speed: 1.6
attack-damage:
base: 6
scale: 1.2
required-level:
base: 0
scale: 1
This config sets the item base attack damage to 6 + 1.2 * <level>
where is the selected item level. The base item is also an iron sword which name is Long Sword
, and so on. The stat format for the base
config section is the same as in the /MMOItems/item config files with a few exceptions
Item generation templates can be found under the /MMOItems/generator/items
folder. You may add as many YML configs as you want in that folder to sort your templates.