general:
    debug: false
    debug-level: 3
    enable-volatile-features: true
    alt-config: altConfig.yml
    str-cast-usage: |
        Read the instructions in the starting area.
    str-unknown-spell: You do not know a spell with that name.
    str-spell-change: You have selected %s.
    str-spell-change-empty: You no longer have anything selected.
    str-on-cooldown: You must wait %c seconds before you can do that again
    str-missing-reagents: Spell Failed! you are missing
    str-cant-cast: I'm sorry Dave.  I'm afraid I can't let you do that.
    str-wrong-world: I'm sorry Dave.  I'm afraid I can't let you do that.
    str-console-name: Admin
    require-cast-item-on-command: true
    text-color: 3
    broadcast-range: 10
    separate-player-spells-per-world: false
    allow-cycle-to-no-spell: true
    only-cycle-to-castable-spells: true
    allow-cast-with-fist: false
    ops-have-all-spells: true
    default-all-perms-false: true
    ignore-default-bindings: false
    ignore-cast-item-durability: [ 268, 269, 270, 271, 283, 284, 285, 286, 290, 294, 314, 315, 316, 317 ]
    global-cooldown: 375
    cast-on-animate: false

    entity-names:
        zombie: an ugly zombie
        skeleton: a skeleton
        spider: a spider
        cavespider: a nasty little spider
        creeper: a creepy creeper
        slime: a slimy blob
        wolf: a wolf
        snowman: a snow golem
        villager: an innocent villager
        enderman: Mr. Enderman
        silverfish: a slimy silverfish
        ghast: a ghast
        pigzombie: a pig zombie
        blaze: a blaze
        lavaslime: a magma slime
        giant: the giant
        enderdragon: the ender dragon
        cow: a cow
        sheep: a sheep
        pig: a pig
        chicken: a duck
        mushroomcow: a deformed cow
        squid: a squid
    
    mana:
        enable-mana-bars: true
        max-mana: 100
        mana-bar-prefix: "Mana:"
        mana-bar-size: 35
        color-full: 10
        color-empty: 0
        regen-tick-rate: 100
        regen-amount: 5
        show-mana-on-use: false
        show-mana-on-regen: false
        show-mana-on-wood-tool: true
        show-mana-on-hunger-bar: false
        show-mana-on-experience-bar: false
        tool-slot: 8
        mana-potion-cooldown: 30
        str-mana-potion-on-cooldown: You cannot use another mana potion yet (%c seconds).
        mana-potions:
            - 322 1
        
spells:
#----------------------------------------------------------------------------------------
#-------------------------------Spawn Class Item Spells----------------------------------
#----------------------------------------------------------------------------------------
    spawnClassItems:
        spell-class: ".instant.ConjureSpell"
        description: Gives you Random Class Items.
        str-cast-self: You have been given some random class items!
        cooldown: 9001
        cast-item: 378
        cost:
            - 378 1
        can-cast-by-command: false
        can-cast-with-item: true
        items:
            - 2265 1
            - 2256 1 30%
            - 2258 1 30%
            - 2263 1 30%
            - 2262 1 30%
        add-to-inventory: true

    spawnMonsterItems:
        spell-class: ".instant.ConjureSpell"
        description: Gives you Random Monster Class Items.
        str-cast-self: You have been given some random class items!
        cooldown: 30
        cast-item: 371
        cost:
            - 371 1
        can-cast-by-command: false
        can-cast-with-item: true
        items:
            - 2260 1
            - 2261 1 30%
            - 2257 1 30%
            - 2259 1 25%
            - 2264 1 20%
            - 353 1 5%
            - 115 1 5%
        add-to-inventory: true


