GroupMoro
SmartItemCreator
SmartItemCreator
  • GETTING STARTED
    • Commands
    • Permissions
  • CREATE ITEMS
    • Items
    • Heads
    • Potions
Powered by GitBook
On this page
  1. CREATE ITEMS

Items

This page describes how to create custom items

items.yml

items:

  magic_sword:
    material: DIAMOND_SWORD
    amount: 1
    display_name: "&bMagic Sword"
    lore:
      - "&eThe legendary sword"
      - "&eForge of the Ancients"
    enchantments:
      DAMAGE_ALL: 5
      FIRE_ASPECT: 2
    hide-enchants: false
    

The things strictly necessary to create a simple item would be:

  magic_sword:
    material: DIAMOND_SWORD

All other entries are optional.


Description of the entries

Entries
Descriptions

It is the name we give to the object, which can then be called with the command: /smartitemcreator <item> <item> = magic_sword

In this section you should enter the material you want to use from those in the game. If no material is entered, it takes the default one (default: STONE)

OPTIONAL Amount of items that will be given to the player (default: 1)

OPTIONAL In this section you can enter a name to give to the item that will then be visible in the game. It supports classic minecraft text formatting: style and color

OPTIONAL It is possible to insert a lore of one or more visible lines into the in-game item. It supports classic minecraft text formatting: style and color

OPTIONAL It is possible to assign one or more enchantments to the object, choosing whether to make them visible or not.

PreviousPermissionsNextHeads

Last updated 2 months ago

magic_sword:
material: DIAMOND_SWORD
amount: 1
display_name: "&bMagic Sword"
  lore:
      - "&eThe legendary sword"
      - "&eForge of the Ancients"
    enchantments:
      DAMAGE_ALL: 5
      FIRE_ASPECT: 2
    hide-enchants: false