AdvancedPvP

16.3k Downloads

Advanced-Kit-PvP

Features

  • Unlimited Configurable Kits
  • Permission based Kits
  • Priced based Kits
  • Full Item Meta support (Enchantment, Item Names, Lores)
  • No Hunger Loss
  • No Item drop on Death or when Thrown
  • Kit Signs
  • Kit GUI
  • Soup Heal

Commands

Kit commands are created dynamically.. "/kit-yourcustomkitname" (To Redeem items of a Kit)

Configuration reload... "/kit-reload"

You can even generate a example config... "/kit-generate-default"

When you assign Kits to custom guinames you can open them here... "/kit-open-yourcustomguiname" (Limit of 9 Items per Custom GUI)

Kit Signs

Setup a kit sign as shown.. 1.) [advpvp] 2.) kit_name_here 3.) 4.) When you finish it will auto complete and format the sign with the appropriate kit pricing and colors.

Permission Starting Items

  • advpvp.gui.default (guiname: member) (Gives a item on join, when clicked opens defined starter kits)
  • advpvp.gui.donator (guiname: donator) (Gives a item on join, when clicked opens defined donator kits)

Defining Kits to GUI's

Adding a "guiname: exampleGUI" under a kit in the config will define the gui that kit is parented to. For items to appear in the start kit gui item you need to change the guiname to "member". You can also change the guiname to anything to have multiple custom gui's.

Example Config

For the example config I have made the TF2 classes each a kit...

kit1:
  name: Scout
  permission: advpvp.kit.scout
  items:
  - ==: org.bukkit.inventory.ItemStack
    type: IRON_SWORD
    meta:
      ==: ItemMeta
      meta-type: UNSPECIFIC
      display-name: "\xa76Default Sword"
      enchants:
        DURABILITY: 3
  - ==: org.bukkit.inventory.ItemStack
    type: COOKED_BEEF
    amount: 5
  - ==: org.bukkit.inventory.ItemStack
    type: MUSHROOM_SOUP
    amount: 4
  guiname: member
  guiitem:
    ==: org.bukkit.inventory.ItemStack
    type: IRON_AXE
  cost: 0
kit2:
  name: Soldier
  permission: advpvp.kit.soldier
  items:
  - ==: org.bukkit.inventory.ItemStack
    type: DIAMOND_AXE
    meta:
      ==: ItemMeta
      meta-type: UNSPECIFIC
      display-name: "\xa76Default Sword"
      enchants:
        DAMAGE_ALL:3
  - ==: org.bukkit.inventory.ItemStack
    type: TNT
    amount: 4
  - ==: org.bukkit.inventory.ItemStack
    type: MUSHROOM_SOUP
    amount: 3
  guiname: member
  guiitem:
    ==: org.bukkit.inventory.ItemStack
    type: TNT
  cost: 0
kit3:
  name: Pyro
  permission: advpvp.kit.pyro
  items:
  - ==: org.bukkit.inventory.ItemStack
    type: STONE_SWORD
    meta:
      ==: ItemMeta
      meta-type: UNSPECIFIC
      display-name: "\xa76Pyro Defense"
      enchants:
        DAMAGE_ALL: 5
  - ==: org.bukkit.inventory.ItemStack
    type: FLINT_AND_STEEL
    amount: 1
  - ==: org.bukkit.inventory.ItemStack
    type: MUSHROOM_SOUP
    amount: 5
  guiname: member
  guiitem:
    ==: org.bukkit.inventory.ItemStack
    type: FLINT_AND_STEEL
  cost: 0
kit4:
  name: Demoman
  permission: advpvp.kit.demoman
  items:
  - ==: org.bukkit.inventory.ItemStack
    type: DIAMOND_SWORD
    meta:
      ==: ItemMeta
      meta-type: UNSPECIFIC
      display-name: "\xa76Swing Swang Butcher"
      enchants:
        KNOCKBACK: 5
  - ==: org.bukkit.inventory.ItemStack
    type: TNT
    amount: 2
  - ==: org.bukkit.inventory.ItemStack
    type: MUSHROOM_SOUP
    amount: 5
  guiname: member
  guiitem:
    ==: org.bukkit.inventory.ItemStack
    type: MAGMA_CREAM
  cost: 0
