[Yardım] Kit Yenilemede Sadece Taş Basınç Plakasına Basınca Kit Yenilensin.

UltraoyunTR

Zombi Katili
En iyi cevaplar
0
Kodumuz bu arkadaşlar;
Kod:
On Pressure Plate:
    if {kit.%player%} isn't set:
        wait 5 ticks
        clear player's inventory
        equip player with all iron armor named "&eDemir Set"
        set slot 0 of player to iron sword named "&eKılıç"
        set slot 1 of player to flint and steel named "&eÇakmak"
        set slot 2 of player to fishing rod named "&eOlta"
        set slot 3 of player to bow named "&eYay"
        set slot 8 of player to 16 of arrow named "&eOk"
        send "&8[&6LightTiger&8] &eKitiniz alındı."

Ben şöyle bir şey denedim ama bu sefer skript komple bozuldu.
Kod:
On Stone Pressure Plate:
    if {kit.%player%} isn't set:
        wait 5 ticks
        clear player's inventory
        equip player with all iron armor named "&eDemir Set"
        set slot 0 of player to iron sword named "&eKılıç"
        set slot 1 of player to flint and steel named "&eÇakmak"
        set slot 2 of player to fishing rod named "&eOlta"
        set slot 3 of player to bow named "&eYay"
        set slot 8 of player to 16 of arrow named "&eOk"
        send "&8[&6LightTiger&8] &eKitiniz alındı."

Ben sadece taş basınç plakasına basınca kitin yenilenmesini istiyorum. Şimdiden yardımlarınız için teşekkürler.
 

ysvs06

Marangoz
En iyi cevaplar
0
Kod:
on stepping on a pressure plate:
    event-block is a golden pressure plate
    ..
    ..
İnternette böyle bir şey gördüm, Stone için denersin. Skriptten nefret ederim ama bunu neden yaptım bilmiyorum.
 

ForcEmir

Elmas Madencisi
En iyi cevaplar
0

Pressure Plate (Basınç Plakası) nın kordinatını kaydettir koyduğunda basıldığında kordinatı kontrol ettirirsin ve her basınç plakasında çalışmamış bu fikirdi koda gelirsek şöyle bir kod buldum kendine göre düzenleyip kullanabilirsin. (ALINTIDIR)
Kod:
options:
    prefix: &b&oBNW &8&l→
    noperm: &cUzgunum, Yetkiniz yok!
# Kit Ayarlama Yeri Ayarlari Ayarlamalari Yukaridan ve Bu Kisimdan Yapabilirsin Diger Yerlere Bilgin Yoksa Dokunmani Onermem.
    jointogive: false
    deathtogive: false
    sword.slot: 0
    fns.slot: 1
    fishingrod.slot: 2
    bow.slot: 3
    helmet.mat: chain
    chestplate.mat: iron
    leggings.mat: iron
    boots.mat: iron
    sword.mat: iron
    sword.name: &7Murderer Weapon
    sword.lorename: &6You may kill someone with IsmetRG's Block-hit power!
    fns.name: &cBu&6rn&eer
    fns.lorename: &6Please don't burn yourself
    fishingrod.name: &9Enemy Pusher
    fishingrod.lorename: &6Try to push yourself
    bow.name: &4AWP | Dragon Lore
    bow.lorename: &6360 no scope
    arrow.number: 15
    arrow.number.save: 16
    arrow.slot: 8
    arrow.name: &2Green Arrow
    arrow.lorename: &6Hacker destroyer

on rightclick on sign:
    line 3 of the clicked block is "&8[&eAyarla&8]":
        make player execute command "/starterkit save"
        stop
    line 3 of the clicked block is "&8[&eSıfırla&8]":
        make player execute command "/starterkit unsave"
        stop
    line 3 of the clicked block is "&8[&eAl&8]":
        execute console command "/strtdsjfsdfs %player%"
        stop
    line 3 of the clicked block is "&eKit Ayarlama":
        line 4 of the clicked block is "&eYerine Git":
            make player execute command "/starterkit saveplace"
            stop
    line 3 of the clicked block is "&4&lSpawna":
        line 4 of the clicked block is "&c&lGeri Don":
            send "{@prefix} &aSpawna Geri Dondun!"
            set {save.available.%player%} to false
            clear player's inventory
            make player execute command "/spawn"
            stop