#----------------------------------------------------------------------------------------
#-------------------------------Class Selection Spells-----------------------------------
#----------------------------------------------------------------------------------------
    builderSpawn:
        spell-class: ".MultiSpell"
        name: Play as a Builder
        can-cast-by-command: false
        check-individual-cooldowns: false
        cooldown: 9001
        cast-item: 2265
        str-cast-self: You have choosen to be a Builder!
        spells:
            - tpDwarfSpawn
            - DELAY 5
            - builderSpawnItems
            - DELAY 5
            - permBuilderDwarf

    brewerSpawn:
        spell-class: ".MultiSpell"
        name: Play as a Brewer
        can-cast-by-command: false
        check-individual-cooldowns: false
        cooldown: 9001
        cast-item: 2256
        str-cast-self: You have choosen to be a brewer!
        spells:
            - tpDwarfSpawn
            - DELAY 5
            - brewerSpawnItems
            - DELAY 5
            - permBrewerDwarf
    tailorSpawn:
        spell-class: ".MultiSpell"
        name: Play as a Tailor
        can-cast-by-command: false
        check-individual-cooldowns: false
        cooldown: 9001
        cast-item: 2258
        str-cast-self: You have choosen to be a tailor!
        spells:
            - tpDwarfSpawn
            - DELAY 5
            - tailorSpawnItems
            - DELAY 5
            - permTailorDwarf

    blacksmithSpawn:
        spell-class: ".MultiSpell"
        name: Play as a BlackSmith
        can-cast-by-command: false
        check-individual-cooldowns: false
        cooldown: 9001
        cast-item: 2263
        str-cast-self: You have choosen to be a blacksmith!
        spells:
            - tpDwarfSpawn
            - DELAY 5
            - blacksmithSpawnItems
            - DELAY 5
            - permBlacksmithDwarf

    bakerSpawn:
        spell-class: ".MultiSpell"
        name: Play as a Baker
        can-cast-by-command: false
        check-individual-cooldowns: false
        cooldown: 9001
        cast-item: 2262
        str-cast-self: You have choosen to be a baker!
        spells:
            - tpDwarfSpawn
            - DELAY 5
            - bakerSpawnItems
            - DELAY 5
            - permBakerDwarf

    zombieSpawn:
        spell-class: ".MultiSpell"
        name: Play as a zombie.
        can-cast-by-command: false
        check-individual-cooldowns: false
        cast-item: 2260
        str-cast-self: You have choosen to play as a zombie!
        spells:
            - permZombie
            - tpMonsterSpawn
            - DELAY 5
            - zombieSpawnItems
            - DELAY 15
            - disguiseZombie
            
    skeletonSpawn:
        spell-class: ".MultiSpell"
        name: Play as a skeleton
        can-cast-by-command: false
        check-individual-cooldowns: false
        cast-item: 2261
        str-cast-self: You have choosen to play as a skeleton!
        spells:
            - permSkeleton
            - tpMonsterSpawn
            - DELAY 5
            - skeletonSpawnItems
            - DELAY 15
            - disguiseSkeleton
            
    spiderSpawn:
        spell-class: ".MultiSpell"
        name: Play as a spider
        can-cast-by-command: false
        check-individual-cooldowns: false
        cast-item: 2259
        str-cast-self: You have choosen to play as a spider!
        spells:
            - permSpider
            - tpMonsterSpawn
            - DELAY 5
            - spiderSpawnItems
            - DELAY 5
            - spider_jump
            - DELAY 5
            - spider_speed
            - DELAY 10
            - disguiseSpider
            
    creeperSpawn:
        spell-class: ".MultiSpell"
        name: Play as a creeper
        can-cast-by-command: false
        check-individual-cooldowns: false
        cast-item: 2257
        str-cast-self: You have choosen to play as a creeper!
        spells:
            - permCreeper
            - tpMonsterSpawn
            - DELAY 5
            - creeperSpawnItems
            - DELAY 15
            - disguiseCreeper
            
    wolfSpawn:
        spell-class: ".MultiSpell"
        name: Play as a wolf
        can-cast-by-command: false
        check-individual-cooldowns: false
        cast-item: 2264
        str-cast-self: You have choosen to play as a wolf!
        spells:
            - permWolf
            - tpMonsterSpawn
            - DELAY 5
            - wolfSpawnItems
            - DELAY 15
            - disguiseWolf
            
    pigmanSpawn:
        spell-class: ".MultiSpell"
        name: Play as a pigman
        can-cast-by-command: false
        check-individual-cooldowns: false
        cast-item: 115
        str-cast-self: You have choosen to play as a pigman!
        spells:
            - permPig1
            - tpMonsterSpawn
            - DELAY 3
            - pigmanSpawnItems
            - DELAY 15
            - disguisePig
            - DELAY 2
            - babySwap
            
    ironGolemSpawn:
        spell-class: ".MultiSpell"
        name: Play as an ironGolem
        can-cast-by-command: false
        check-individual-cooldowns: false
        cast-item: 0
        str-cast-self: You have choosen to play as a ironGolem!
        spells:
            - permIronGolem
            - tpMonsterSpawn
            - DELAY 5
            - ironGolemSpawnItems
            - DELAY 15
            - disguiseIronGolem
            
    endermanSpawn:
        spell-class: ".MultiSpell"
        name: Play as a enderman
        can-cast-by-command: false
        check-individual-cooldowns: false
        cast-item: 2266
        str-cast-self: You have choosen to play as a enderman!
        spells:
            - permEnderman
            - tpMonsterSpawn
            - DELAY 5
            - endermanSpawnItems
            - DELAY 15
            - disguiseEnderman
            
    silverfishSpawn:
        spell-class: ".MultiSpell"
        name: Play as a silverfish
        can-cast-by-command: false
        check-individual-cooldowns: false
        cast-item: 353
        str-cast-self: You have choosen to play as a silverfish!
        spells:
            - permSilverfish
            - tpMonsterSpawn
            - DELAY 5
            - silverfishSpawnItems
            - DELAY 15
            - disguiseSilverfish
            
    endermanSpawn:
        spell-class: ".MultiSpell"
        name: Play as a enderman
        can-cast-by-command: false
        check-individual-cooldowns: false
        cast-item: 2266
        str-cast-self: You have choosen to play as a enderman!
        spells:
            - permEnderman
            - tpMonsterSpawn
            - DELAY 5
            - endermanSpawnItems
            - DELAY 15
            - disguiseEnderman


