Custom Items - magemonkeystudio/divinity GitHub Wiki

Commands

/customitems help: Show help page
/customitems get <id> [level] [amount]: Get an item from the module
/customitems give <player> <id> [level] [amount]: Give an item from the module to a player
/customitems drop <drop> <x> <y> <z> <id> [level] [amount]: Drops the item from the module at the specified location
/customitems reload: Reload the module

Permissions


Example Custom Items

name: '&eDarktiant III'
lore:
  - '&7Ingredient needed in multiple'
  - '&7crafting recipes.'
material: BROWN_DYE
model-data: 1
color: -1,-1,-1
unbreakable: true
item-flags:
  - HIDE_UNBREAKABLE
  - HIDE_ENCHANTS
enchantments:
  respiration: 1.0
tier: default

Custom Items Config Options

name: the display name of the item
lore: the lore of the item
material: The material of the item
model-data: The custom model data of the item (resource pack needed for this feature)
color: This sets the RGB color of potions and leather armor.
unbreakable: Sets if the item is unbreakable
item-flags: These are the list of flags you would like to hide on the item. [Available Flags](https://web.archive.org/web/20220829170923/https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemFlag.html)
enchantments: List of enchantments you would like to add to the item
tier: Sets the tier of the item. (you can add tiers in the main config.yml)
⚠️ **GitHub.com Fallback** ⚠️