command /starterkit [<text>] [<player>]:
    trigger:
        if arg 1 is not "load" or "save" or "unsave" or "unsaveall" or "saveplace":
            send "{@prefix} &cYou did something wrong&8."
            stop
        if arg 1 is not set:
            send "{@prefix} &6Starterkit Commands"
            if player has the permission "starterkit.give":
                send "{@prefix} &7/starterkit load &8(&7<player>&8)"
                send "{@prefix} &7/starterkit unsaveall"
            send "{@prefix} &7/starterkit save"
            send "{@prefix} &7/starterkit unsave"
            send "{@prefix} &7/starterkit saveplace"
            stop
        if arg 1 is "load":
            if player has the permission "starterkit.give":
                if arg 2 is not set:
                    if {kitinv.saved.%player%} is not set:
                        clear the player's inventory
                        message "{@prefix} &2Your starter kit succesfully loaded&8." to player
                        set slot {@sword.slot} of player to {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}"
                        set slot {@fns.slot} of player to flint and steel named "{@fns.name}" with lore "{@fns.lorename}"
                        set slot {@fishingrod.slot} of player to fishing rod named "{@fishingrod.name}" with lore "{@fishingrod.lorename}"
                        set slot {@bow.slot} of player to bow named "{@bow.name}" with lore "{@bow.lorename}"
                        set slot {@arrow.slot} of player to {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}"
                        equip player with {@helmet.mat} helmet
                        equip player with {@chestplate.mat} chestplate
                        equip player with {@leggings.mat} leggings
                        equip player with {@boots.mat} boots
                        stop
                    else if {kitinv.saved.%player%} is set:
                        message "{@prefix} &2Your starter kit succesfully loaded&8." to player
                        clear the player's inventory
                        equip player with {@helmet.mat} helmet
                        equip player with {@chestplate.mat} chestplate
                        equip player with {@leggings.mat} leggings
                        equip player with {@boots.mat} boots
                        set {_slot} to 0
                        loop 36 times:
                            set slot {_slot} of player to {kitinv.%{_slot}%.%player%}
                            add 1 to {_slot}
                        set slot 0 of player to {kitinv.slotzero.%player%}
                        stop
                if arg 2 is set:
                    if {kitinv.saved.%arg 2%} is not set:
                        clear the arg 2's inventory
                        message "{@prefix} &2%arg 2%'s starter kit succesfully loaded&8." to player
                        message "{@prefix} &2Your starter kit succesfully loaded&8." to arg 2
                        set slot {@sword.slot} of arg 2 to {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}"
                        set slot {@fns.slot} of arg 2 to flint and steel named "{@fns.name}" with lore "{@fns.lorename}"
                        set slot {@fishingrod.slot} of arg 2 to fishing rod named "{@fishingrod.name}" with lore "{@fishingrod.lorename}"
                        set slot {@bow.slot} of arg 2 to bow named "{@bow.name}" with lore "{@bow.lorename}"
                        set slot {@arrow.slot} of arg 2 to {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}"
                        equip arg 2 with {@helmet.mat} helmet
                        equip arg 2 with {@chestplate.mat} chestplate
                        equip arg 2 with {@leggings.mat} leggings
                        equip arg 2 with {@boots.mat} boots
                        stop
                    else if {kitinv.saved.%arg 2%} is true:
                        message "{@prefix} &2%arg 2%'s starter kit succesfully loaded&8." to player
                        message "{@prefix} &2Your starter kit succesfully loaded&8." to arg 2
                        clear the arg 2's inventory
                        equip arg 2 with {@helmet.mat} helmet
                        equip arg 2 with {@chestplate.mat} chestplate
                        equip arg 2 with {@leggings.mat} leggings
                        equip arg 2 with {@boots.mat} boots
                        set {_slot} to 0
                        loop 36 times:
                            set slot {_slot} of arg 2 to {kitinv.%{_slot}%.%arg 2%}
                            add 1 to {_slot}
                        set slot 0 of arg 2 to {kitinv.slotzero.%arg 2%}
                        stop
            else:
                send "{@prefix} {@noperm}"
        if arg 1 is "saveplace":
            teleport player to {warp.saveplace}
            send "{@prefix} &2You are teleported to starterkit saveplace!"
            set {save.available.%player%} to true
            clear the player's inventory
        if arg 1 is "save":
            if arg 2 is not set:
                if {save.available.%player%} is true:
                    if player has 1 {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}":
                        if player has 1 flint and steel named "{@fns.name}" with lore "{@fns.lorename}":
                            if player has 1 bow named "{@bow.name}" with lore "{@bow.lorename}":
                                if player has {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}":
                                    set {_kitinvslot} to 0
                                    loop 36 times:
                                        set {kitinv.%{_slot}%.%player%} to slot {_slot} of player
                                        add 1 to {_slot}
                                    set {kitinv.saved.%player%} to true
                                    set {kitinv.slotzero.%player%} to slot 0 of player
                                    wait 5 ticks
                                    send "{@prefix} &cLoading..."
                                    wait 10 ticks
                                    send "{@prefix} &eKitini Basariyla Kaydettin!"
                                    stop
                                else:
                                    send "{@prefix} &cEnvanterinde fazladan veya baska bir esya var!"
                            else:
                                send "{@prefix} &cEnvanterinde fazladan veya baska bir esya var!"
                        else:
                            send "{@prefix} &cEnvanterinde fazladan veya baska bir esya var!"
                    else:
                        send "{@prefix} &cEnvanterinde fazladan veya baska bir esya var!"
                else:
                    send "{@prefix} &cKit Ayarlamak Icin Kit Ayarla Bolgesine Gitmelisin!"
        if arg 1 is "unsave":
            delete {kitinv.saved.%player%}
            wait 5 ticks
            send "{@prefix} &cLoading..."
            wait 10 ticks
            clear the player's inventory
            set slot {@sword.slot} of player to {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}"
            set slot {@fns.slot} of player to flint and steel named "{@fns.name}" with lore "{@fns.lorename}"
            set slot {@fishingrod.slot} of player to fishing rod named "{@fishingrod.name}" with lore "{@fishingrod.lorename}"
            set slot {@bow.slot} of player to bow named "{@bow.name}" with lore "{@bow.lorename}"
            set slot {@arrow.slot} of player to {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}"
            equip player with {@helmet.mat} helmet
            equip player with {@chestplate.mat} chestplate
            equip player with {@leggings.mat} leggings
            equip player with {@boots.mat} boots
            send "{@prefix} &eYou've successfully unsaved your inventory!"
            stop
        if arg 1 is "unsaveall":
            if player has the permission "strtrkt.give":
                loop all players:   
                    delete {kitinv.saved.%loop-player%}
                wait 5 ticks
                send "{@prefix} &cLoading..."
                wait 10 ticks
                loop all players:
                    clear the loop-player's inventory
                    set slot {@sword.slot} of loop-player to {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}"
                    set slot {@fns.slot} of loop-player to flint and steel named "{@fns.name}" with lore "{@fns.lorename}"
                    set slot {@fishingrod.slot} of loop-player to fishing rod named "{@fishingrod.name}" with lore "{@fishingrod.lorename}"
                    set slot {@bow.slot} of loop-player to bow named "{@bow.name}" with lore "{@bow.lorename}"
                    set slot {@arrow.slot} of loop-player to {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}"
                    equip loop-player with {@helmet.mat} helmet
                    equip loop-player with {@chestplate.mat} chestplate
                    equip loop-player with {@leggings.mat} leggings
                    equip loop-player with {@boots.mat} boots
                send "{@prefix} &eYou've successfully unsaved your inventory!"
                stop
            else:
                send "{@prefix} {@noperm}"

