[SK] PreRütbe V1 #By TheBlueDeath

TheBlueDeath

Nether Yerlisi
En iyi cevaplar
0
Evet sabahtan beri uğraştığım skripti paylaşıyorum:
PHP:
#Author: TheBlueDeath
#Version: 1.0
on join:
    if {rutbe.%player%} is not set:
        set {rutbe.%player%} to 0
   
# ----------------------- Rütbe Ücretleri ---------------------- #
options:
    oyuncu: 1000
    tecrübeli: 100000
    uzman: 3200000
    usta: 9000000
    ustad: 12000000
    asil: 40000000
    kahraman: 90000000
    efsanevi: 32900000
    profesyonel: 500000000
    prefix: &6[&aPre&bRütbe&6]
   
# --------------------------- Ana Komut --------------------------- #
command /rütbe [<text="yardım">]:
    trigger:
        if arg 1 is "yardım":
            send "&6---------------&ePreRütbe Yardım&6-------------"
            send "{@prefix} &aPreRütbe temel komutu &5/rütbe&a'dir."
            send "{@prefix} &aRütbe atlamak için &5/rütbe atla"
            send "{@prefix} &aRütbe ücretlerine bakmak için &5/rütbe ücret"
            send "{@prefix} &aRütbe kitini almak için &5/rütbe kit"
            send "{@prefix} &aRütbe komutlarına erişmek için &5/rütbe yardım"
            send "&6---------------&ePreRütbe Yardım&6-------------"
        if arg 1 is "ücret":
            send "&6---------------&ePreRütbe Ücretler&6-------------"
            send "{@prefix} &6Oyuncu: &5{@oyuncu} TL"
            send "{@prefix} &6Tecrübeli: &5{@tecrübeli} TL"
            send "{@prefix} &6Uzman: &5{@uzman} TL"
            send "{@prefix} &6Usta: &5{@usta} TL"
            send "{@prefix} &6Ustad: &5{@ustad} TL"
            send "{@prefix} &6Asil: &5{@asil} TL"
            send "{@prefix} &6Kahraman: &5{@kahraman} TL"
            send "{@prefix} &6Efsanevi: &5{@efsanevi} TL"
            send "{@prefix} &6Profesyonel: &5{@profesyonel} TL"
            send "&6---------------&ePreRütbe Yardım&6---------------"
        if arg 1 is "kit":
            wait 3 ticks
            open chest with 2 rows named "&bPreRütbe Kitler" to player
            format slot 0 of player with wooden sword named "&1Acemi Kiti" to close then run "kit acemi %player%"
            format slot 1 of player with stone sword named "&2Oyuncu Kiti" to close then run "kit oyuncu %player%"
            format slot 2 of player with golden sword named "&3Tecrübeli Kiti" to close then run "kit tecrubeli %player%"
            format slot 3 of player with iron sword named "&4Uzman Kiti" to close then run "kit uzman %player%"
            format slot 4 of player with diamond sword named "&5Usta Kiti" to close then run "kit usta %player%"
            format slot 5 of player with iron ingot named "&6Ustad Kiti" to close then run "kit ustad %player%"
            format slot 6 of player with gold ingot named "&7Asil Kiti" to close then run "kit asil %player%"
            format slot 7 of player with diamond named "&8Kahraman Kiti" to close then run "kit kahraman %player%"
            format slot 8 of player with emerald named "&9Efsanevi Kiti" to close then run "kit efsanevi %player%"
            format slot 9 of player with nether star named "&aProfesyonel Kiti" to close then run "kit profesyonel %player%"
        if arg 1 is "atla":
            if {rutbe.%player%} is 0:
                if player's balance is greater than or equal to {@oyuncu}:
                    set {rutbe.%player%} to 1
                    remove {@oyuncu} from the player's balance
                    execute console command "manuadd %player% oyuncu"
                    send "{@prefix} &aBaşarıyla &6Oyuncu &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Oyuncu &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 1:
                if player's balance is greater than or equal to {@tecrübeli}:
                    set {rutbe.%player%} to 2
                    remove {@tecrübeli} from the player's balance
                    execute console command "manuadd %player% tecrubeli"
                    send "{@prefix} &aBaşarıyla &6Tecrübeli &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Tecrübeli &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 2:
                if player's balance is greater than or equal to {@uzman}:
                    set {rutbe.%player%} to 3
                    remove {@uzman} from the player's balance
                    execute console command "manuadd %player% uzman"
                    send "{@prefix} &aBaşarıyla &6Uzman &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Uzman &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 3:
                if player's balance is greater than or equal to {@usta}:
                    set {rutbe.%player%} to 4
                    remove {@usta} from the player's balance
                    execute console command "manuadd %player% usta"
                    send "{@prefix} &aBaşarıyla &6Usta &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Usta &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 4:
                if player's balance is greater than or equal to {@ustad}:
                    set {rutbe.%player%} to 5
                    remove {@ustad} from the player's balance
                    execute console command "manuadd %player% ustad"
                    send "{@prefix} &aBaşarıyla &6Ustad &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Ustad &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 5:
                if player's balance is greater than or equal to {@asil}:
                    set {rutbe.%player%} to 6
                    remove {@asil} from the player's balance
                    execute console command "manuadd %player% asil"
                    send "{@prefix} &aBaşarıyla &6Asil &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Asil &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 6:
                if player's balance is greater than or equal to {@kahraman}:
                    set {rutbe.%player%} to 7
                    remove {@kahraman} from the player's balance
                    execute console command "manuadd %player% kahraman"
                    send "{@prefix} &aBaşarıyla &6Kahraman &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Kahraman &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 7:
                if player's balance is greater than or equal to {@efsanevi}:
                    set {rutbe.%player%} to 8
                    remove {@efsanevi} from the player's balance
                    execute console command "manuadd %player% efsanevi"
                    send "{@prefix} &aBaşarıyla &6Efsanevi &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &AAdlı Oyuncu &6Efsanevi &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 8:
                if player's balance is greater than or equal to {@profesyonel}:
                    set {rutbe.%player%} to 9
                    remove {@profesyonel} from the player's balance
                    execute console command "manuadd %player% profesyonel"
                    send "{@prefix} &aBaşarıyla &6Profesyonel &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Profesyonel &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 9:
                send "{@prefix} &6Zaten Son Rütbedesin!"
                   
command /rütbeadmin [<text="yardım">] [<offlineplayer>] [<text>]:
    permission: rütbe.admin
    permission message: &c&lHoop Hayırdır? Bu Komut İçin Yetkin Yok!
    trigger:
        if arg 1 is "yardım":
            send "&4--------------&cPreRütbe Admin Komutları&4-------------"
            send "{@prefix} &4/rütbeadmin yardım &cPreRütbe Admin Komutlarını Görürsünüz."
            send "{@prefix} &4/rütbeadmin yenile &cSkripti Yenilersiniz."
            send "{@prefix} &4/rütbeadmin sıfırla <oyuncu> &cBir oyuncunun rütbesini sıfırlarsınız!"
            send "{@prefix} &4/rütbeadmin atlat <oyuncu> <rütbe> &cBir oyuncuyu istediğiniz rütbeye atlatırsınız!"
        if arg 1 is "yenile":
            execute player command "sk reload %script%"
            send "{@prefix} &ePre&bRütbe &aSkripti Başarıyla Yenilendi!"
        if arg 1 is "sıfırla":
            if arg 2 is set:
                set {rutbe.%arg 2%} to 0
                execute console command "manuadd %arg 2% acemi"
                send "{@prefix} &aBaşarıyla &5%arg 2% &aAdlı Oyuncunun Rütbesini Sıfırladınız!"
            else:
                send "{@prefix} &4Bir oyuncu ismi yazmalısın! &c/rütbeadmin sıfırla <oyuncu>"
        if arg 1 is "atlat":
            if arg 2 is set:
                if arg 3 is set:
                    if arg 3 is "oyuncu" or "tecrübeli" or "uzman" or "usta" or "ustad" or "asil" or "kahraman" or "efsanevi" or "profesyonel":
                        if arg 3 is "oyuncu":
                            set {rutbe.%arg 2%} to 1
                            execute console command "manuadd %arg 2% oyuncu"
                        if arg 3 is "tecrübeli":
                            set {rutbe.%arg 2%} to 2
                            execute console command "manuadd %arg 2% tecrubeli"
                        if arg 3 is "uzman":
                            set {rutbe.%arg 2%} to 3
                            execute console command "manuadd %arg 2% uzman"
                        if arg 3 is "usta":
                            set {rutbe.%arg 2%} to 4
                            execute console command "manuadd %arg 2% usta"
                        if arg 3 is "ustad":
                            set {rutbe.%arg 2%} to 5
                            execute console command "manuadd %arg 2% ustad"
                        if arg 3 is "asil":
                            set {rutbe.%arg 2%} to 6
                            execute console command "manuadd %arg 2% asil"
                        if arg 3 is "kahraman":
                            set {rutbe.%arg 2%} to 7
                            execute console command "manuadd %arg 2% kahraman"
                        if arg 3 is "efsanevi":
                            set {rutbe.%arg 2%} to 8
                            execute console command "manuadd %arg 2% efsanevi"
                        if arg 3 is "profesyonel":
                            set {rutbe.%arg 2%} to 9
                            execute console command "manuadd %arg 2% profesyonel"
                    else:
                        send "{@prefix} &4Böyle Bir Rütbe Bulunamadı! Şunlardan Birini Deneyiniz:"
                        send "{@prefix} &aoyuncu, tecrübeli, uzman, usta, ustad, asil, kahraman, efsanevi, profesyonel"
                else:
                    send "{@prefix} &4Bir Rütbe Yazmalısın! &c/rütbeadmin atlat %arg 2% <rütbe>"
            else:
                send "{@prefix} &4Bir Oyuncu İsmi Yazmalısın! &c/rütbeadmin atlat <oyuncu> <rütbe>"