#----------------------------------------------------------------------------------------
#------------------------------------Castable Spells-------------------------------------
#----------------------------------------------------------------------------------------

# Main Dwarf Class Spells
    builderConjure:
        spell-class: ".instant.ConjureSpell"
        name: Builder Conjure
        description: Conjure some building reagents.
        str-cost: -free-
        cooldown: 30
        cast-item: 340
        can-cast-by-command: false
        can-cast-with-item: true
        experience: 5
        items:
            - 98:0 32-120
            - 98:1 32-64 70%
            - 98:2 32-64 40%
            - 98:3 32-64 40%
            - 74 1 10%
            - 82 2-10 90%
            - 348 3-10 55%
        add-to-inventory: false

    brewerConjure:
        spell-class: ".instant.ConjureSpell"
        name: Brewer Conjure
        description: Conjure some brewing reagents.
        str-cost: requires 3 Mundane Potions.
        cooldown: 30
        cast-item: 373:64
        cost:
            - 373:64 3
        can-cast-by-command: false
        experience: 6
        items:
            - 373:8197 1-3
            - 373:8194 1-2 45%
            - 373:8201 1 25%
            - 373:8259 1 20%
            - 373:8193 1 5%
            - 12 1-32 80%
            - 352 1-20
            - 335 1-3 21%
        add-to-inventory: false

    tailorConjure:
        spell-class: ".instant.ConjureSpell"
        name: Tailor Conjure
        description: Conjure some tailor reagents.
        str-cost: requires 15 Orange Dyes.
        cooldown: 30
        cast-item: 340
        cost:
            - 351:14 15
        can-cast-by-command: false
        experience: 6
        items:
            - 14 2-16 95%
            - 310 1 30%
            - 311 1 20%
            - 312 1 30%
            - 313 1 30%
            - 302 1 1% 
            - 303 1 1%
            - 304 1 1%
            - 305 1 1%
            - 264 1-2 15%
        add-to-inventory: false

    blacksmithConjure:
        spell-class: ".instant.ConjureSpell"
        name: Blacksmith Conjure
        description: Conjure some blacksmith reagents.
        str-cost: requires 3 gold compasses.
        cooldown: 30
        cast-item: 347
        cost:
            - 347 3
        can-cast-by-command: false
        experience: 6
        items:
            - 276 1 33%
            - 278 1 10%
            - 261 1-2 39%
            - 262 1-110 40%
            - 264 1-2 80%
            - 263 3-30
            - 74 1-3
        add-to-inventory: false
        
    bakerConjure:
        spell-class: ".instant.ConjureSpell"
        name: Baker Conjure
        description: Conjure some cake & cookies!
        str-cost: requires 16 Bricks.
        cooldown: 30
        cast-item: 336
        cost:
            - 336 16
        can-cast-by-command: false
        experience: 6
        items:
            - 354 1-5
            - 357 1-20
            - 366 1-2 25%
        add-to-inventory: false
        
    healingPotion:
        spell-class: ".instant.ProjectileSpell"
        name: Healing Potion
        cast-item: 373:8197
        cooldown: 10
        projectile: snowball
        velocity: 0
        require-hit-entity: false
        cancel-damage: true
        remove-projectile: true
        max-distance: 0
        aoe-radius: 10
        spells: [healEffect]
        cost:
            - experience 3
        str-cost: 3 experience

    healEffect:
        spell-class: ".targeted.HealSpell"
        heal-amount: 6
        cancel-if-full: false
        effects:
            - target potion FF0000 40
        obey-los: true
        cooldown: 0
        range: 12


