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 Creation

Last edited by Ashen Apr 28, 2020
Page history

Item Creation

There are two methods you can use to create items with MMOItems.

First method: Item Edition GUI

This method is used to create items directly in game, without the use of config files.
This is a powerful and easy-to-understand method but I'd recommend advanced users to use the second one, which is way quicker if you already know all the item stats and how they work.\

  1. Open the game and create your item via this command: /mi create <ITEM_TYPE> <YOUR_ITEM_ID>
    1. To see all the available item types (Sword, Axe, Tool...), use /mi list type.
    2. Your item ID should differ from its display name. Example: the item ID for Steel Dagger would be STEEL_DAGGER. The ID is the piece of text you will use to generate, edit or remove your item using plugin commands.
  2. Once your item is created, the edition menu should open up. If you close the edition menu, you can still access it using this command: /mi edit <ITEM_TYPE> <YOUR_ITEM_ID>
    1. On the 5th slot of the inventory, you can see your item and its current stats. You can click the gunpowder to obtain it.
    2. Every other item corresponds to an item stat that you can edit. Instructions on how to edit them are displayed directly in game. Once you added all the stats you wanted, get your item and have fun!

Second method: Manual Configuration

Advanced users should consider using this method as it is way faster if you already know the item stats you want to use.

  1. Browse the corresponding /item folder: /plugins/MMOItems/item/<item_type_name>/.
  2. Select your item type and open the corresponding .yml file in the \item folder.
  3. In the YAML config, write:
YOUR_ITEM_ID:
  material: YOUR_ITEM_MATERIAL
  1. All materials can be found here. The item material is the first thing to add since it is the only real option an item needs to be able to be generated.
  2. Add as much item modifiers (Abilities, Attack Damage....) as you want! You can see all modifiers (and how to configure them) on this wiki page.
  3. Save the file and get back on Minecraft. Use /mi <ITEM_TYPE> <YOUR_ITEM_ID> to get your item.
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