Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
4.7 kB
1
Indexable
Never
command /ctest [<text>] [<text>]:
    trigger:
        send "&##%arg-1%%arg-2%"

#----------------------Warden Armor----------------------#

command /givearmor:warden [<text>]:
    permission: givearmor.admin
    trigger:
        if arg-1 is "chest", "plate" or "chestplate":
            set {_wardenchestplate} to leather chestplate of protection 10 and unbreaking 10 named "<##2267FF>Warden Chestpiece"
            dye {_wardenchestplate} light blue
            give player {_wardenchestplate}

        if arg-1 is "leggings" or "pants":
            set {_wardenleggings} to leather leggings of protection 10 and unbreaking 10 named "<##2267FF>Warden Leggings"
            dye {_wardenleggings} light blue
            give player {_wardenleggings}

        if arg-1 is "boots":
            set {_wardenboots} to leather boots of protection 10 and unbreaking 10 named "<##2267FF>Warden Boots"
            dye {_wardenboots} light blue
            give player {_wardenboots}

        if arg-1 is "helmet":
            set {_wardenhelmet} to skull of ("junior953" parsed as player) named "<##2267FF>Warden Helmet"
            dye {_wardenhelmet} light blue
            give player {_wardenhelmet}

        if arg-1 is "wardencore":
            set {_wardencore} to sea lantern of infinity 10 named "&bWarden Core"
            give player {_wardencore}

command /giveshard:
    trigger:
        set {_wardenshard} to echo shard of infinity 10 named "&9Warden Shard"
        give player {_wardenshard}

command /givereshard:
    trigger:
        set {_reinforcedwardenshard} to echo shard of infinity 10 named "&3Reinforced Warden Shard"
        give player {_reinforcedwardenshard}


on load:

    #----------------------Variables----------------------#

    set {_wardenhelmet} to skull of ("junior953" parsed as offline player) named "<##2267FF>Warden Helmet"
    dye {_wardenhelmet} light blue

    set {_wardenchestplate} to leather chestplate of protection 10 and unbreaking 10 named "<##2267FF>Warden Chestpiece"
    dye {_wardenchestplate} light blue

    set {_wardenleggings} to leather leggings of protection 10 and unbreaking 10 named "<##2267FF>Warden Leggings"
    dye {_wardenleggings} light blue

    set {_wardenboots} to leather boots of protection 10 and unbreaking 10 named "<##2267FF>Warden Boots"
    dye {_wardenboots} light blue

    set {_wardenshard} to echo shard of infinity 10 named "&9Warden Shard"
    set {_reinforcedwardenshard} to echo shard of infinity 10 named "&3Reinforced Warden Shard"

    set {_wardencore} to sea lantern of infinity 10 named "&bWarden Core"

    #----------------------Crafting Recipes----------------------#

    register new shaped recipe for {_wardencore} named "&bWarden Core" using diamond, netherite scrap, diamond, netherite scrap, sculk block, netherite scrap, diamond, netherite scrap and diamond with id "warden_core"

    register new shaped recipe for {_wardenshard} named "&9Warden Shard" using diamond block, echo shard, air, echo shard, sculk block, echo shard, air, echo shard and diamond block with id "warden_shard"

    register new shaped recipe for {_reinforcedwardenshard} named "&3Reinforced Warden Shard" using diamond block, {_wardenshard}, air, {_wardenshard}, {_wardencore}, {_wardenshard}, air, {_wardenshard} and diamond block with id "reinforced_warden_shard"

    register new shaped recipe for {_wardenhelmet} named "<##2267FF>Warden Helmet" using {_reinforcedwardenshard}, netherite helmet, {_reinforcedwardenshard}, {_reinforcedwardenshard}, {_wardencore}, {_reinforcedwardenshard}, air, air and air with id "warden_helmet"

    register new shaped recipe for {_wardenchestplate} named "<##2267FF>Warden Chestplate" using {_reinforcedwardenshard}, {_wardencore}, {_reinforcedwardenshard}, {_reinforcedwardenshard}, netherite chestplate, {_reinforcedwardenshard}, {_reinforcedwardenshard}, {_reinforcedwardenshard} and {_reinforcedwardenshard} with id "warden_chestplate"

    register new shaped recipe for {_wardenleggings} named "<##2267FF>Warden Leggings" using {_reinforcedwardenshard}, netherite leggings, {_reinforcedwardenshard}, {_reinforcedwardenshard}, {_wardencore}, {_reinforcedwardenshard}, {_reinforcedwardenshard}, air and {_reinforcedwardenshard} with id "warden_leggings"

    register new shaped recipe for {_wardenboots} named "<##2267FF>Warden Boots" using {_reinforcedwardenshard}, netherite boots, {_reinforcedwardenshard}, {_reinforcedwardenshard}, {_wardencore}, {_reinforcedwardenshard}, air, air and air with id "warden_boots"

#----------------------ph Armor----------------------#