Skip to content

Create New Item

nahkd123 edited this page Jul 28, 2021 · 1 revision

Requirements

  • Basic YAML knowledge
  • Plain text editor (works best with the one that has syntax coloring and syntax checking)

The Template

ManyItems always drop the template file in /plugin/ManyItems/item_template.yml. If you ended up losing the contents inside it, you can simply delete the template and restart your server.

Basic Item Structure

name: "Display Name"
display: BUKKIT_MATERIAL_ID
description:
- "Description Here"
- "Can have multiple lines"
type: "stackable/unique"

traits:
  trait_id:
    # Trait Config Data here...

name

This is the item display name. It will be displayed on the tooltips and the floating text above player's hotbar. (and you should know it)

display

The Bukkit Material ID as item display. See here for a list of IDs

description

A list of description lines to display on item tooltips.

type

Item stacking type. stackable means it can stack with another item of same type, while unique makes the item unstackable. This also gives the unstackable item UUID

traits

Item traits. See Traits section for more information