🍎How to create Items
SettingsPlus allows you to create highly customizable items for your menus. These items can include custom materials, names, lore, enchantments, and more. Below is a detailed guide on how to define items in your configuration files.
Configuration Fields
To define an item in your configuration, include the following fields:
Required Fields
material: The type of material for the item. Use a valid Minecraft Material name.Default:
STONEExample:
DIAMOND_SWORD
displayName: The custom name displayed for the item. Use color codes (e.g.,&6Golden Sword).Default:
&fDefault ItemExample:
&aSpecial Sword
amount: The number of items in the stack.Default:
1Example:
64
lore: A list of strings representing the lore (description) of the item. Each line is a separate string.Example:
lore: - "&7This is a special item." - "&eUse it wisely!"
Optional Fields
textureURL: A custom texture URL for items that support custom textures (like player heads).Default:
""(no texture)Example:
http://textures.minecraft.net/texture/...
enchantments: A list of enchantments to apply to the item. Use valid enchantment names.Example:
itemFlags: A list of item flags to hide certain item properties (e.g., enchantments, attributes). Use valid ItemFlag names.Example:
glow: Adds a glowing effect to the item without requiring enchantments.Default:
falseExample:
true
durability: Sets the durability of the item.Default:
0(no durability applied)Example:
100
bannerPatterns: For banner items, defines a list of patterns. Each pattern consists of a color and a pattern type separated by an underscore (_).Example:
Example Configuration
Here’s a full example of how to define an item in your configuration file:
Key Features of Custom Items
1. Enchantments
Add enchantments to your items by listing their names in the enchantments field. Enchantments are case-insensitive.
2. Custom Textures
Use the textureURL field to apply custom textures, such as for player heads.
3. Banner Patterns
For banners, define patterns using bannerPatterns. Patterns consist of a color (e.g., RED) and a type (e.g., CROSS).
4. Glow Effect
Enable the glow field to add a glowing effect without enchantments.
5. Item Flags
Hide specific properties like enchantments or attributes with itemFlags.
Advanced Item Example (Banner)
Last updated