⛏️
OreProcessor
  • 👋Welcome to OreProcessor
  • ✅Discord
  • Overview
    • Commands
    • Permissions
    • Placeholders
    • Logging
    • FAQ
    • Integration
  • Configuration
    • 📦Main Configuration
      • Add a new ore
    • 🚀Upgrade Configuration
    • 📌GUI Configuration
    • 🥣Filter
    • 💎Custom Items
  • Developer
    • ⚙️API
Powered by GitBook
On this page
  • Item Meta
  • Skull
  • Reference

Was this helpful?

  1. Configuration

GUI Configuration

Ore Processor uses a component-based GUI. You define the layout made from characters. Each character defines a specific component.

The component has a type option for the plugin to handle. You can add additional items to the menu with no type.

title: "&0Ore Processor | Menu"
layout:
  - "---------"
  - "--XXXXX--"
  - "--XXXXX--"
  - "--XXXXX--"
  - "---------"
components:
  "-":
    name: "&e"
    material: gray_stained_glass_pane
  "X":
    type: ore
    name: "&e"
    material: black_stained_glass_pane

Example item configuration:

material: EGG # Bukkit names (case-insensitive)
amount: 3 # default to 1
damage: 5 # default to 0
name: "&aName"
lore:
- "Hello!"
enchantments:
  durability: 1 # you can use Minecraft names or Bukkit names (case-insensitive)
flags:
- hide_enchants # Bukkit names (case-insensitive)
customModelData: 1 # Set to 0 to unset custom model data
unbreakable: true

Item Meta

material: player_head
# Other general item settings...
meta:
  type: skull # <===========
  # Other item meta settings...

Skull

material: player_head
meta:
  type: skull
  skull-texture: "6e2be91f04579a924a20a0585b8addac8ec790c97f005333a47ed983554c6ea"

It is possible to use the URL. However, I won't recommend it since that is too long

Reference

Vouchers is another plugin made by me and it has the same item configuration format. The item configuration is the section under custom-item

PreviousUpgrade ConfigurationNextFilter

Last updated 12 months ago

Was this helpful?

Material list: Enchantment list: Item flags:

The skull texture is an identifier at the tail of the skin URL pointing to Mojang's server such as

For further information, you may want to check:

📌
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/enchantments/Enchantment.html
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemFlag.html
https://textures.minecraft.net/texture/6e2be91f04579a924a20a0585b8addac8ec790c97f005333a47ed983554c6ea
https://anhcraft.gitbook.io/vouchers/configuration/voucher-configuration/custom-item