kit5:
  name: Heavy
  permission: advpvp.kit.heavy
  items:
  - ==: org.bukkit.inventory.ItemStack
    type: GOLD_SWORD
    meta:
      ==: ItemMeta
      meta-type: UNSPECIFIC
      display-name: "\xa76The Damager"
      enchants:
        KNOCKBACK: 5
        DAMAGE_ALL: 5
  - ==: org.bukkit.inventory.ItemStack
    type: DIAMOND_CHESTPLATE
    amount: 1
  - ==: org.bukkit.inventory.ItemStack
    type: MUSHROOM_SOUP
    amount: 10
  guiname: member
  guiitem:
    ==: org.bukkit.inventory.ItemStack
    type: DIAMOND_CHESTPLATE
  cost: 0
kit6:
  name: Engineer
  permission: advpvp.kit.engineer
  items:
  - ==: org.bukkit.inventory.ItemStack
    type: STONE_SWORD
    meta:
      ==: ItemMeta
      meta-type: UNSPECIFIC
      display-name: "\xa76Shotty"
      enchants:
        DAMAGE_ALL: 2
  - ==: org.bukkit.inventory.ItemStack
    type: BOW
    amount: 1
  - ==: org.bukkit.inventory.ItemStack
    type: ARROW
    amount: 20
  guiname: member
  guiitem:
    ==: org.bukkit.inventory.ItemStack
    type: STONE_SWORD
  cost: 0
kit7:
  name: Medic
  permission: advpvp.kit.medic
  items:
  - ==: org.bukkit.inventory.ItemStack
    type: WOOD_SWORD
    meta:
      ==: ItemMeta
      meta-type: UNSPECIFIC
      display-name: "\xa76Peacemaker"
      enchants:
        KNOCKBACK: 3
  - ==: org.bukkit.inventory.ItemStack
    type: BOW
    amount: 1
  - ==: org.bukkit.inventory.ItemStack
    type: ARROW
    amount: 40
  - ==: org.bukkit.inventory.ItemStack
    type: MUSHROOM_SOUP
    amount: 34
  guiname: member
  guiitem:
    ==: org.bukkit.inventory.ItemStack
    type: MUSHROOM_SOUP
  cost: 0
kit8:
  name: Sniper
  permission: advpvp.kit.sniper
  items:
  - ==: org.bukkit.inventory.ItemStack
    type: BOW
    meta:
      ==: ItemMeta
      meta-type: UNSPECIFIC
      display-name: "\xa76NiP"
      enchants:
        ARROW_INFINITE: 1
        ARROW_DAMAGE: 4
        ARROW_KNOCKBACK: 2
  - ==: org.bukkit.inventory.ItemStack
    type: STONE_AXE
    amount: 1
  - ==: org.bukkit.inventory.ItemStack
    type: ARROW
    amount: 1
  - ==: org.bukkit.inventory.ItemStack
    type: MUSHROOM_SOUP
    amount: 2
  guiname: member
  guiitem:
    ==: org.bukkit.inventory.ItemStack
    type: BOW
  cost: 0
kit9:
  name: Spy
  permission: advpvp.kit.spy
  items:
  - ==: org.bukkit.inventory.ItemStack
    type: WOOD_AXE
    meta:
      ==: ItemMeta
      meta-type: UNSPECIFIC
      display-name: "\xa76Spysicle"
      enchants:
        DAMAGE_ALL: 5
  - ==: org.bukkit.inventory.ItemStack
    type: FLINT_AND_STEEL
    amount: 1
  guiname: member
  guiitem:
    ==: org.bukkit.inventory.ItemStack
    type: WOOD_AXE
  cost: 0
kit10:
  name: God
  permission: advpvp.kit.god
  items:
  - ==: org.bukkit.inventory.ItemStack
    type: DIAMOND_SWORD
    meta:
      ==: ItemMeta
      meta-type: UNSPECIFIC
      display-name: "\xa76Creepers no Creep-Back"
      enchants:
        DAMAGE_ALL: 5
        KNOCKBACK: 5
        DURABILITY: 5
  - ==: org.bukkit.inventory.ItemStack
    type: FLINT_AND_STEEL
    amount: 64
  - ==: org.bukkit.inventory.ItemStack
    type: TNT
    amount: 64
  - ==: org.bukkit.inventory.ItemStack
    type: MUSHROOM_SOUP
    amount: 64
  guiname: donator
  guiitem:
    ==: org.bukkit.inventory.ItemStack
    type: DIAMOND
  cost: 250