command /strtdsjfsdfs [<player>]:
    permission: console.****
    executable by: console
    trigger:
        if {kitinv.saved.%arg 1%} is not set:
            clear the arg 1's inventory
            message "{@prefix} &2%arg 1%'s starter kit succesfully loaded&8." to player
            message "{@prefix} &2Your starter kit succesfully loaded&8." to arg 1
            set slot {@sword.slot} of arg 1 to {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}"
            set slot {@fns.slot} of arg 1 to flint and steel named "{@fns.name}" with lore "{@fns.lorename}"
            set slot {@fishingrod.slot} of arg 1 to fishing rod named "{@fishingrod.name}" with lore "{@fishingrod.lorename}"
            set slot {@bow.slot} of arg 1 to bow named "{@bow.name}" with lore "{@bow.lorename}"
            set slot {@arrow.slot} of arg 1 to {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}"
            equip arg 1 with {@helmet.mat} helmet
            equip arg 1 with {@chestplate.mat} chestplate
            equip arg 1 with {@leggings.mat} leggings
            equip arg 1 with {@boots.mat} boots
            stop
        else if {kitinv.saved.%arg 1%} is true:
            message "{@prefix} &2Your starter kit succesfully loaded&8." to arg 1
            clear the arg 1's inventory
            equip arg 1 with {@helmet.mat} helmet
            equip arg 1 with {@chestplate.mat} chestplate
            equip arg 1 with {@leggings.mat} leggings
            equip arg 1 with {@boots.mat} boots
            set {_slot} to 0
            loop 36 times:
                set slot {_slot} of arg 1 to {kitinv.%{_slot}%.%arg 1%}
                add 1 to {_slot}
            set slot 0 of arg 1 to {kitinv.slotzero.%arg 1%}
            stop