#----------------------------------------------------------------------------------------
#------------------------------Class Spawn Item giving-----------------------------------
#----------------------------------------------------------------------------------------
    builderSpawnItems:
        spell-class: ".instant.ConjureSpell"
        cooldown: 9001
        can-cast-by-command: false
        can-cast-with-item: false
        items:
            - 340 1
            - 320 5
            - 257 1
            - 256 1
            - 298 1
            - 299 1
            - 300 1
            - 301 1
        add-to-inventory: true
        
    brewerSpawnItems:
        spell-class: ".instant.ConjureSpell"
        cooldown: 9001
        can-cast-by-command: false
        can-cast-with-item: false
        items:
            - 379 2
            - 380 2
            - 54 2
            - 331 4-7
            - 20 16-48
            - 22 64
            - 323 3
            - 320 5
            - 17 2
        add-to-inventory: true
        
    tailorSpawnItems:
        spell-class: ".instant.ConjureSpell"
        cooldown: 9001
        can-cast-by-command: false
        can-cast-with-item: false
        items:
            - 340 1
            - 352 10
            - 6 6
            - 2 20
            - 54 2
            - 99 64
            - 323 3
            - 320 5
            - 17 2
        add-to-inventory: true
        
    blacksmithSpawnItems:
        spell-class: ".instant.ConjureSpell"
        cooldown: 9001
        can-cast-by-command: false
        can-cast-with-item: false
        items:
            - 274 1
            - 331 4-30
            - 14 12-26
            - 61 4-6
            - 54 2
            - 263 10
            - 323 3
            - 112 64
            - 320 5
            - 17 2
        add-to-inventory: true

    bakerSpawnItems:
        spell-class: ".instant.ConjureSpell"
        cooldown: 9001
        can-cast-by-command: false
        can-cast-with-item: false
        items:
            - 263 10
            - 61 2
            - 54 2
            - 45 64
            - 323 3
            - 320 5
            - 274 1
            - 337 32-50
        add-to-inventory: true


