Renkli/Renksiz Eşya İsimlerini Değiştirme (GUI+)

Sezdolonoid400

Demir Madencisi
En iyi cevaplar
0


Selam arkadaşlar ben Sezdolonoid400.
Bugün size kendi yaptığım Eşya İsimlerini Değiştirtme skriptimi göstericeğim.
#NOT: Hiçbir şekilde alıntı değildir ama benden önce yapan varmı bilmiyorum.
Öncelikle neden "anvilden yapmıyoz","malmısın","israf" yazıp durmayın bu daha iyi bir özellik.

#NOT: SkQuery plugini gerekir.



1 adet komut var oda /isimdegistir.
#NOT: /isimdegistir komutu isim.degistir permission'u gerektirir.
/isimdegistir komutu skriptin ana komutudur. Komutu kullanabilmeniz için elinizde ismi değiştirilebilen bir eşya (yani her eşya) olması gerekir.
Komutu kullandığınızda karşınıza bir menü gelecek ve 2 seçeneğiniz olacak: Renkli ve Renksiz.

Bir eşyanın ismini eğer renksiz yapcaksanız 10 level, renkli yapacaksanız 25 level gerektirir.
Renksiz'e tıkladığınızda menü kapanacak ve 8 saniye içerisinde eşya ismini chata yazmanızı istiyecek. Eğer 8 saniye içerisinde yazmazsanız zaman aşımı algılanıcak ve yeniden aynı yollardan geçmek zorunda kalacaksınız. 8 saniye içerisinde chata eşya ismini yazdığınızda 10 leveliniz alıncak fakat elinizdeki eşya ismi renksiz olarak chata ne yazdıysanız o olacak.

Renklide olay biraz farklı. Renkliyi seçtiğinizde karşınıza yine bir menü gelecek ve koyacağınız ismin renkini istiyecek. 9 adet renk geçebilirsiniz. Bunlar:
-Koyu Mavi
-Koyu Yeşil
-Açık Mavi (cyan rengimsi)
-Kırmızı
-Mor
-Sarı
-Açık Gri
-Gri

-Turkuaz

Bunlardan birini seçince yine menü gitcek ve sizden yine ve yine 8 saniye içerisinde bir isim girmenizi istiyecek.
Chata ismi girince 25 leveliniz alınacak ama seçtiğiniz renkle chata yazdığınız yazı elinizdeki itemin ismi olacaktır.

Bu kadar okuduğunuz için teşekkürler.
Kod linki:
Linki görebilmek için üye olmanız gerekiyor. Giriş yap veya üye ol.


İyi günler.
 
Son düzenleme:

BraveHero

Dobloyu n'aptın
En iyi cevaplar
1
Kod:
on load:
    send "&8&l=====================================" to console
    send "&7&lEsya Isimlerini Degistirme Skripti" to console
    send "&7&lAuthor: Sezdolonoid400" to console
    send "&7&lIyi oyunlar dileriz!" to console
    send "&8&l=====================================" to console


command /isimdegistir:
    permission: isim.degistir
    permission message: &4Buna yetkin yok!
    trigger:
        if player is holding a air:
            send "&c&lElinizde ismi degistirilebilecek bir esya yok!" to player
        else:
            open chest with 5 rows named "&4&lIsim Degistir" to player
            format slot 20 of player with nether star named "&8&lRenksiz" with lore "&7Renksiz isim degisimi icin tiklayiniz.||&a&lMaliyet: &2&l10 level xp" to close then run "renksiz %player%"
            format slot 24 of player with nether star named "&8&lRenkli" with lore "&7Renkli isim degisimi icin tiklayiniz.||&a&lMaliyet: &2&l25 level xp" to close then run "renkli %player%"
       



command /renksiz <player>:
    executable by:console
    trigger:
        set {renksiz.%arg 1%} to 1
        send "&8&l>> &7&o8 saniye icerisinde chata esya ismini yaziniz!" to arg 1
        wait 8 second
        if {renksiz.%arg 1%} is greater than 0:
            send "&c&lZAMAN ASIMI ALGILANDI TEKRAR DENEYINIZ" to arg 1
            set {renksiz.%arg 1%} to 0

