AdvancedPlugins
Minecraft Hosting
  • AdvancedPlugins Wiki
  • All Plugins
    • AdvancedEnchantments
    • BattlePass
    • AdvancedPets
    • AdvancedItems
    • AdvancedMobs
    • AdvancedSeasons
    • AdvancedJobs
    • AdvancedModels
    • AdvancedCosmetics
    • AdvancedChat
  • Configuration
    • 🔧Config Items
    • 🎨Colors
  • 🪄Abilities System (V2)
    • Introduction
    • Effects
    • Triggers
    • Targets
    • Conditions
      • Conditions Variables
      • Condition Comparison
      • Condition outcome
      • Multiple Conditions
    • Settings
    • Functions
    • Scripting
    • Variables
    • Pointers
    • Skills
  • Installing Custom UI
    • Install Custom UIs
  • 🎯Actions System
    • Introduction
    • Actions
    • PlaceholderAPI Actions
    • Setting up and using Variables
Powered by GitBook
On this page
  • Item Configuration
  • type
  • id
  • amount
  • name
  • lore
  • item-flags
  • custom-model-data
  • armor-trim
  • enchantments
  • custom-enchantments
  • rgb-color
  • nbt
  • owner
  • unbreakable
  • itemsadder
  • Configuration Example

Was this helpful?

Edit on GitHub
  1. Configuration

Config Items

How items are configured in AdvancedPlugins

All AdvancedPlugins use similar item configuration format. You can follow this guide to configure your items.

Item Configuration

type

item's material

id

item's durability

amount

item's amount

name

item's custom name

lore

item's custom lore

item-flags

list of item flags applied to items

custom-model-data

item's custom model data for custom textures

armor-trim

set item's trim material and pattern (new in Minecraft 1.20)

  • format: 'MATERIAL;PATTERN', e.g. QUARTZ;COAST

  • force-glow

set whether item should glow or not

enchantments

list of enchantments applied to item

custom-enchantments

list of custom enchantments *present in AdvancedEnchantments only

rgb-color

item's color (applyable for colored leather armor)

nbt

set item's custom nbt (json format)

owner

skull's owner. It can be player username or base64

unbreakable

set item unbreakable (boolean - true/false)

itemsadder

use custom item from ItemsAdder plugin (item's name)

Configuration Example

item: 
  amount: 1
  name: '&cCustom chestplate'
  lore:
    - '&dExclusive from &dVillagers'
  enchantments:
    - 'Protection:20'
    - 'Unbreaking:2'
  custom-enchantments:
    - 'glow:1'
  item-flags:
    - 'HIDE_ENCHANTS'
  custom-model-data: 1
  armor-trim: 'DIAMOND;SILENCE'
  force-glow: false
  rgb-color: 255;0;0
  owner: 40b7ff035bb8761eb40e86f3a17faee349dbcccd84a77703b47e9894a1df847f #base64
  nbt: '{CanDestroy:["minecraft:diamond_ore"],CustomNBTData:"test:true"}'
  unbreakable: true
  itemsadder: 'lava_pickaxe'
PreviousAdvancedPlugins WikiNextColors

Last updated 2 months ago

Was this helpful?

Trim material:

Trim pattern:

🔧
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/meta/trim/TrimMaterial.html
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/meta/trim/TrimPattern.html
Sponsored by MintServers. AdvancedPlugins.net integration & auto updates. Unlimited RAM plan for only $9.99!