command /starterkitbolge [<text>]:
    permission: starterkit.admin
    permission message: &cUzgunum, Yetkiniz yok!
    trigger:
        if arg 1 is not set:
            send "Komut Kullanimi: /starterkitbolge"
        if arg 1 is "ayarla":
            if player have the permission "starterkit.admin":
                set {warp.saveplace} to location of player
                send "{@prefix} &aBasariyla alani sectin!"

 

UltraoyunTR

Zombi Katili
En iyi cevaplar
0
Kod:
on stepping on a pressure plate:
    event-block is a golden pressure plate
    ..
    ..
İnternette böyle bir şey gördüm, Stone için denersin. Skriptten nefret ederim ama bunu neden yaptım bilmiyorum.

Pressure Plate (Basınç Plakası) nın kordinatını kaydettir koyduğunda basıldığında kordinatı kontrol ettirirsin ve her basınç plakasında çalışmamış bu fikirdi koda gelirsek şöyle bir kod buldum kendine göre düzenleyip kullanabilirsin. (ALINTIDIR)
Kod:
options:
    prefix: &b&oBNW &8&l→
    noperm: &cUzgunum, Yetkiniz yok!
# Kit Ayarlama Yeri Ayarlari Ayarlamalari Yukaridan ve Bu Kisimdan Yapabilirsin Diger Yerlere Bilgin Yoksa Dokunmani Onermem.
    jointogive: false
    deathtogive: false
    sword.slot: 0
    fns.slot: 1
    fishingrod.slot: 2
    bow.slot: 3
    helmet.mat: chain
    chestplate.mat: iron
    leggings.mat: iron
    boots.mat: iron
    sword.mat: iron
    sword.name: &7Murderer Weapon
    sword.lorename: &6You may kill someone with IsmetRG's Block-hit power!
    fns.name: &cBu&6rn&eer
    fns.lorename: &6Please don't burn yourself
    fishingrod.name: &9Enemy Pusher
    fishingrod.lorename: &6Try to push yourself
    bow.name: &4AWP | Dragon Lore
    bow.lorename: &6360 no scope
    arrow.number: 15
    arrow.number.save: 16
    arrow.slot: 8
    arrow.name: &2Green Arrow
    arrow.lorename: &6Hacker destroyer

on rightclick on sign:
    line 3 of the clicked block is "&8[&eAyarla&8]":
        make player execute command "/starterkit save"
        stop
    line 3 of the clicked block is "&8[&eSıfırla&8]":
        make player execute command "/starterkit unsave"
        stop
    line 3 of the clicked block is "&8[&eAl&8]":
        execute console command "/strtdsjfsdfs %player%"
        stop
    line 3 of the clicked block is "&eKit Ayarlama":
        line 4 of the clicked block is "&eYerine Git":
            make player execute command "/starterkit saveplace"
            stop
    line 3 of the clicked block is "&4&lSpawna":
        line 4 of the clicked block is "&c&lGeri Don":
            send "{@prefix} &aSpawna Geri Dondun!"
            set {save.available.%player%} to false
            clear player's inventory
            make player execute command "/spawn"
            stop