#-------------------------Spawn Monster Items---------------------------------------------

    zombieSpawnItems:
        spell-class: ".MultiSpell"
        check-individual-cooldowns: false
        can-cast-by-command: false
        can-cast-with-item: false
        spells:
            - zombiesword
            - DELAY 5
            - zombieSpawnItemsRest

    zombiesword:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute:
            - "i %a 267:0|damage_all:2 1"
        execute-on-console-instead: true

    zombieSpawnItemsRest:
        spell-class: ".instant.ConjureSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        items:
            - 373:16389 3
            - 364 32
            - 306 1
            - 307 1
            - 308 1
            - 309 1
        add-to-inventory: true
        
    spiderSpawnItems:
        spell-class: ".MultiSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        check-individual-cooldowns: false
        spells:
            - spiderSpawnItemsRest
            - DELAY 5
            - spiderboots
        
    spiderboots:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute:
            - "i %a 309:0|protection_fall:4 1"
        execute-on-console-instead: true
        
    spiderSpawnItemsRest:
        spell-class: ".instant.ConjureSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        items:
            - 375 1
            - 373:16388 3
            - 364 32
            - 306 1
            - 307 1
            - 308 1
            - 322 1
        add-to-inventory: true
        
    skeletonSpawnItems:
        spell-class: ".MultiSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        check-individual-cooldowns: false
        spells:
            - skeletonbow
            - DELAY 5
            - skeletonSpawnItemsRest

    skeletonbow:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute:
            - "i %a 261:0|arrow_damage:5,arrow_knockback:2,arrow_fire:1,arrow_infinite:1 1"
        execute-on-console-instead: true

    skeletonSpawnItemsRest:
        spell-class: ".instant.ConjureSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        items:
            - 262 64
            - 106 32
            - 364 32
            - 298 1
            - 299 1
            - 300 1
            - 301 1
        add-to-inventory: true
    
    creeperSpawnItems:
        spell-class: ".instant.ConjureSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        items:
            - 289 1
            - 364 32
            - 322 1
            - 298 1
            - 299 1
            - 300 1
            - 301 1
        add-to-inventory: true
        
    wolfSpawnItems:
        spell-class: ".MultiSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        check-individual-cooldowns: false
        cooldown: 9001
        spells:
            - wolfSwords
            - DELAY 10
            - wolfSpawnItemsRest

    wolfSwords:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute:
            - "i %a 267:0|damage_all:4 1"
            - "i %a 283:0|fire_aspect:2,knockback:2 1"
        execute-on-console-instead: true
        
    wolfSpawnItemsRest:
        spell-class: ".instant.ConjureSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        items:
            - 364 32
            - 383:95 5
            - 352 32
            - 302 1
            - 303 1
            - 304 1
            - 305 1
        add-to-inventory: true
        
    silverfishSpawnItems:
        spell-class: ".instant.ConjureSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        items:
            - 349 1
            - 350 1
            - 273 1
            - 364 32
            - 383:60 6
            - 383:91 20
            - 298 1
            - 299 1
            - 300 1
            - 301 1
        add-to-inventory: true
        
    pigmanSpawnItems:
        spell-class: ".instant.ConjureSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        items:
            - 372 1
            - 364 32
        add-to-inventory: true
        
    pig1Transform:
        spell-class: ".MultiSpell"
        can-cast-by-command: false
        can-cast-with-item: true
        cast-item: 372
        cost:
            - levels 5
            - 372 1
        str-cost: You need to be level 5 to Evolve!
        check-individual-cooldowns: false
        spells:
            - pig2Items
            - DELAY 5
            - pig2sword
            - DELAY 5
            - permPig2
            - DELAY 5
            - babySwap
        
    pig2Items:
        spell-class: ".instant.ConjureSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        items:
            - 376 1
            - 364 32
        add-to-inventory: true
        effects:
            - caster cloud

    pig2sword:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute:
            - "i %a 272:0|damage_all:5 1"
        execute-on-console-instead: true
        
    pig2Transform:
        spell-class: ".MultiSpell"
        can-cast-by-command: false
        can-cast-with-item: true
        cast-item: 376
        cost: 
            - levels 9
            - 376 1
        str-cost: You need to be level 9 to Evolve!
        check-individual-cooldowns: false
        spells:
            - pig3Items
            - DELAY 3
            - pig3sword
            - DELAY 2
            - permPig3
            - DELAY 4
            - disguisePigMan
        
    pig3Items:
        spell-class: ".instant.ConjureSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        items:
            - 306 1
            - 307 1
            - 308 1
            - 309 1
        add-to-inventory: true
        effects:
            - caster lightning
            - caster cloud

    pig3sword:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute:
            - "i %a 267:0|damage_all:5 1"
            - "time zombiepermit night"
        execute-on-console-instead: true
        
    endermanSpawnItems:
        spell-class: ".instant.ConjureSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        items:
            - 375 1
            - 369 1
        add-to-inventory: true


