Bulundu [ÇÖZÜLDÜ] süreli perm verme

  • Konuyu Başlatan Konuyu Başlatan WenzyCraft
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 610
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

WenzyCraft

Odunlara Vur Vur Vur!
Katılım
27 Şubat 2021
Mesajlar
30
Elmaslar
0
Puan
6.445
Minecraft
GorkemUysal

Discord:

GörkemUysal#9725

Arkadaşlar 14 gün sonra oyuncudan permler alınmasını yaparmısınız
Kod:
command /worldeditver [<text>]:
    permission: op
    permission message: &aWenzy&fCraft &8► &7Böyle bir komut bulunamadı!
    trigger:
        if arg 1 is set:
            execute console command "manuaddp %arg 1% oyuncu.worldedit"
            execute console command "manuaddp %arg 1% worldedit.wand"
            execute console command "manuaddp %arg 1% worldedit.selection.pos"
            execute console command "tcexecute %arg 1% 10080 /manudelp %arg 1% oyuncu.worldedit"
            execute console command "tcexecute %arg 1% 10080 /manudelp %arg 1% worldedit.wand"
            execute console command "tcexecute %arg 1% 10080 /manudelp %arg 1% worldedit.selection.pos"
            broadcast "&aWenzy&fCraft &8► &e%arg 1% &7adlı oyuncu sitemizden &aWorld Edit &7adlı ürünü satın almıştır!"
        else:
            send "&aWenzy&fCraft &8► &7WorldEdit vermek için &8(&e/worldeditver <oyuncu>&8) &7komutunu doğru bir şekilde kullanın!"
 
Arkadaşlar 14 gün sonra oyuncudan permler alınmasını yaparmısınız
Kod:
command /worldeditver [<text>]:
    permission: op
    permission message: &aWenzy&fCraft &8► &7Böyle bir komut bulunamadı!
    trigger:
        if arg 1 is set:
            execute console command "manuaddp %arg 1% oyuncu.worldedit"
            execute console command "manuaddp %arg 1% worldedit.wand"
            execute console command "manuaddp %arg 1% worldedit.selection.pos"
            execute console command "tcexecute %arg 1% 10080 /manudelp %arg 1% oyuncu.worldedit"
            execute console command "tcexecute %arg 1% 10080 /manudelp %arg 1% worldedit.wand"
            execute console command "tcexecute %arg 1% 10080 /manudelp %arg 1% worldedit.selection.pos"
            broadcast "&aWenzy&fCraft &8► &e%arg 1% &7adlı oyuncu sitemizden &aWorld Edit &7adlı ürünü satın almıştır!"
        else:
            send "&aWenzy&fCraft &8► &7WorldEdit vermek için &8(&e/worldeditver <oyuncu>&8) &7komutunu doğru bir şekilde kullanın!"
Merhaba belki gereksiz bir yanıt gibi gelicek fakat groupmanager kullandığınızı görüyorum. Luckperms geçerek bunun gibi 10larca işlemi tek seferde halledebilirsiniz. İlk girdiğimde çok karışık geliyordu 1 günde çözdüm ve muazzam birşey kesinlikle tavsiye ederim.
 
JavaScript:
command /worldeditver [<text>] [<number>]:
    permission: op
    permission message: &aWenzy&fCraft &8► &7Böyle bir komut bulunamadı!
    trigger:
        if arg 1 is set:
            if arg-2 is set:
                execute console command "manuaddp %arg 1% oyuncu.worldedit"
                execute console command "manuaddp %arg 1% worldedit.wand"
                execute console command "manuaddp %arg 1% worldedit.selection.pos"
                broadcast "&aWenzy&fCraft &8► &e%arg 1% &7adlı oyuncu sitemizden &aWorld Edit &7adlı ürünü satın almıştır!"
                wait "%arg-2% days" parsed as timespan
                execute console command "tcexecute %arg 1% 10080 /manudelp %arg 1% oyuncu.worldedit"
                execute console command "tcexecute %arg 1% 10080 /manudelp %arg 1% worldedit.wand"
                execute console command "tcexecute %arg 1% 10080 /manudelp %arg 1% worldedit.selection.pos"
                stop
            else:
                send "&aWenzy&fCraft &8► &7WorldEdit vermek için &8(&e/worldeditver <oyuncu> <gün>&8) &7komutunu doğru bir şekilde kullanın!"
                stop
        else:
            send "&aWenzy&fCraft &8► &7WorldEdit vermek için &8(&e/worldeditver <oyuncu> <gün>&8) &7komutunu doğru bir şekilde kullanın!"
            stop

"

Sorununuz çözüldüyse belirtmeyi unutmayınız.​

İyi forumlar;​
 
Son düzenleme:
Dostum market olarak yaptım senin verdiğin kodlar ile bak istersen doğrumu editleyip kendine göre düzenlersin.



JavaScript:
command /wandsurem:
    trigger:
        if {wand::%player%} is set:
            set {_sure} to difference between {wand::%player%::time} and now
            set {_sure} to "%{_sure}%" parsed as a text
            replace all "days" with "gün" in {_sure}
            replace all "day" with "gün" in {_sure}
            replace all "hours" with "saat" in {_sure}
            replace all "hour" with "saat" in {_sure}
            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 "&6&lLoensa&f&lCraft &8&l» &eGeçen süre: &f%{_sure}%&8"
        else:
            message "&6&lLoensa&f&lCraft &8&l» &eŞuanda &fWand &eyetkisi alınmadı veya süresi bitti."
  
      
      
    