command /renkli <player>:
    executable by:console
    trigger:
        wait 3 tick
        open chest with 1 row named "&4&lIsim Rengi Belirleme" to arg 1
        format slot 0 of arg 1 with blue wool named "&1&lKoyu Mavi" with lore "&1Isim degisimi icin tiklayiniz." to close then run "renk %arg 1% mavi"
        format slot 1 of arg 1 with green wool named "&2&lKoyu Yesil" with lore "&2Isim degisimi icin tiklayiniz." to close then run "renk %arg 1% yesil"
        format slot 2 of arg 1 with cyan wool named "&3&lAcik Mavi" with lore "&3Isim degisimi icin tiklayiniz." to close then run "renk %arg 1% acikmavi"
        format slot 3 of arg 1 with red wool named "&4&lKirmizi" with lore "&4Isim degisimi icin tiklayiniz." to close then run "renk %arg 1% kirmizi"
        format slot 4 of arg 1 with purple wool named "&5&lMor" with lore "&5Isim degisimi icin tiklayiniz." to close then run "renk %arg 1% mor"
        format slot 5 of arg 1 with yellow wool named "&6&lSari" with lore "&6Isim degisimi icin tiklayiniz." to close then run "renk %arg 1% sari"
        format slot 6 of arg 1 with light gray wool named "&7&lAcik Gri" with lore "&7Isim degisimi icin tiklayiniz." to close then run "renk %arg 1% acikgri"
        format slot 7 of arg 1 with gray wool named "&8&lGri" with lore "&8Isim degisimi icin tiklayiniz." to close then run "renk %arg 1% gri"
        format slot 8 of arg 1 with light blue wool named "&9&lTurkuaz" with lore "&9Isim degisimi icin tiklayiniz." to close then run "renk %arg 1% turkuaz"



