Sol Banner
Sağ Banner
  • Minecraft İçerik Üreticileri Aranıyor!

    Bilgilendirici videolar ya da rehberler hazırlayarak gelir elde etmek ister misin?

    • ✅ YouTube - TikTok Videoları üretecek içerik üreticileri & video editörleri arıyoruz!
    • ✅ Forumda yazarlık, minecraft rehberleri, modları paylaşacak arkadaşlar arıyoruz.
    • ✅ Aramıza katıl, içerik üret, paylaşım yap, para kazan!
    Başvur

5 Dakika Fly

Eldrithc_

Seçkin madenci.
Katılım
16 Ağustos 2019
Mesajlar
86
Tepki puanı
9
Puanları
1,215
Öncelikle Merhaba...
Sunucumda 5 Dakika Fly Satmak İstiyorum
Bunu Nasıl Yapabilirim ?
Plugin/Skript bilemedim o yüzdem plugine yazdım...​
 

DarkSad

Kaşif
İçerik Yöneticisi
Editor Şefî
İçerik Paylaşım Ekibi
Katılım
17 Ekim 2019
Mesajlar
178
Tepki puanı
86
Puanları
1,305
Konum
İstanbul
Kod:
options:
    p: &6FLY &8»
    fiyat: 999999

command /sürelifly:
    trigger:
        if {fly::%player%} is not set:
            if player's balance is greater than or equal to {@fiyat}:
                remove {@fiyat} from player's balance
                send player title "&bSatın alma başarılı" with subtitle "&fFLY yetkiniz verildi" for 4 seconds
                play "LEVEL_UP" to player
                execute console command "manuaddp %player% essentials.fly"
                set {fly::%player%} to true
                set {fly::%player%::time} to now
                set player's fly mode to true
                wait 30 minute
                execute console command "manudelp %player% essentials.fly"
                set player's fly mode to false
                delete {fly::%player%}
                delete {fly::%player%::time}
                message "{@p} &7Süreniz doldu, üzgünüm."
                set player's fly mode to false
            else:
                message "{@p} &7Satın almak için &a{@fiyat}TL &7paraya ihtiyacınız var."
        else:
            message "{@p} &7Zaten bu özelliğiniz var."     

on join:
    if {fly::%player%::time} is set:
        if difference between {fly::%player%::time} and now is greater than 30 minute:
            execute console command "manudelp %player% essentials.fly"
            set player's fly mode to false
            delete {fly::%player%}
            delete {fly::%player%::time}
            wait 3 seconds
            message "{@p} &7Süreniz doldu, üzgünüm."
  
command /flysürem:
    trigger:
        if {fly::%player%} is set:
            set {_sure} to difference between {fly::%player%::time} and now
            set {_sure} to "%{_sure}%" parsed as a text
            replace all "minutes" with "dakika" in {_sure}
            replace all "minute" with "dakika" in {_sure}
            replace all "seconds" with "saniye" in {_sure}
            replace all "second" with "saniye" in {_sure}
            replace all " and " with " " in {_sure} or {_zaman}
            message "{@p} &7Kalan süreniz: &f%{_sure}%&8/&f30 dakika"
        else:
            message "{@p} &7Süreli FLY özelliğiniz aktif değil."
          
command /flysil [<player>]:
    permission: fly.admin
    permission message: &7Bunu yapmak için yetkiniz yok!
    trigger:
        if arg 1 is set:
            if {fly::%arg 1%} is set:
                set arg 1's fly mode to false
                delete {fly::%arg 1%}
                delete {fly::%arg 1%::time}
                wait 3 seconds
                send "{@p} &7Süreli FLY yetkiniz silindi!" to arg 1
                message "{@p} &7Oyuncunun FLY'ı başarıyla silindi."
            else:
                message "{@p} &7Bu oyuncunun zaten süreli FLY yetkisi yok."
        else:
            message "{@p} &7Kullanım: &e/flysil <oyuncu>"
 

Eldrithc_

Seçkin madenci.
Katılım
16 Ağustos 2019
Mesajlar
86
Tepki puanı
9
Puanları
1,215
Kod:
options:
    p: &6FLY &8»
    fiyat: 999999

command /sürelifly:
    trigger:
        if {fly::%player%} is not set:
            if player's balance is greater than or equal to {@fiyat}:
                remove {@fiyat} from player's balance
                send player title "&bSatın alma başarılı" with subtitle "&fFLY yetkiniz verildi" for 4 seconds
                play "LEVEL_UP" to player
                execute console command "manuaddp %player% essentials.fly"
                set {fly::%player%} to true
                set {fly::%player%::time} to now
                set player's fly mode to true
                wait 30 minute
                execute console command "manudelp %player% essentials.fly"
                set player's fly mode to false
                delete {fly::%player%}
                delete {fly::%player%::time}
                message "{@p} &7Süreniz doldu, üzgünüm."
                set player's fly mode to false
            else:
                message "{@p} &7Satın almak için &a{@fiyat}TL &7paraya ihtiyacınız var."
        else:
            message "{@p} &7Zaten bu özelliğiniz var."    

