gadgets.yml

Overview

The gadgets.yml file is the home of all gadgets within FateHub!

Last Updated: 5/30/2023

Default files are created on a 1.8 version base. Newer versions will need item name changes made before use. We are working to create pre-made config files for each version.

Default Config File

menu:
  gadget-menu:
    menu-title: "&bGadgets"
    menu-size: 45
    fill-menu:
      enabled: false
      item:
        name: " "
        material: "STAINED_GLASS_PANE"
        amount: 1
        durability: 0
        lore: []
    items:
      item-1:
        name: "&6&nGadget&b &7| &c&lHearts"
        material: "INK_SACK"
        durability: 1
        #Make sure this is valid
        gadget-name: "hearts"
        slot: 20
        amount: 1
        message:
          enabled: false
          text: "&eHello &b<player>!"
        command:
          enabled: true
          #Put command without /
          execute: "gadget hearts"
        action: ""
        lore-with-permission:
          - ""
          - "&7Click if you want to apply"
          - "&7this gadget for you!"
          - ""
        lore-with-no-permission:
          - ""
          - "&cYou don't have"
          - "&caccess to this gadget!"
          - ""
      item-2:
        name: "&6&nGadget&b &7| &f&lExplosion"
        material: "BLAZE_POWDER"
        durability: 0
        #Make sure this is valid
        gadget-name: "explosion"
        slot: 23
        amount: 1
        message:
          enabled: false
          text: "&eHello &b<player>!"
        command:
          enabled: true
          #Put command without /
          execute: "gadget explosion"
        action: ""
        lore-with-permission:
          - ""
          - "&7Click if you want to apply"
          - "&7this gadget for you!"
          - ""
        lore-with-no-permission:
          - ""
          - "&cYou don't have"
          - "&caccess to this gadget!"
          - ""
      item-3:
        name: "&6&nGadget&b &7| &d&lFirework"
        material: "FIREWORK"
        durability: 0
        #Make sure this is valid
        gadget-name: "firework"
        slot: 26
        amount: 1
        message:
          enabled: false
          text: "&eHello &b<player>!"
        command:
          enabled: true
          #Put command without /
          execute: "gadget firework"
        action: ""
        lore-with-permission:
          - ""
          - "&7Click if you want to apply"
          - "&7this gadget for you!"
          - ""
        lore-with-no-permission:
          - ""
          - "&cYou don't have"
          - "&caccess to this gadget!"
          - ""
      item-4:
        name: "&6&nGadget&b &7(&c&lRemove&7)"
        material: "ARROW"
        durability: 0
        #Make sure this is valid
        gadget-name: ""
        slot: 41
        amount: 1
        message:
          enabled: false
          text: "&eHello &b<player>!"
        command:
          enabled: true
          #Put command without /
          execute: "gadget none"
        action: ""
        lore:
          - ""
          - "&cClick to remove"
          - "&cyour active gadget!"
          - ""
      item-5:
        name: "&6&nGadgets&b &7| &b&lPurchase"
        material: "CHEST"
        durability: 0
        #Make sure this is valid
        gadget-name: ""
        slot: 4
        amount: 1
        message:
          enabled: false
          text: "&eHello &b<player>!"
        command:
          enabled: false
          #Put command without /
          execute: ""
        action: ""
        close-inventory: false
        lore:
          - ""
          - "&eIf you want to purchase some of"
          - "&ethe gadgets you can do it at our store:"
          - "&e&nwww.store-example.com"
          - ""
      item-6:
        name: "&6&nGadgets&b &7| &b&lPurchase"
        material: "CHEST"
        durability: 0
        #Make sure this is valid
        gadget-name: ""
        slot: 5
        amount: 1
        message:
          enabled: false
          text: "&eHello &b<player>!"
        command:
          enabled: false
          #Put command without /
          execute: ""
        action: ""
        close-inventory: false
        lore:
          - ""
          - "&eIf you want to purchase some of"
          - "&ethe gadgets you can do it at our store:"
          - "&e&nwww.store-example.com"
          - ""
      item-7:
        name: "&6&nGadgets&b &7| &b&lPurchase"
        material: "CHEST"
        durability: 0
        #Make sure this is valid
        gadget-name: ""
        slot: 6
        amount: 1
        message:
          enabled: false
          text: "&eHello &b<player>!"
        command:
          enabled: false
          #Put command without /
          execute: ""
        action: ""
        close-inventory: false
        lore:
          - ""
          - "&eIf you want to purchase some of"
          - "&ethe gadgets you can do it at our store:"
          - "&e&nwww.store-example.com"
          - ""
gadgets:
  #If players want to apply a gadget, can use /gadget <name>
  heart:
    name: "hearts"
    permission: "hub.gadgets.hearts"
    effect:
      offset:
        x: 1
        y: 1
        z: 1
      name: "HEART"
      speed: 0.5
      amount: 1
      #Particle will show only if other player is in this range
      range: 10
  explosion:
    name: "explosion"
    permission: "hub.gadgets.explosion"
    effect:
      offset:
        x: 0
        y: 0
        z: 0
      name: "EXPLOSION_NORMAL"
      speed: 0.2
      amount: 4
      range: 10
  firework:
    name: "firework"
    permission: "hub.gadgets.firework"
    effect:
      offset:
        x: 0
        y: 0
        z: 0
      name: "FIREWORKS_SPARK"
      speed: 0.2
      amount: 100
      range: 10

Last updated