command /wandmarket:
    usage: &7/wandmarket
    trigger:
        open chest with 5 rows named "&dWand Market" to player
        format slot 20 of player with gold_ingot named "&e1 Gün Wand" with lore "&fFiyat: &e5K" to close then run [execute player command "/wandsatinal wand1"]
        format slot 22 of player with 265 named "&f10 Gün Wand" with lore "&fFiyat: &e10K" to close then run [execute player command "/wandsatinal wand2"]
        format slot 24 of player with 264 named "&b30 Gün Wand" with lore "&fFiyat: &e20K" to close then run [execute player command "/wandsatinal wand3"]

command /wandsatinal [<text>]:
    trigger:
        if arg-1 is not set:
            send "" to player
            send "" to player
            send "&6&lLoensa&f&lCraft &8&l» &e/wandmarket komutunu kullanmal1s1n." to player
            send "" to player
            send "" to player
        if arg-1 is not "wand1" or "wand2" or "wand3":
            send "" to player
            send "" to player
            send "&6&lLoensa&f&lCraft &8&l» &e/wandmarket komutunu kullanmal1s1n." to player
            send "" to player
        if arg-1 is "wand1":
            if player's balance is bigger than or equal to 5000:
                execute console command "eco take %player% 5000"
                     execute console command "manuaddp %player% oyuncu.worldedit"
                   execute console command "manuaddp %player% worldedit.wand"
                execute console command "manuaddp %player% worldedit.selection.pos"
                send "&6&lLoensa&f&lCraft &8&l» &eBaşarıyla &cWand Sat1n &eAldın." to player
                set {wand::%player%} to true
                set {wand::%player%::time} to now
                wait 1440 minute
                execute console command "manuaddv %player% oyuncu.worldedit"
                   execute console command "manuaddv %player% worldedit.wand"
                execute console command "manuaddv %player% worldedit.selection.pos"
                delete {wand::%player%}
                delete {wand::%player%::time}
                send "&6&lLoensa&f&lCraft &8&l» &cWand Süren &eSüren Sona Erdi."
            else:
                send "&6&lLoensa&f&lCraft &8&l» &cYeterli Miktarda Paran Yok." to player
        if arg-1 is "wand2":
            if player's balance is bigger than or equal to 10000:
                execute console command "eco take %player% 10000"
                     execute console command "manuaddp %player% oyuncu.worldedit"
                   execute console command "manuaddp %player% worldedit.wand"
                execute console command "manuaddp %player% worldedit.selection.pos"
                send "&6&lLoensa&f&lCraft &8&l» &eBaşarıyla &cWand Sat1n &eAldın." to player
                set {wand::%player%} to true
                set {wand::%player%::time} to now
                wait 14400 minute
                execute console command "manuaddv %player% oyuncu.worldedit"
                   execute console command "manuaddv %player% worldedit.wand"
                execute console command "manuaddv %player% worldedit.selection.pos"
                delete {wand::%player%}
                delete {wand::%player%::time}
                send "&6&lLoensa&f&lCraft &8&l» &cWand Süren &eSüren Sona Erdi."
            else:
                send "&6&lLoensa&f&lCraft &8&l» &cYeterli Miktarda Paran Yok." to player
        if arg-1 is "wand3":
            if player's balance is bigger than or equal to 20000:
                execute console command "eco take %player% 20000"
                     execute console command "manuaddp %player% oyuncu.worldedit"
                   execute console command "manuaddp %player% worldedit.wand"
                execute console command "manuaddp %player% worldedit.selection.pos"
                send "&6&lLoensa&f&lCraft &8&l» &eBaşarıyla &cWand Satın &eAldın." to player
                set {wand::%player%} to true
                set {wand::%player%::time} to now
                wait 43200 minute
                execute console command "manuaddv %player% oyuncu.worldedit"
                   execute console command "manuaddv %player% worldedit.wand"
                execute console command "manuaddv %player% worldedit.selection.pos"
                delete {wand::%player%}
                delete {wand::%player%::time}
                send "&6&lLoensa&f&lCraft &8&l» &cWand Süren &eSüren Sona Erdi."
            else:
                send "&6&lLoensa&f&lCraft &8&l» &cYeterli Miktarda Paran Yok." to player
 
JavaScript:
command /worldeditver [<text>] [<number>]:
    permission: op
    permission message: &aWenzy&fCraft &8► &7Böyle bir komut bulunamadı!
    trigger:
        if arg 1 is set:
            if arg-2 is set:
                execute console command "manuaddp %arg 1% oyuncu.worldedit"
                execute console command "manuaddp %arg 1% worldedit.wand"
                execute console command "manuaddp %arg 1% worldedit.selection.pos"
                broadcast "&aWenzy&fCraft &8► &e%arg 1% &7adlı oyuncu sitemizden &aWorld Edit &7adlı ürünü satın almıştır!"
                wait "%arg-2% days" parsed as timespan
                execute console command "tcexecute %arg 1% 10080 /manudelp %arg 1% oyuncu.worldedit"
                execute console command "tcexecute %arg 1% 10080 /manudelp %arg 1% worldedit.wand"
                execute console command "tcexecute %arg 1% 10080 /manudelp %arg 1% worldedit.selection.pos"
                stop
            else:
                send "&aWenzy&fCraft &8► &7WorldEdit vermek için &8(&e/worldeditver <oyuncu> <gün>&8) &7komutunu doğru bir şekilde kullanın!"
                stop
        else:
            send "&aWenzy&fCraft &8► &7WorldEdit vermek için &8(&e/worldeditver <oyuncu> <gün>&8) &7komutunu doğru bir şekilde kullanın!"
            stop

"

Sorununuz çözüldüyse belirtmeyi unutmayınız.​

İyi forumlar;​
Teşekkür ederim
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst