Upgrades

You can download default upgrades.yml here.

You can create a new upgrade type by this template:

#NOTE: you can use "&" or "§"
#Must be unique!
<id>:
  tier-1:
    cost: <replaceme>
    currency: <IRON_INGOT/GOLD_INGOT/DIAMOND/EMERALD>
    bought:
      sound: NOTE_PLING
      yaw: 1
      pitch: 100
    insuff:
      sound: ENDERMAN_TELEPORT
      yaw: 1
      pitch: 1
    display-item:
      slot: <replaceme>
      Amount: <replaceme>
      Material: <replaceme>
      Name: '{color}<replaceme>'
      Lore:
      - §7<replaceme>
      - ''
      - '{tier-1-color}Tier 1: <replaceme>, §b{tier-1-cost} {tier-1-currency}'
      - ''
      - '{buy_status}'
      Flags:
      - HIDE_ATTRIBUTES
    receive:
    #This line mean your team will receive +5% bullet damage!
    #Available: INCREASE_GUN_DAMAGE, GUN_DAMAGE_REDUCTION (more will be added soon!)
    #All available type has been used by build-in upgrades
    #You can still add more, and the effect will be cumulative.
    - INCREASE_GUN_DAMAGE:5 
  #... (add some tiers if you want)
  unlocked: #Required this or upgrade will not work properly
    display-item:
      slot: <replaceme>
      Material: <replaceme>
      Amount: <replaceme>
      Name: '{color}<replaceme>'
      Lore:
      - §7<replaceme>
      - ''
      - '{tier-1-color}Tier 1: <replaceme>, §b{tier-1-cost} {tier-1-currency}'
      - ''
      - '{buy_status}'
      Flags:
      - HIDE_ATTRIBUTES

Last updated