#----------------------------------------------------------------------------------------
#--------------------------------------Mob Spells----------------------------------------
#----------------------------------------------------------------------------------------
    creeperExplode:
        spell-class: ".MultiSpell"
        can-cast-by-command: false
        check-individual-cooldowns: false
        cast-item: 289
        cooldown: 30
        can-cast-by-command: false
        spells:
            - creepertnt
            - killPill

    creepertnt:
        spell-class: ".targeted.ExplodeSpell"
        can-cast-by-command: false
        range: 100
        explosion-size: 4
        backfire-chance: 10000
        damage-multiplier: 0.5
        prevent-block-damage: false
        prevent-player-damage: false
        damage-multiplier: 0
        target-players: true
        ignore-canceled: false
        require-entity-target: false
        
    spider_bite1:
        spell-class: ".targeted.PotionEffectSpell"
        name: VenomPoison
        cast-item: 373:16388
        range: 2
        type: 19
        strength: 2
        duration: 65
        targeted: true
        target-players: true
        obey-los: true
        str-cast-self: ""

    spider_bite2:
        spell-class: ".targeted.PotionEffectSpell"
        name: DizzyPoison
        cast-item: 375
        range: 3
        type: 9
        strength: 0
        duration: 300
        targeted: true
        target-players: true
        obey-los: true
        str-cast-self: ""

    spider_bite3:
        spell-class: ".targeted.PotionEffectSpell"
        name: VisionPoison
        cast-item: 375
        range: 3
        type: 15
        strength: 0
        duration: 300
        targeted: true
        target-players: true
        obey-los: true
        str-cast-self: ""

    spider_speed:
        spell-class: ".targeted.PotionEffectSpell"
        type: 1
        strength: 4
        duration: 95000
        targeted: false
        target-players: true
        target-non-players: true
        obey-los: true

    spider_jump:
        spell-class: ".targeted.PotionEffectSpell"
        type: 8
        strength: 3
        duration: 95000
        targeted: false
        target-players: true
        target-non-players: true
        obey-los: true

    silverfish_confusion:
        spell-class: ".instant.ConfusionSpell"
        name: silverfish_confusion
        cast-item: 350
        cooldown: 3
        range: 10
        str-cost: 4 redstone dust
        str-cast-self: Your roar at your brood to awaken your eggs.
        str-cast-others: "The broodmother roars!"
        
    silverfish_infect:
        spell-class: ".ExternalCommandSpell"
        name: silverfish_infect
        cooldown: 3
        cast-item: 349
        cost:
            - 383:91 1
        can-cast-by-command: false
        can-cast-with-item: true
        command-to-execute: 
            - "replacenear 1 1 97"
            - "replacenear 1 4 97"
            - "replacenear 1 98 97"
        command-to-execute-later: []
        command-delay: 0
        command-to-block:
            - "gt"
        temporary-permissions:
            - "worldedit.replacenear"
        require-player-target: false
        obey-los: true
        range: 20
        str-cost: You need an egg to infect!
        str-cast-self: You lay some eggs in the stones around you.
        str-cast-others: "A broodmother is laying her eggs."
        
    pigEat1:
        spell-class: ".targeted.ZapSpell"
        name: Baby Pig Eat
        cast-item: 372
        cooldown: 1
        experience: 1
        str-on-cooldown: ""
        allowed-block-types: 98,1
        drop-block: false
        drop-normal: false
        effects:
            - target smoke
        check-plugins: false
        range: 2
        require-player-target: false
        str-cast-self: om NOM nom.

    pigEat2:
        spell-class: ".targeted.ZapSpell"
        name: Pig Eat
        cast-item: 376
        cooldown: 0
        experience: 1
        str-on-cooldown: ""
        allowed-block-types: 98,1
        drop-block: false
        drop-normal: false
        effects:
            - target bigsmoke
        check-plugins: false
        range: 2
        require-player-target: false
        str-cast-self: om NOM nom.
        
    pigmanHungerBlade:
        spell-class: ".PassiveSpell"
        name: poison-sword
        triggers: 
            - givedamage 267
        chance: 100
        cooldown: 1
        spells:
            - food
        
    food:
        spell-class: ".instant.FoodSpell"
        name: food
        can-cast-by-command: true
        can-cast-with-item: false
        description: Makes you more hungry.
        cooldown: 30
        food: -15
        saturation: 2.5
        str-cast-self: You feel more hungry.
        
    enderTeleport:
        spell-class: ".instant.ProjectileSpell"
        name: Enderman Teleport
        cast-item: 375
        cooldown: 18
        projectile: enderpearl
        velocity: 0
        smoke-trail: true
        remove-projectile: true
        spells: [blink]
        str-cast-self: You blink away!
        str-cast-others: "An Enderman has teleported nearby!"
        str-cant-blink: You cannot blink there.

    blink:
        spell-class: ".targeted.BlinkSpell"
        pass-through-ceiling: false
        smoke-trail: true
        effects:
            - pos1 ender
            - pos2 ender
    
    enderPortal:
        spell-class: ".MultiSpell"
        name: Open end portal
        cooldown: 900
        cast-item: 369
        cost:
            - 369 1
        check-individual-cooldowns: false
        can-cast-by-command: false
        can-cast-with-item: true
        spells:
            - enderPortal_selfCommands
            - enderPortal_consoleCommands
            - enderPortal_snare
            
    enderPortal_selfCommands:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute:
            - "up 10"
            - "/sphere 0 5"
            - "/hcyl 89 8"
            - "/hcyl 121 7 -1"
            - "/hcyl 121 5 -2"
            - "/hcyl 121 3 -3"
            - "/cyl 121 1 -4"
            - "me has transformed into an ender portal!"
        command-to-execute-later: []
        command-delay: 0
        command-to-block:
            - "replacenear"
            - "cyl"
            - "hcyl"
            - "set"
            - "*"
        temporary-permissions:
            - "worldedit.*"
            
    enderPortal_consoleCommands:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute:
            - "setwarp ender %a"
            - "confirm"
            - "time zombiepermit night"
            - "i %a 377 1"
        execute-on-console-instead: true
            
    enderPortal_snare:
        spell-class: ".targeted.PotionEffectSpell"
        type: 2
        strength: 4
        duration: 95000
        targeted: false
        target-players: true
        target-non-players: true
        effects:
            - caster lightning
            - caster bigsmoke
        obey-los: true

    enderPortalReinforce:
        spell-class: ".MultiSpell"
        name: Reinforce portal
        cooldown: 33
        cast-item: 377
        can-cast-by-command: false
        can-cast-with-item: true
        spells:
            - enderPortal_snare
            - enderPortal_reinforce
            - ender_summon

    enderPortal_reinforce:
        spell-class: ".ExternalCommandSpell"
        command-to-execute:
            - "warp -s %a ender"
            - DELAY 10
            - "setwarp ender %a"
            - "confirm"
            - "time zombiepermit night"
        execute-on-console-instead: true

    ender_summon:
        spell-class: ".instant.ConjureSpell"
        items:
            - 383:57 1 25%
            - 383:54 1 25%
            - 383:51 1 25%
            - 383:61 1 25%
        effects:
            - caster lightning
            - caster bigsmoke


#----------------------------------------------------------------------------------------
#---------------------------------Monster Disguise Spells -------------------------------
#----------------------------------------------------------------------------------------


    disguiseZombie:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute:
            - "md zombie"
        temporary-permissions:
             - "mobdisguise.*"
        
    disguiseSkeleton:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute:
            - "md skeleton"
        temporary-permissions:
             - "mobdisguise.*"
        
    disguiseSpider:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute:
            - "md spider"
        temporary-permissions:
             - "mobdisguise.*"
        
    disguiseCreeper:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "md creeper"
        temporary-permissions:
             - "mobdisguise.*"
        
    disguiseWolf:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "md wolf"
        temporary-permissions:
             - "mobdisguise.*"
        
    disguiseEnderman:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "md enderman"
        temporary-permissions:
            - "mobdisguise.*"
        
    disguisePig:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        require-player-target: false
        command-to-execute: 
            - "md pig"
        temporary-permissions:
            - "mobdisguise.*"
        
    disguiseIronGolem:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "md irongolem"
        temporary-permissions:
            - "mobdisguise.*"
        
    disguiseSilverfish:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "md silverfish"
        temporary-permissions:
            - "mobdisguise.*"
            
    disguisePigMan:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "md pigman"
        temporary-permissions:
            - "mobdisguise.*"
            
    babySwap:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "md baby"
        temporary-permissions:
            - "mobdisguise.*"


