ScreamingSandals / BedWars

Simple BedWars minigame plugin for Spigot version 1.8.8 - 1.21.1
https://www.spigotmc.org/resources/bedwars.63714/
GNU Lesser General Public License v3.0
260 stars 94 forks source link

Fireworks #496

Closed RangeBanenge closed 1 year ago

RangeBanenge commented 1 year ago

How to add fireworks with color to the store?

Misat11 commented 1 year ago

According to https://www.spigotmc.org/wiki/itemstack-serialization/

- stack:
    type: FIREWORK_ROCKET
    meta: 
      ==: ItemMeta
      meta-type: FIREWORK
      firework-effects:
      - ==: Firework
        flicker: <true|false>
        trail: <true|false>
        colors:
        - ==: Color
          RED: <red value>
          GREEN: <green value>
          BLUE: <blue value>
        - < .. more colors .. >
        fade-colors:
        - ==: Color
          RED: <red value>
          GREEN: <green value>
          BLUE: <blue value>
        - < .. more colors .. >
        type: <firework effect type name>
      - < .. more firework effects .. >
      power: <power>
RangeBanenge commented 1 year ago

Thanks