on join:
    if {fly::%player%::time} is set:
        if difference between {fly::%player%::time} and now is greater than 30 minute:
            execute console command "manudelp %player% essentials.fly"
            set player's fly mode to false
            delete {fly::%player%}
            delete {fly::%player%::time}
            wait 3 seconds
            message "{@p} &7Süreniz doldu, üzgünüm."
 
command /flysürem:
    trigger:
        if {fly::%player%} is set:
            set {_sure} to difference between {fly::%player%::time} and now
            set {_sure} to "%{_sure}%" parsed as a text
            replace all "minutes" with "dakika" in {_sure}
            replace all "minute" with "dakika" in {_sure}
            replace all "seconds" with "saniye" in {_sure}
            replace all "second" with "saniye" in {_sure}
            replace all " and " with " " in {_sure} or {_zaman}
            message "{@p} &7Kalan süreniz: &f%{_sure}%&8/&f30 dakika"
        else:
            message "{@p} &7Süreli FLY özelliğiniz aktif değil."
         
command /flysil [<player>]:
    permission: fly.admin
    permission message: &7Bunu yapmak için yetkiniz yok!
    trigger:
        if arg 1 is set:
            if {fly::%arg 1%} is set:
                set arg 1's fly mode to false
                delete {fly::%arg 1%}
                delete {fly::%arg 1%::time}
                wait 3 seconds
                send "{@p} &7Süreli FLY yetkiniz silindi!" to arg 1
                message "{@p} &7Oyuncunun FLY'ı başarıyla silindi."
            else:
                message "{@p} &7Bu oyuncunun zaten süreli FLY yetkisi yok."
        else:
            message "{@p} &7Kullanım: &e/flysil <oyuncu>"
Teşekkürler
 

Eldrithc_

Seçkin madenci.
Katılım
16 Ağustos 2019
Mesajlar
86
Tepki puanı
9
Puanları
1,215
Kod:
options:
    p: &6FLY &8»
    fiyat: 999999

command /sürelifly:
    trigger:
        if {fly::%player%} is not set:
            if player's balance is greater than or equal to {@fiyat}:
                remove {@fiyat} from player's balance
                send player title "&bSatın alma başarılı" with subtitle "&fFLY yetkiniz verildi" for 4 seconds
                play "LEVEL_UP" to player
                execute console command "manuaddp %player% essentials.fly"
                set {fly::%player%} to true
                set {fly::%player%::time} to now
                set player's fly mode to true
                wait 30 minute
                execute console command "manudelp %player% essentials.fly"
                set player's fly mode to false
                delete {fly::%player%}
                delete {fly::%player%::time}
                message "{@p} &7Süreniz doldu, üzgünüm."
                set player's fly mode to false
            else:
                message "{@p} &7Satın almak için &a{@fiyat}TL &7paraya ihtiyacınız var."
        else:
            message "{@p} &7Zaten bu özelliğiniz var."    

on join:
    if {fly::%player%::time} is set:
        if difference between {fly::%player%::time} and now is greater than 30 minute:
            execute console command "manudelp %player% essentials.fly"
            set player's fly mode to false
            delete {fly::%player%}
            delete {fly::%player%::time}
            wait 3 seconds
            message "{@p} &7Süreniz doldu, üzgünüm."
 
command /flysürem:
    trigger:
        if {fly::%player%} is set:
            set {_sure} to difference between {fly::%player%::time} and now
            set {_sure} to "%{_sure}%" parsed as a text
            replace all "minutes" with "dakika" in {_sure}
            replace all "minute" with "dakika" in {_sure}
            replace all "seconds" with "saniye" in {_sure}
            replace all "second" with "saniye" in {_sure}
            replace all " and " with " " in {_sure} or {_zaman}
            message "{@p} &7Kalan süreniz: &f%{_sure}%&8/&f30 dakika"
        else:
            message "{@p} &7Süreli FLY özelliğiniz aktif değil."
         
command /flysil [<player>]:
    permission: fly.admin
    permission message: &7Bunu yapmak için yetkiniz yok!
    trigger:
        if arg 1 is set:
            if {fly::%arg 1%} is set:
                set arg 1's fly mode to false
                delete {fly::%arg 1%}
                delete {fly::%arg 1%::time}
                wait 3 seconds
                send "{@p} &7Süreli FLY yetkiniz silindi!" to arg 1
                message "{@p} &7Oyuncunun FLY'ı başarıyla silindi."
            else:
                message "{@p} &7Bu oyuncunun zaten süreli FLY yetkisi yok."
        else:
            message "{@p} &7Kullanım: &e/flysil <oyuncu>"
Kaç dakika veriyor fly'ı
 

DarkSad

Kaşif
İçerik Yöneticisi
Editor Şefî
İçerik Paylaşım Ekibi
Katılım
17 Ekim 2019
Mesajlar
178
Tepki puanı
86
Puanları
1,305
Konum
İstanbul
Sorun çözüldüyse En iyi cevabı işaretleyin ve konuyu çözüldü olarak işaretleyin.
 

Yeni Mesajlar


Üst