on chat:
    if {renksiz.%player%} is greater than 0:
        if player is holding a air:
            cancel event
            send "&c&lElinizde ismi degistirilebilecek bir esya yok!" to player
            set {renksiz.%player%} to 0
        else:
            if player's level is greater than 9:
                cancel event
                set name of player's tool to "%uncolored message%"
                send "&8&l>> &2&lISIM DEGISTIRME BASARILI!" to player
                reduce the player's level by 10
                set {renksiz.%player%} to 0
            else:
                cancel event
                send "&c&lYETERLI XP LEVEL MEVCUT DEGIL!" to player
                set {renksiz.%player%} to 0
    else:
        if {mavi.%player%} is greater than 0:
            if player is holding a air:
                cancel event
                send "&c&lElinizde ismi degistirilebilecek bir esya yok!" to player
                set {mavi.%player%} to 0
            else:
                if player's level is greater than 24:
                    cancel event
                    set name of player's tool to "&1%uncolored message%"
                    send "&8&l>> &2&lISIM DEGISTIRME BASARILI!" to player
                    reduce the player's level by 25
                    set {mavi.%player%} to 0
                else:
                    cancel event
                    send "&c&lYETERLI XP LEVEL MEVCUT DEGIL!" to player
                    set {mavi.%player%} to 0
        else:
            if {yesil.%player%} is greater than 0:
                if player is holding a air:
                    cancel event
                    send "&c&lElinizde ismi degistirilebilecek bir esya yok!" to player
                    set {yesil.%player%} to 0
                else:
                    if player's level is greater than 24:
                        cancel event
                        set name of player's tool to "&2%uncolored message%"
                        send "&8&l>> &2&lISIM DEGISTIRME BASARILI!" to player
                        reduce the player's level by 25
                        set {yesil.%player%} to 0
                    else:
                        cancel event
                        send "&c&lYETERLI XP LEVEL MEVCUT DEGIL!" to player
                        set {yesil.%player%} to 0
            else:
                if {acikmavi.%player%} is greater than 0:
                    if player is holding a air:
                        cancel event
                        send "&c&lElinizde ismi degistirilebilecek bir esya yok!" to player
                        set {acikmavi.%player%} to 0
                    else:
                        if player's level is greater than 24:
                            cancel event
                            set name of player's tool to "&3%uncolored message%"
                            send "&8&l>> &2&lISIM DEGISTIRME BASARILI!" to player
                            reduce the player's level by 25
                            set {acikmavi.%player%} to 0
                        else:
                            cancel event
                            send "&c&lYETERLI XP LEVEL MEVCUT DEGIL!" to player
                            set {acikmavi.%player%} to 0
                else:
                    if {kirmizi.%player%} is greater than 0:
                        if player is holding a air:
                            cancel event
                            send "&c&lElinizde ismi degistirilebilecek bir esya yok!" to player
                            set {mavi.%player%} to 0
                        else:
                            if player's level is greater than 24:
                                cancel event
                                set name of player's tool to "&41%uncolored message%"
                                send "&8&l>> &2&lISIM DEGISTIRME BASARILI!" to player
                                reduce the player's level by 25
                                set {kirmizi.%player%} to 0
                            else:
                                cancel event
                                send "&c&lYETERLI XP LEVEL MEVCUT DEGIL!" to player
                                set {kirmizi.%player%} to 0
                    else:
                        if {mor.%player%} is greater than 0:
                            if player is holding a air:
                                cancel event
                                send "&c&lElinizde ismi degistirilebilecek bir esya yok!" to player
                                set {mor.%player%} to 0
                            else:
                                if player's level is greater than 24:
                                    cancel event
                                    set name of player's tool to "&5%uncolored message%"
                                    send "&8&l>> &2&lISIM DEGISTIRME BASARILI!" to player
                                    reduce the player's level by 25
                                    set {mor.%player%} to 0
                                else:
                                    cancel event
                                    send "&c&lYETERLI XP LEVEL MEVCUT DEGIL!" to player
                                    set {mor.%player%} to 0
                        else:
                            if {sari.%player%} is greater than 0:
                                if player is holding a air:
                                    cancel event
                                    send "&c&lElinizde ismi degistirilebilecek bir esya yok!" to player
                                    set {sari.%player%} to 0
                                else:
                                    if player's level is greater than 24:
                                        cancel event
                                        set name of player's tool to "&6%uncolored message%"
                                        send "&8&l>> &2&lISIM DEGISTIRME BASARILI!" to player
                                        reduce the player's level by 25
                                        set {sari.%player%} to 0
                                    else:
                                        cancel event
                                        send "&c&lYETERLI XP LEVEL MEVCUT DEGIL!" to player
                                        set {sari.%player%} to 0
                            else:
                                if {acikgri.%player%} is greater than 0:
                                    if player is holding a air:
                                        cancel event
                                        send "&c&lElinizde ismi degistirilebilecek bir esya yok!" to player
                                        set {acikgri.%player%} to 0
                                    else:
                                        if player's level is greater than 24:
                                            cancel event
                                            set name of player's tool to "&7%uncolored message%"
                                            send "&8&l>> &2&lISIM DEGISTIRME BASARILI!" to player
                                            reduce the player's level by 25
                                            set {acikgri.%player%} to 0
                                        else:
                                            cancel event
                                            send "&c&lYETERLI XP LEVEL MEVCUT DEGIL!" to player
                                            set {acikgri.%player%} to 0
                                else:
                                    if {gri.%player%} is greater than 0:
                                        if player is holding a air:
                                            cancel event
                                            send "&c&lElinizde ismi degistirilebilecek bir esya yok!" to player
                                            set {gri.%player%} to 0
                                        else:
                                            if player's level is greater than 24:
                                                cancel event
                                                set name of player's tool to "&8%uncolored message%"
                                                send "&8&l>> &2&lISIM DEGISTIRME BASARILI!" to player
                                                reduce the player's level by 25
                                                set {gri.%player%} to 0
                                            else:
                                                cancel event
                                                send "&c&lYETERLI XP LEVEL MEVCUT DEGIL!" to player
                                                set {gri.%player%} to 0
                                    else:
                                        if {turkuaz.%player%} is greater than 0:
                                            if player is holding a air:
                                                cancel event
                                                send "&c&lElinizde ismi degistirilebilecek bir esya yok!" to player
                                                set {turkuaz.%player%} to 0
                                            else:
                                                if player's level is greater than 24:
                                                    cancel event
                                                    set name of player's tool to "&9%uncolored message%"
                                                    send "&8&l>> &2&lISIM DEGISTIRME BASARILI!" to player
                                                    reduce the player's level by 25
                                                    set {turkuaz.%player%} to 0
                                                else:
                                                    cancel event
                                                    send "&c&lYETERLI XP LEVEL MEVCUT DEGIL!" to player
                                                    set {turkuaz.%player%} to 0
                                       



