Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
M mmoitems
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 47
    • Issues 47
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • mmoitems
  • Wiki
  • Item Generator

Last edited by Indyuce Jul 18, 2020
Page history

Item Generator

This page is essentially an overview of what the item generator can offer.

MMOItems features an item generator which you can use to lower the amount of config files needed to create same versions of the same item. The idea is to have a set base item which is called an item generation template, and a set of generation modifiers, which add extra stats to the base item. The rarer the item is, the more modifiers it has, and the stronger the stats are.

When being generated, items all have an item level which directly determines how strong the item stats are and a modifier capacity which determines how many modifiers the item can have.

MMOItems item generator hooks onto the MMOItems tier system. The higher the item tier, the more modifiers the item has. In other words, the item tier determines the item modifier capacity.

Example

These items have the same generation template, which is an item called Long Sword. However, the right one has a Sharp modifier which gives him +3 Atk Damage while the left one has no modifier.

These two items have the same attack speed because it was chosen not to scale with the item level. However the attack damage does scale with the item level: although the first item has got a higher level, the second item has a Sharp modifier and therefore has more attack damage.

The Sharp modifier gives the second item a Sharp prefix as well as an extra line of lore.

Second Example

The item at the right has a much higher item level and therefore his attack damage is much higher. It also has two modifiers: Sharp and Fiery. Sharp still gives the item +3 Atk Damage but it's slightly useless given its level. Fiery gives the item a nice red name prefix and a on-hit burn ability.

The second item has the Rare item tier, therefore has much more modifier capacity than the non-tiered sword, which explains why it received two modifiers. Non tiered items also have a modifier capacity, but it is less important.

You can only see the Fiery prefix because this modifier prefix has a higher priority (although you can configure modifier so all prefixes show at the same time for extra fun!).

Item with multiple modifiers


The default item is a bow with some attack damage and crit chance. The first Heavy modifier makes it two handed, adds a few attack points and some critical strike power. The second modifier which has a suffix adds an on-hit ability with custom damage which scales on the item level.

Clone repository

  • Home
  • Installation Guide
  • Commands

General

  • Item Types
  • Item Stats & Options
  • Item Creation

Features

  • Mitigation
  • Elemental Damage
  • Item Identification
  • Item Tiers
  • Gem Stones
  • Custom Durability
  • Item Sets
  • Item Upgrading
  • Soulbound

Crafting Stations

  • Crafting Stations
  • Upgrading Recipes
  • Recipe Conditions
  • Recipe Ingredients
  • Recipe Triggers
  • Recipe Options

Custom Blocks

  • Custom Blocks
  • World Gen Templates

Item Management

  • Item Updater
  • Item Drop Tables

Item Generator

  • General
  • Item Templates
  • Item Modifiers
  • Complex Stats
  • Obtaining a random item

Abilities

  • Abilities
  • Ability List

Compatibility & API

  • Supported Plugins
  • Custom Item Textures
  • Main API Features
  • Stat API