Şimdi bu skripti nasıl kuracaksınız anlatayım. İlk önce bu skripti bir not defterine yapıştırıp daha sonra farklı kaydete tıklayıp adını mesela rutbe.sk diye kaydediyoruz. Daha sonra bu
plugins/skript/scripts kısmına atıyoruz. Daha sonra group manager dosyamıza gelip:
Kod:
Acemi , Oyuncu , Tecrubeli , Uzman , Usta , Ustad , Asil , Kahraman , Efsanevi , Profesyonel
Gruplarını oluşturuyoruz. Sonra bu gruplar için essentials ya da başka bir kit pluginiyle kendimize kit oluşturuyoruz. Artık her şey hazır.Daha sonra
"/rütbe" komutuyla oyuncular bilgi alabilir. Sizde kendinize "rütbe.admin" permini verdikten sonra /rütbeadmin ile bilgi alabilirsiniz. Kolay gelsin.
 
Son düzenleme:

dizayn1903

Marangoz
En iyi cevaplar
0
Guzel olmus kardesim ellerine sağlık fakat bir sorum olucak
Kod:
Acemi , Oyuncu , Tecrübeli , Uzman , Usta , Ustad , Asil , Kahraman , Efsanevi , Profesyonel
Gruplarını oluşturuyoruz. Sonra bu gruplar için essentials ya da başka bir kit pluginiyle kendimize kit oluşturuyoruz.


Kardeşim grupları nasıl oluşturabilirim bide kit zorunlumu kitsiz istiyorum ben mesela onu nasıl yapıcam özelden yazabilirsin bide kitsiz olarak sk yi atabilirsen çok güzel olur İyi Forumlar

 
Son düzenleme:

ZeYus0308

Kızıltaş Madencisi
En iyi cevaplar
0
Aynısı yazmıştım :) Tamamen değil ama başarılı bir çalışma olmuş. (Burada alıntı yaptın veya bakıp yaptın demek istemiyorum yanlış anlama.Zaten skripti herhangi bir yerde paylaşmamıştım elimde boş boş duruyordu :D )

Abi hala inanamıyorum :D Cidden aynısı yazmışım :)
 

TheBlueDeath

Nether Yerlisi
En iyi cevaplar
0
Guzel olmus kardesim ellerine sağlık fakat bir sorum olucak
Kod:
Acemi , Oyuncu , Tecrübeli , Uzman , Usta , Ustad , Asil , Kahraman , Efsanevi , Profesyonel
Gruplarını oluşturuyoruz. Sonra bu gruplar için essentials ya da başka bir kit pluginiyle kendimize kit oluşturuyoruz.


Böyle yazmışsın kardeşim eğer zahmet olmicaksa nasıl yapabilirim bi anlatırsan çok güzel olur İyi Forumlar.

Bu benim anlatabileceğim bir şey değil youtube'ye veya google'ye group manager diye aratıp araştırırsan benden iyi anlatabilecek kişiler bulabilirsin.
 

dizayn1903

Marangoz
En iyi cevaplar
0
Bu benim anlatabileceğim bir şey değil youtube'ye veya google'ye group manager diye aratıp araştırırsan benden iyi anlatabilecek kişiler bulabilirsin.
Kardeşim peki kit zorunlumu eğer zorunlu değilse sk den silip atabilirmisin bana düzenlemeleri kendime göre yapabilirim ben eğer atacaksan şimdiden sağol İyi Forumlar.
 

TheBlueDeath

Nether Yerlisi
En iyi cevaplar
0
Kardeşim peki kit zorunlumu eğer zorunlu değilse sk den silip atabilirmisin bana düzenlemeleri kendime göre yapabilirim ben eğer atacaksan şimdiden sağol İyi Forumlar.
Kit zorunlu değil, sandık sistemiyle daha hoş olur diye koymuştum.
PHP:
#Author: TheBlueDeath
#Version: 1.0
on join:
    if {rutbe.%player%} is not set:
        set {rutbe.%player%} to 0
  
# ----------------------- Rütbe Ücretleri ---------------------- #
options:
    oyuncu: 1000
    tecrübeli: 100000
    uzman: 3200000
    usta: 9000000
    ustad: 12000000
    asil: 40000000
    kahraman: 90000000
    efsanevi: 32900000
    profesyonel: 500000000
    prefix: &6[&aPre&bRütbe&6]
  
# --------------------------- Ana Komut --------------------------- #
command /rütbe [<text="yardım">]:
    trigger:
        if arg 1 is "yardım":
            send "&6---------------&ePreRütbe Yardım&6-------------"
            send "{@prefix} &aPreRütbe temel komutu &5/rütbe&a'dir."
            send "{@prefix} &aRütbe atlamak için &5/rütbe atla"
            send "{@prefix} &aRütbe ücretlerine bakmak için &5/rütbe ücret"
            send "{@prefix} &aRütbe komutlarına erişmek için &5/rütbe yardım"
            send "&6---------------&ePreRütbe Yardım&6-------------"
        if arg 1 is "ücret":
            send "&6---------------&ePreRütbe Ücretler&6-------------"
            send "{@prefix} &6Oyuncu: &5{@oyuncu} TL"
            send "{@prefix} &6Tecrübeli: &5{@tecrübeli} TL"
            send "{@prefix} &6Uzman: &5{@uzman} TL"
            send "{@prefix} &6Usta: &5{@usta} TL"
            send "{@prefix} &6Ustad: &5{@ustad} TL"
            send "{@prefix} &6Asil: &5{@asil} TL"
            send "{@prefix} &6Kahraman: &5{@kahraman} TL"
            send "{@prefix} &6Efsanevi: &5{@efsanevi} TL"
            send "{@prefix} &6Profesyonel: &5{@profesyonel} TL"
            send "&6---------------&ePreRütbe Yardım&6---------------"
        if arg 1 is "atla":
            if {rutbe.%player%} is 0:
                if player's balance is greater than or equal to {@oyuncu}:
                    set {rutbe.%player%} to 1
                    remove {@oyuncu} from the player's balance
                    execute console command "manuadd %player% oyuncu"
                    send "{@prefix} &aBaşarıyla &6Oyuncu &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Oyuncu &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 1:
                if player's balance is greater than or equal to {@tecrübeli}:
                    set {rutbe.%player%} to 2
                    remove {@tecrübeli} from the player's balance
                    execute console command "manuadd %player% tecrübeli"
                    send "{@prefix} &aBaşarıyla &6Tecrübeli &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Tecrübeli &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 2:
                if player's balance is greater than or equal to {@uzman}:
                    set {rutbe.%player%} to 3
                    remove {@uzman} from the player's balance
                    execute console command "manuadd %player% uzman"
                    send "{@prefix} &aBaşarıyla &6Uzman &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Uzman &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 3:
                if player's balance is greater than or equal to {@usta}:
                    set {rutbe.%player%} to 4
                    remove {@usta} from the player's balance
                    execute console command "manuadd %player% usta"
                    send "{@prefix} &aBaşarıyla &6Usta &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Usta &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 4:
                if player's balance is greater than or equal to {@ustad}:
                    set {rutbe.%player%} to 5
                    remove {@ustad} from the player's balance
                    execute console command "manuadd %player% ustad"
                    send "{@prefix} &aBaşarıyla &6Ustad &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Ustad &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 5:
                if player's balance is greater than or equal to {@asil}:
                    set {rutbe.%player%} to 6
                    remove {@asil} from the player's balance
                    execute console command "manuadd %player% asil"
                    send "{@prefix} &aBaşarıyla &6Asil &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Asil &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 6:
                if player's balance is greater than or equal to {@kahraman}:
                    set {rutbe.%player%} to 7
                    remove {@kahraman} from the player's balance
                    execute console command "manuadd %player% kahraman"
                    send "{@prefix} &aBaşarıyla &6Kahraman &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Kahraman &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 7:
                if player's balance is greater than or equal to {@efsanevi}:
                    set {rutbe.%player%} to 8
                    remove {@efsanevi} from the player's balance
                    execute console command "manuadd %player% efsanevi"
                    send "{@prefix} &aBaşarıyla &6Efsanevi &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &AAdlı Oyuncu &6Efsanevi &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 8:
                if player's balance is greater than or equal to {@profesyonel}:
                    set {rutbe.%player%} to 9
                    remove {@profesyonel} from the player's balance
                    execute console command "manuadd %player% profesyonel"
                    send "{@prefix} &aBaşarıyla &6Profesyonel &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Profesyonel &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 9:
                send "{@prefix} &6Zaten Son Rütbedesin!"
                  
command /rütbeadmin [<text="yardım">] [<offlineplayer>] [<text>]:
    permission: rütbe.admin
    permission message: &c&lHoop Hayırdır? Bu Komut İçin Yetkin Yok!
    trigger:
        if arg 1 is "yardım":
            send "&4--------------&cPreRütbe Admin Komutları&4-------------"
            send "{@prefix} &4/rütbeadmin yardım &cPreRütbe Admin Komutlarını Görürsünüz."
            send "{@prefix} &4/rütbeadmin yenile &cSkripti Yenilersiniz."
            send "{@prefix} &4/rütbeadmin sıfırla <oyuncu> &cBir oyuncunun rütbesini sıfırlarsınız!"
            send "{@prefix} &4/rütbeadmin atlat <oyuncu> <rütbe> &cBir oyuncuyu istediğiniz rütbeye atlatırsınız!"
        if arg 1 is "yenile":
            execute player command "sk reload %script%"
            send "{@prefix} &ePre&bRütbe &aSkripti Başarıyla Yenilendi!"
        if arg 1 is "sıfırla":
            if arg 2 is set:
                set {rutbe.%arg 2%} to 0
                execute console command "manuadd %arg 2% acemi"
                send "{@prefix} &aBaşarıyla &5%arg 2% &aAdlı Oyuncunun Rütbesini Sıfırladınız!"
            else:
                send "{@prefix} &4Bir oyuncu ismi yazmalısın! &c/rütbeadmin sıfırla <oyuncu>"
        if arg 1 is "atlat":
            if arg 2 is set:
                if arg 3 is set:
                    if arg 3 is "oyuncu" or "tecrübeli" or "uzman" or "usta" or "ustad" or "asil" or "kahraman" or "efsanevi" or "profesyonel":
                        if arg 3 is "oyuncu":
                            set {rutbe.%arg 2%} to 1
                            execute console command "manuadd %arg 2% oyuncu"
                        if arg 3 is "tecrübeli":
                            set {rutbe.%arg 2%} to 2
                            execute console command "manuadd %arg 2% tecrübeli"
                        if arg 3 is "uzman":
                            set {rutbe.%arg 2%} to 3
                            execute console command "manuadd %arg 2% uzman"
                        if arg 3 is "usta":
                            set {rutbe.%arg 2%} to 4
                            execute console command "manuadd %arg 2% usta"
                        if arg 3 is "ustad":
                            set {rutbe.%arg 2%} to 5
                            execute console command "manuadd %arg 2% ustad"
                        if arg 3 is "asil":
                            set {rutbe.%arg 2%} to 6
                            execute console command "manuadd %arg 2% asil"
                        if arg 3 is "kahraman":
                            set {rutbe.%arg 2%} to 7
                            execute console command "manuadd %arg 2% kahraman"
                        if arg 3 is "efsanevi":
                            set {rutbe.%arg 2%} to 8
                            execute console command "manuadd %arg 2% efsanevi"
                        if arg 3 is "profesyonel":
                            set {rutbe.%arg 2%} to 9
                            execute console command "manuadd %arg 2% profesyonel"
                    else:
                        send "{@prefix} &4Böyle Bir Rütbe Bulunamadı! Şunlardan Birini Deneyiniz:"
                        send "{@prefix} &aoyuncu, tecrübeli, uzman, usta, ustad, asil, kahraman, efsanevi, profesyonel"
                else:
                    send "{@prefix} &4Bir Rütbe Yazmalısın! &c/rütbeadmin atlat %arg 2% <rütbe>"
            else:
                send "{@prefix} &4Bir Oyuncu İsmi Yazmalısın! &c/rütbeadmin atlat <oyuncu> <rütbe>"

Buyur kitsiz hali
 

dizayn1903

Marangoz
En iyi cevaplar
0
Kit zorunlu değil, sandık sistemiyle daha hoş olur diye koymuştum.
PHP:
#Author: TheBlueDeath
#Version: 1.0
on join:
    if {rutbe.%player%} is not set:
        set {rutbe.%player%} to 0
  
# ----------------------- Rütbe Ücretleri ---------------------- #
options:
    oyuncu: 1000
    tecrübeli: 100000
    uzman: 3200000
    usta: 9000000
    ustad: 12000000
    asil: 40000000
    kahraman: 90000000
    efsanevi: 32900000
    profesyonel: 500000000
    prefix: &6[&aPre&bRütbe&6]
  
# --------------------------- Ana Komut --------------------------- #
command /rütbe [<text="yardım">]:
    trigger:
        if arg 1 is "yardım":
            send "&6---------------&ePreRütbe Yardım&6-------------"
            send "{@prefix} &aPreRütbe temel komutu &5/rütbe&a'dir."
            send "{@prefix} &aRütbe atlamak için &5/rütbe atla"
            send "{@prefix} &aRütbe ücretlerine bakmak için &5/rütbe ücret"
            send "{@prefix} &aRütbe komutlarına erişmek için &5/rütbe yardım"
            send "&6---------------&ePreRütbe Yardım&6-------------"
        if arg 1 is "ücret":
            send "&6---------------&ePreRütbe Ücretler&6-------------"
            send "{@prefix} &6Oyuncu: &5{@oyuncu} TL"
            send "{@prefix} &6Tecrübeli: &5{@tecrübeli} TL"
            send "{@prefix} &6Uzman: &5{@uzman} TL"
            send "{@prefix} &6Usta: &5{@usta} TL"
            send "{@prefix} &6Ustad: &5{@ustad} TL"
            send "{@prefix} &6Asil: &5{@asil} TL"
            send "{@prefix} &6Kahraman: &5{@kahraman} TL"
            send "{@prefix} &6Efsanevi: &5{@efsanevi} TL"
            send "{@prefix} &6Profesyonel: &5{@profesyonel} TL"
            send "&6---------------&ePreRütbe Yardım&6---------------"
        if arg 1 is "atla":
            if {rutbe.%player%} is 0:
                if player's balance is greater than or equal to {@oyuncu}:
                    set {rutbe.%player%} to 1
                    remove {@oyuncu} from the player's balance
                    execute console command "manuadd %player% oyuncu"
                    send "{@prefix} &aBaşarıyla &6Oyuncu &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Oyuncu &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 1:
                if player's balance is greater than or equal to {@tecrübeli}:
                    set {rutbe.%player%} to 2
                    remove {@tecrübeli} from the player's balance
                    execute console command "manuadd %player% tecrübeli"
                    send "{@prefix} &aBaşarıyla &6Tecrübeli &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Tecrübeli &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 2:
                if player's balance is greater than or equal to {@uzman}:
                    set {rutbe.%player%} to 3
                    remove {@uzman} from the player's balance
                    execute console command "manuadd %player% uzman"
                    send "{@prefix} &aBaşarıyla &6Uzman &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Uzman &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 3:
                if player's balance is greater than or equal to {@usta}:
                    set {rutbe.%player%} to 4
                    remove {@usta} from the player's balance
                    execute console command "manuadd %player% usta"
                    send "{@prefix} &aBaşarıyla &6Usta &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Usta &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 4:
                if player's balance is greater than or equal to {@ustad}:
                    set {rutbe.%player%} to 5
                    remove {@ustad} from the player's balance
                    execute console command "manuadd %player% ustad"
                    send "{@prefix} &aBaşarıyla &6Ustad &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Ustad &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 5:
                if player's balance is greater than or equal to {@asil}:
                    set {rutbe.%player%} to 6
                    remove {@asil} from the player's balance
                    execute console command "manuadd %player% asil"
                    send "{@prefix} &aBaşarıyla &6Asil &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Asil &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 6:
                if player's balance is greater than or equal to {@kahraman}:
                    set {rutbe.%player%} to 7
                    remove {@kahraman} from the player's balance
                    execute console command "manuadd %player% kahraman"
                    send "{@prefix} &aBaşarıyla &6Kahraman &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Kahraman &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 7:
                if player's balance is greater than or equal to {@efsanevi}:
                    set {rutbe.%player%} to 8
                    remove {@efsanevi} from the player's balance
                    execute console command "manuadd %player% efsanevi"
                    send "{@prefix} &aBaşarıyla &6Efsanevi &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &AAdlı Oyuncu &6Efsanevi &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 8:
                if player's balance is greater than or equal to {@profesyonel}:
                    set {rutbe.%player%} to 9
                    remove {@profesyonel} from the player's balance
                    execute console command "manuadd %player% profesyonel"
                    send "{@prefix} &aBaşarıyla &6Profesyonel &aRütbesine Eriştin!"
                    broadcast "{@prefix} &5%player% &aAdlı Oyuncu &6Profesyonel &aRütbesine Erişti!"
                    stop trigger
                else:
                    send "{@prefix} &4Yeteri Kadar Paran Yok!"
            if {rutbe.%player%} is 9:
                send "{@prefix} &6Zaten Son Rütbedesin!"
                  
