Oggetti

Prima che cominci a configurare l'itemstack del plugin assicurati di utilizzare il materiale corretto per la tua versione del gioco.

Ogni pulsante deve essere accompagnato da un itemstack (tranne in alcuni casi specifici).

item:
  material: <material>
  amount: <amount>
  data: <data, only avaible between 1.8 and 1.12>
  durability: <durability>
  url: <player skin in base64>
  name: <display name>
  lore: <list of text>
  potion: <potion effect type>
  level: <potion level>
  sphash: <potion splash true or false>
  extended: <potion extended true of flase>
  glow: <add glow effect>
  modelID: <custom model id>
  enchants: <list of enchantments>
  flags: <list of itemflag>
  firework: <firework meta>
  banner: <banner color>
  patterns: <banner pattern>
  color: <leather armor color>

Materiale

material: <material>

Il materiale dell'item. È possibile utilizzare un placeholder per visualizzare un materiale.

Supported material values:

  • Base64 (base64:<item in base64) Ritrova questo valore in base64 con il comando /zm save <item name> base64


Amount

amount: <amount>

La quantità dell'item. Puoi usare un placeholder per un valore dinamico.


Data

data: <data, only avaible between 1.8 and 1.12>

Il material data, disponibile solo per versioni tra la 1.8 e la 1.12. Il valore predefinito è 0


Durabilità

durability: <durability>

La durabilità dell'item, il valore predefinito è 0.


Url

url: <player skin in base64>

Esempio

url: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjM3YjhhMzk4MzdiYzNkNThmMDljOGM2ZTUzOTYyZDMzZjlmYTBiNjUzOThhNzc5MzUzYWRlMWUxNDcxM2VmZiJ9fX0="

Nome

name: <display name>

Il nome dell'item. Funziona con PlaceholderAPI.


Lore (descrizione)

lore:
  - <line1>
  - <line2>
  - <line3>
  - ...

La descrizione dell'item. Funziona PlaceholderAPI.


Pozione

  potion: <potion effect type>
  level: <potion level, 1 or 2> # 1 by default
  splash: <potion splash true or false>
  extended: <potion extended true of flase>
# For potions in 1.8 up to 1.12 you have to do like this:
material: POTION
durability: 16454

Luminosità

glow: <true of false>

Permette all'item di brillare. Aggiunge un incantesimo casuale e il flag HIDE_ENCHANT.


ModelID

modelID: <custom model id>

Ti permette di aggiungere la Custom Model Data all'item


Incantesimi

enchants:
  - <enchantment name>,<enchantment level>

Flags

flags:
  - <flag 1>
  - <flag 2>
  - ...

Colore

type: LEATHER_CHESTPLATE
color: 40,150,40 # RGB color

# Example with ARGB
color: 1,40,150,40 # ARGB color, Alpha, RED, GREEN, BLUE

Seleziona il colore RGB (Red, Green, Blue) per le armature in pelle. Formato:

color: <red>,<green>,<blue>

Puoi anche aggiungere un colore alpha per avere il formato ARGB

color: <alpha>,<red>,<green>,blue>

Firework

type: FIREWORK
firework:
  star: true
  flicker: true
  trail: true
  type: BALL_LARGE
  colors:
    - 250,10,10 # RGB and ARGB
  fadeColors:
    - 250,10,250 # RGB and ARGB

type: BANNER
banner: PINK # Banner color
patterns: # Banner pattern: <color>:<pattern>
  - RED:SQUARE_BOTTOM_LEFT
  - GREEN:STRIPE_LEFT

Last updated