command /renk <player> <text>:
    executable by:console
    trigger:
        if arg 1 is holding a air:
            send "&c&lElinizde isim degistirecek bir esya yok!" to arg 1
        else:
            if arg 2 is "mavi":
                set {mavi.%arg 1%} to 1
                send "&8&l>> &1&lKoyu Mavi &7&orengini sectiniz. 8 saniyede esyaya koyacaginiz ismi yaziniz!" to arg 1
                wait 8 second
                if {mavi.%arg 1%} is greater than 0:
                    send "&c&lZAMAN ASIMI ALGILANDI TEKRAR DENEYINIZ" to arg 1
                    set {mavi.%arg 1%} to 0
            else:
                if arg 2 is "yesil":
                    set {yesil.%arg 1%} to 1
                    send "&8&l>> &2&lKoyu Yesil &7&orengini sectiniz. 8 saniyede esyaya koyacaginiz ismi yaziniz!" to arg 1
                    wait 8 second
                    if {yesil.%arg 1%} is greater than 0:
                        send "&c&lZAMAN ASIMI ALGILANDI TEKRAR DENEYINIZ" to arg 1
                        set {yesil.%arg 1%} to 0
                else:
                    if arg 2 is "acikmavi":
                        set {acikmavi.%arg 1%} to 1
                        send "&8&l>> &3&lAcik Mavi &7&orengini sectiniz. 8 saniyede esyaya koyacaginiz ismi yaziniz!" to arg 1
                        wait 8 second
                        if {acikmavi.%arg 1%} is greater than 0:
                            send "&c&lZAMAN ASIMI ALGILANDI TEKRAR DENEYINIZ" to arg 1
                            set {acikmavi.%arg 1%} to 0
                    else:
                        if arg 2 is "kirmizi":
                            set {kirmizi.%arg 1%} to 1
                            send "&8&l>> &4&lKirmizi &7&orengini sectiniz. 8 saniyede esyaya koyacaginiz ismi yaziniz!" to arg 1
                            wait 8 second
                            if {kirmizi.%arg 1%} is greater than 0:
                                send "&c&lZAMAN ASIMI ALGILANDI TEKRAR DENEYINIZ" to arg 1
                                set {kirmizi.%arg 1%} to 0
                        else:   
                            if arg 2 is "mor":
                                set {mor.%arg 1%} to 1
                                send "&8&l>> &5&lMor &7&orengini sectiniz. 8 saniyede esyaya koyacaginiz ismi yaziniz!" to arg 1
                                wait 8 second
                                if {mor.%arg 1%} is greater than 0:
                                    send "&c&lZAMAN ASIMI ALGILANDI TEKRAR DENEYINIZ" to arg 1
                                    set {mor.%arg 1%} to 0
                            else:
                                if arg 2 is "sari":
                                    set {sari.%arg 1%} to 1
                                    send "&8&l>> &6&lSari &7&orengini sectiniz. 8 saniyede esyaya koyacaginiz ismi yaziniz!" to arg 1
                                    wait 8 second
                                    if {sari.%arg 1%} is greater than 0:
                                        send "&c&lZAMAN ASIMI ALGILANDI TEKRAR DENEYINIZ" to arg 1
                                        set {sari.%arg 1%} to 0
                                else:
                                    if arg 2 is "acikgri":
                                        set {acikgri.%arg 1%} to 1
                                        send "&8&l>> &7&lAcik Gri &7&orengini sectiniz. 8 saniyede esyaya koyacaginiz ismi yaziniz!" to arg 1
                                        wait 8 second
                                        if {acikgri.%arg 1%} is greater than 0:
                                            send "&c&lZAMAN ASIMI ALGILANDI TEKRAR DENEYINIZ" to arg 1
                                            set {acikgri.%arg 1%} to 0
                                    else:
                                        if arg 2 is "gri":
                                            set {gri.%arg 1%} to 1
                                            send "&8&l>> &8&lGri &7&orengini sectiniz. 8 saniyede esyaya koyacaginiz ismi yaziniz!" to arg 1
                                            wait 8 second
                                            if {gri.%arg 1%} is greater than 0:
                                                send "&c&lZAMAN ASIMI ALGILANDI TEKRAR DENEYINIZ" to arg 1
                                                set {gri.%arg 1%} to 0
                                        else:
                                            if arg 2 is "turkuaz":
                                                set {turkuaz.%arg 1%} to 1
                                                send "&8&l>> &9&lTurkuaz &7&orengini sectiniz. 8 saniyede esyaya koyacaginiz ismi yaziniz!" to arg 1
                                                wait 8 second
                                                if {turkuaz.%arg 1%} is greater than 0:
                                                    send "&c&lZAMAN ASIMI ALGILANDI TEKRAR DENEYINIZ" to arg 1
                                                    set {turkuaz.%arg 1%} to 0
 

ForcEmir

Elmas Madencisi
En iyi cevaplar
0
Güzel ve Yararlı bir sistem , Konu Düzenide Hoş olmuş :) Başarılarının devamını dilerim.
 

AdexTR

Muvaffakiyetsizleştiriveremeyebileceklerimizdenmiş
Emekli
En iyi cevaplar
112
Başarılı, emek vermişsiniz, önce yüreğinize sonra parmaklarınıza sağlık. @Sezdolonoid400 .
 

LifeMCServer

Nether Yerlisi
En iyi cevaplar
98
Skripte Bakmadım Fakat Sanırım Sadece Renkli Yazılıyor.
Kalın (&l) Altı Çizili (&n) Üstü Çizili (&m) V.b Eklersen Güzel Olur.
 
Üst