command /starterkit [<text>] [<player>]:
    trigger:
        if arg 1 is not "load" or "save" or "unsave" or "unsaveall" or "saveplace":
            send "{@prefix} &cYou did something wrong&8."
            stop
        if arg 1 is not set:
            send "{@prefix} &6Starterkit Commands"
            if player has the permission "starterkit.give":
                send "{@prefix} &7/starterkit load &8(&7<player>&8)"
                send "{@prefix} &7/starterkit unsaveall"
            send "{@prefix} &7/starterkit save"
            send "{@prefix} &7/starterkit unsave"
            send "{@prefix} &7/starterkit saveplace"
            stop
        if arg 1 is "load":
            if player has the permission "starterkit.give":
                if arg 2 is not set:
                    if {kitinv.saved.%player%} is not set:
                        clear the player's inventory
                        message "{@prefix} &2Your starter kit succesfully loaded&8." to player
                        set slot {@sword.slot} of player to {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}"
                        set slot {@fns.slot} of player to flint and steel named "{@fns.name}" with lore "{@fns.lorename}"
                        set slot {@fishingrod.slot} of player to fishing rod named "{@fishingrod.name}" with lore "{@fishingrod.lorename}"
                        set slot {@bow.slot} of player to bow named "{@bow.name}" with lore "{@bow.lorename}"
                        set slot {@arrow.slot} of player to {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}"
                        equip player with {@helmet.mat} helmet
                        equip player with {@chestplate.mat} chestplate
                        equip player with {@leggings.mat} leggings
                        equip player with {@boots.mat} boots
                        stop
                    else if {kitinv.saved.%player%} is set:
                        message "{@prefix} &2Your starter kit succesfully loaded&8." to player
                        clear the player's inventory
                        equip player with {@helmet.mat} helmet
                        equip player with {@chestplate.mat} chestplate
                        equip player with {@leggings.mat} leggings
                        equip player with {@boots.mat} boots
                        set {_slot} to 0
                        loop 36 times:
                            set slot {_slot} of player to {kitinv.%{_slot}%.%player%}
                            add 1 to {_slot}
                        set slot 0 of player to {kitinv.slotzero.%player%}
                        stop
                if arg 2 is set:
                    if {kitinv.saved.%arg 2%} is not set:
                        clear the arg 2's inventory
                        message "{@prefix} &2%arg 2%'s starter kit succesfully loaded&8." to player
                        message "{@prefix} &2Your starter kit succesfully loaded&8." to arg 2
                        set slot {@sword.slot} of arg 2 to {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}"
                        set slot {@fns.slot} of arg 2 to flint and steel named "{@fns.name}" with lore "{@fns.lorename}"
                        set slot {@fishingrod.slot} of arg 2 to fishing rod named "{@fishingrod.name}" with lore "{@fishingrod.lorename}"
                        set slot {@bow.slot} of arg 2 to bow named "{@bow.name}" with lore "{@bow.lorename}"
                        set slot {@arrow.slot} of arg 2 to {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}"
                        equip arg 2 with {@helmet.mat} helmet
                        equip arg 2 with {@chestplate.mat} chestplate
                        equip arg 2 with {@leggings.mat} leggings
                        equip arg 2 with {@boots.mat} boots
                        stop
                    else if {kitinv.saved.%arg 2%} is true:
                        message "{@prefix} &2%arg 2%'s starter kit succesfully loaded&8." to player
                        message "{@prefix} &2Your starter kit succesfully loaded&8." to arg 2
                        clear the arg 2's inventory
                        equip arg 2 with {@helmet.mat} helmet
                        equip arg 2 with {@chestplate.mat} chestplate
                        equip arg 2 with {@leggings.mat} leggings
                        equip arg 2 with {@boots.mat} boots
                        set {_slot} to 0
                        loop 36 times:
                            set slot {_slot} of arg 2 to {kitinv.%{_slot}%.%arg 2%}
                            add 1 to {_slot}
                        set slot 0 of arg 2 to {kitinv.slotzero.%arg 2%}
                        stop
            else:
                send "{@prefix} {@noperm}"
        if arg 1 is "saveplace":
            teleport player to {warp.saveplace}
            send "{@prefix} &2You are teleported to starterkit saveplace!"
            set {save.available.%player%} to true
            clear the player's inventory
        if arg 1 is "save":
            if arg 2 is not set:
                if {save.available.%player%} is true:
                    if player has 1 {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}":
                        if player has 1 flint and steel named "{@fns.name}" with lore "{@fns.lorename}":
                            if player has 1 bow named "{@bow.name}" with lore "{@bow.lorename}":
                                if player has {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}":
                                    set {_kitinvslot} to 0
                                    loop 36 times:
                                        set {kitinv.%{_slot}%.%player%} to slot {_slot} of player
                                        add 1 to {_slot}
                                    set {kitinv.saved.%player%} to true
                                    set {kitinv.slotzero.%player%} to slot 0 of player
                                    wait 5 ticks
                                    send "{@prefix} &cLoading..."
                                    wait 10 ticks
                                    send "{@prefix} &eKitini Basariyla Kaydettin!"
                                    stop
                                else:
                                    send "{@prefix} &cEnvanterinde fazladan veya baska bir esya var!"
                            else:
                                send "{@prefix} &cEnvanterinde fazladan veya baska bir esya var!"
                        else:
                            send "{@prefix} &cEnvanterinde fazladan veya baska bir esya var!"
                    else:
                        send "{@prefix} &cEnvanterinde fazladan veya baska bir esya var!"
                else:
                    send "{@prefix} &cKit Ayarlamak Icin Kit Ayarla Bolgesine Gitmelisin!"
        if arg 1 is "unsave":
            delete {kitinv.saved.%player%}
            wait 5 ticks
            send "{@prefix} &cLoading..."
            wait 10 ticks
            clear the player's inventory
            set slot {@sword.slot} of player to {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}"
            set slot {@fns.slot} of player to flint and steel named "{@fns.name}" with lore "{@fns.lorename}"
            set slot {@fishingrod.slot} of player to fishing rod named "{@fishingrod.name}" with lore "{@fishingrod.lorename}"
            set slot {@bow.slot} of player to bow named "{@bow.name}" with lore "{@bow.lorename}"
            set slot {@arrow.slot} of player to {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}"
            equip player with {@helmet.mat} helmet
            equip player with {@chestplate.mat} chestplate
            equip player with {@leggings.mat} leggings
            equip player with {@boots.mat} boots
            send "{@prefix} &eYou've successfully unsaved your inventory!"
            stop
        if arg 1 is "unsaveall":
            if player has the permission "strtrkt.give":
                loop all players:  
                    delete {kitinv.saved.%loop-player%}
                wait 5 ticks
                send "{@prefix} &cLoading..."
                wait 10 ticks
                loop all players:
                    clear the loop-player's inventory
                    set slot {@sword.slot} of loop-player to {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}"
                    set slot {@fns.slot} of loop-player to flint and steel named "{@fns.name}" with lore "{@fns.lorename}"
                    set slot {@fishingrod.slot} of loop-player to fishing rod named "{@fishingrod.name}" with lore "{@fishingrod.lorename}"
                    set slot {@bow.slot} of loop-player to bow named "{@bow.name}" with lore "{@bow.lorename}"
                    set slot {@arrow.slot} of loop-player to {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}"
                    equip loop-player with {@helmet.mat} helmet
                    equip loop-player with {@chestplate.mat} chestplate
                    equip loop-player with {@leggings.mat} leggings
                    equip loop-player with {@boots.mat} boots
                send "{@prefix} &eYou've successfully unsaved your inventory!"
                stop
            else:
                send "{@prefix} {@noperm}"