command /rütbeadmin [<text="yardım">] [<offlineplayer>] [<text>]:
    permission: rütbe.admin
    permission message: &c&lHoop Hayırdır? Bu Komut İçin Yetkin Yok!
    trigger:
        if arg 1 is "yardım":
            send "&4--------------&cPreRütbe Admin Komutları&4-------------"
            send "{@prefix} &4/rütbeadmin yardım &cPreRütbe Admin Komutlarını Görürsünüz."
            send "{@prefix} &4/rütbeadmin yenile &cSkripti Yenilersiniz."
            send "{@prefix} &4/rütbeadmin sıfırla <oyuncu> &cBir oyuncunun rütbesini sıfırlarsınız!"
            send "{@prefix} &4/rütbeadmin atlat <oyuncu> <rütbe> &cBir oyuncuyu istediğiniz rütbeye atlatırsınız!"
        if arg 1 is "yenile":
            execute player command "sk reload %script%"
            send "{@prefix} &ePre&bRütbe &aSkripti Başarıyla Yenilendi!"
        if arg 1 is "sıfırla":
            if arg 2 is set:
                set {rutbe.%arg 2%} to 0
                execute console command "manuadd %arg 2% acemi"
                send "{@prefix} &aBaşarıyla &5%arg 2% &aAdlı Oyuncunun Rütbesini Sıfırladınız!"
            else:
                send "{@prefix} &4Bir oyuncu ismi yazmalısın! &c/rütbeadmin sıfırla <oyuncu>"
        if arg 1 is "atlat":
            if arg 2 is set:
                if arg 3 is set:
                    if arg 3 is "oyuncu" or "tecrübeli" or "uzman" or "usta" or "ustad" or "asil" or "kahraman" or "efsanevi" or "profesyonel":
                        if arg 3 is "oyuncu":
                            set {rutbe.%arg 2%} to 1
                            execute console command "manuadd %arg 2% oyuncu"
                        if arg 3 is "tecrübeli":
                            set {rutbe.%arg 2%} to 2
                            execute console command "manuadd %arg 2% tecrübeli"
                        if arg 3 is "uzman":
                            set {rutbe.%arg 2%} to 3
                            execute console command "manuadd %arg 2% uzman"
                        if arg 3 is "usta":
                            set {rutbe.%arg 2%} to 4
                            execute console command "manuadd %arg 2% usta"
                        if arg 3 is "ustad":
                            set {rutbe.%arg 2%} to 5
                            execute console command "manuadd %arg 2% ustad"
                        if arg 3 is "asil":
                            set {rutbe.%arg 2%} to 6
                            execute console command "manuadd %arg 2% asil"
                        if arg 3 is "kahraman":
                            set {rutbe.%arg 2%} to 7
                            execute console command "manuadd %arg 2% kahraman"
                        if arg 3 is "efsanevi":
                            set {rutbe.%arg 2%} to 8
                            execute console command "manuadd %arg 2% efsanevi"
                        if arg 3 is "profesyonel":
                            set {rutbe.%arg 2%} to 9
                            execute console command "manuadd %arg 2% profesyonel"
                    else:
                        send "{@prefix} &4Böyle Bir Rütbe Bulunamadı! Şunlardan Birini Deneyiniz:"
                        send "{@prefix} &aoyuncu, tecrübeli, uzman, usta, ustad, asil, kahraman, efsanevi, profesyonel"
                else:
                    send "{@prefix} &4Bir Rütbe Yazmalısın! &c/rütbeadmin atlat %arg 2% <rütbe>"
            else:
                send "{@prefix} &4Bir Oyuncu İsmi Yazmalısın! &c/rütbeadmin atlat <oyuncu> <rütbe>"

Buyur kitsiz hali
Teşekkür Ederim Başarılı Konu :alkış: İyi Forumlar:D
 

mertylol

Altın Madencisi
En iyi cevaplar
0
İstersek rütbeleri değişebilirmiyiz?
Not:Başarılı bir skript, yakıştırıyorum.Bize çok büyük bir yardımda bulundun Teşekkrüler.
 
Üst