#----------------------------------------------------------------------------------------
#----------------------Dwarf & Monster Permission change Includes------------------------
#----------------------------------------------------------------------------------------
    permBuilderDwarf:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "perm player setgroup %a builder"
        execute-on-console-instead: true

    permBrewerDwarf:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "perm player setgroup %a brewer"
        execute-on-console-instead: true

    permTailorDwarf:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "perm player setgroup %a tailor"
        execute-on-console-instead: true

    permBlacksmithDwarf:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "perm player setgroup %a blacksmith"
        execute-on-console-instead: true

    permBakerDwarf:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "perm player setgroup %a baker"
        execute-on-console-instead: true

# ----------mob permission changes----------
    permZombie:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "perm player setgroup %a zombie"
        execute-on-console-instead: true

    permSkeleton:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "perm player setgroup %a skeleton"
        execute-on-console-instead: true

    permSpider:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "perm player setgroup %a spider"
        execute-on-console-instead: true
        
    permWolf:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "perm player setgroup %a wolf"
        execute-on-console-instead: true
        
    permCreeper:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "perm player setgroup %a creeper"
        execute-on-console-instead: true
        
    permEnderman:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "perm player setgroup %a enderman"
        execute-on-console-instead: true
        
    permSilverfish:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "perm player setgroup %a silverfish"
        execute-on-console-instead: true
        
    permPig1:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "perm player setgroup %a pig1"
        execute-on-console-instead: true
        
    permPig2:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "perm player setgroup %a pig2"
        execute-on-console-instead: true
        
    permPig3:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "perm player setgroup %a pig3"
        execute-on-console-instead: true
        
    permIronGolem:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute: 
            - "perm player setgroup %a ironGolem"
        execute-on-console-instead: true


#----------------------------------------------------------------------------------------
#------------------------------------GLOBAL Includes-------------------------------------
#----------------------------------------------------------------------------------------
    tpDwarfSpawn:
        spell-class: ".ExternalCommandSpell"
        cooldown: 9001
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute:
            - "warp -s %a dwarfspawn"
            - "clear -a %a"
        execute-on-console-instead: true
        
    tpMonsterSpawn:
        spell-class: ".ExternalCommandSpell"
        cooldown: 9001
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute:
            - "clear -a %a"
            - "warp -s %a monsterspawn"
        execute-on-console-instead: true
        
    killPill:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: true
        cast-item: 370
        command-to-execute:
            - "slay %a"
        temporary-permissions:
        execute-on-console-instead: true
        
    clearInv:
        spell-class: ".ExternalCommandSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        command-to-execute:
            -"clear -a %s"
        execute-on-console-instead: true

    giveMapAndPill:
        spell-class: ".instant.ConjureSpell"
        can-cast-by-command: false
        can-cast-with-item: false
        items:
            - 358 1
            - 370 1
        add-to-inventory: true
        
    monsterSpawnStrength:
        spell-class: ".targeted.PotionEffectSpell"
        cooldown: 9001
        can-cast-by-command: false
        can-cast-with-item: false
        type: 5
        duration: 260
        targeted: false