command /strtdsjfsdfs [<player>]:
    permission: console.****
    executable by: console
    trigger:
        if {kitinv.saved.%arg 1%} is not set:
            clear the arg 1's inventory
            message "{@prefix} &2%arg 1%'s starter kit succesfully loaded&8." to player
            message "{@prefix} &2Your starter kit succesfully loaded&8." to arg 1
            set slot {@sword.slot} of arg 1 to {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}"
            set slot {@fns.slot} of arg 1 to flint and steel named "{@fns.name}" with lore "{@fns.lorename}"
            set slot {@fishingrod.slot} of arg 1 to fishing rod named "{@fishingrod.name}" with lore "{@fishingrod.lorename}"
            set slot {@bow.slot} of arg 1 to bow named "{@bow.name}" with lore "{@bow.lorename}"
            set slot {@arrow.slot} of arg 1 to {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}"
            equip arg 1 with {@helmet.mat} helmet
            equip arg 1 with {@chestplate.mat} chestplate
            equip arg 1 with {@leggings.mat} leggings
            equip arg 1 with {@boots.mat} boots
            stop
        else if {kitinv.saved.%arg 1%} is true:
            message "{@prefix} &2Your starter kit succesfully loaded&8." to arg 1
            clear the arg 1's inventory
            equip arg 1 with {@helmet.mat} helmet
            equip arg 1 with {@chestplate.mat} chestplate
            equip arg 1 with {@leggings.mat} leggings
            equip arg 1 with {@boots.mat} boots
            set {_slot} to 0
            loop 36 times:
                set slot {_slot} of arg 1 to {kitinv.%{_slot}%.%arg 1%}
                add 1 to {_slot}
            set slot 0 of arg 1 to {kitinv.slotzero.%arg 1%}
            stop

command /starterkitbolge [<text>]:
    permission: starterkit.admin
    permission message: &cUzgunum, Yetkiniz yok!
    trigger:
        if arg 1 is not set:
            send "Komut Kullanimi: /starterkitbolge"
        if arg 1 is "ayarla":
            if player have the permission "starterkit.admin":
                set {warp.saveplace} to location of player
                send "{@prefix} &aBasariyla alani sectin!"


Yardımlarınızdan dolayı teşekkür ederim. Konu kilit!
 
Üst