Çözüldü SureliVip Yardım

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

BeratYT25

Odunlara Vur Vur Vur!
Katılım
20 Haziran 2018
Mesajlar
30
Elmaslar
1
Puan
0
Yaş
25
Minecraft
iKingBerat
Öncelikle merhaba ben bu foruma yeni katıldım ve benim bi faction sunucum var ama bakımda ona surelivip ekledim çalışıyo ayarladım ama mesela adam Tegmen ken (Tegmen benim serverimdeki ranklardan bi tanesi) vip alıyor ve bittiginde adam otomatik olarak defaulta atıyo yani en başta başliyan yetkiye onu nası ayarlicaz yani adam hangi rütbede vip aldıysa vip si bittiginde o ranka geri dönücek ?

Kod:
command /surelivip [<player>] [<text>]:
    trigger:
        if player has permission "rSkript.admin":
            if arg 1 is not set:
                send "&6Komut Kullanımı: &e/surelivip -nick- -Vip/EliteVip/GiveVip/GiveVip+-" to player
                stop
            if arg 2 is not set:
                send "&6Komut Kullanımı: &e/surelivip -nick- -Vip/EliteVip/GiveVip/GiveVip+-" to player
                stop
            if arg 2 is not "vip" or "EliteVip" or "givevip" or "givevip+":
                send "&6Komut Kullanımı: &e/surelivip -nick- -Vip/EliteVip/GiveVip/GiveVip+-" to player
                stop
            if arg 2 is "vip":
                send "&e%arg 1% &6isimli oyuncu &bVIP &6grubuna taşındı." to player
                send "&e%player% &6isimli yönetici sizi &bVIP &6grubuna taşıdı." to player
                execute console command "manuadd %arg 1% vip"
                wait 7 days
                execute console command "manuadd %arg 1% Default"
                send "&e%arg 1% &6isimli oyuncunun VIP süresi bitti." to all players
            if arg 2 is "elite":
                send "&e%arg 1% &6isimli oyuncu &bELITAVIP &6grubuna taşındı." to player
                send "&e%player% &6isimli yönetici sizi &bELITAVIP &6grubuna taşıdı." to player
                execute console command "manuadd %arg 1% Elite"
                wait 7 days
                execute console command "manuadd %arg 1% Default"
                send "&e%arg 1% &6isimli oyuncunun ELITAVIP süresi bitti." to all players
            if arg 2 is "givevip":
                send "&e%arg 1% &6isimli oyuncu &bGIVEVIP &6grubuna taşındı." to player
                send "&e%player% &6isimli yönetici sizi &bGIVEVIP &6grubuna taşıdı." to player
                execute console command "manuadd %arg 1% givevip"
                wait 7 days
                execute console command "manuadd %arg 1% Default"
                send "&e%arg 1% &6isimli oyuncunun GIVEVIP süresi bitti." to all players
            if arg 2 is "givevip+":
                send "&e%arg 1% &6isimli oyuncu &bGIVEVIP+ &6grubuna taşındı." to player
                send "&e%player% &6isimli yönetici sizi &bGIVEVIP+ &6grubuna taşıdı." to player
                execute console command "manuadd %arg 1% givevip+"
                wait 7 days
                execute console command "manuadd %arg 1% Default"
                send "&e%arg 1% &6isimli oyuncunun GIVEVIP+ süresi bitti." to all players
        else:
            send "&6Bu komutu kullanabilmek için gerekli yetkiniz yok." to player

Lütfen yardım edin
 
SkUtilities gerektirir. Kodda biraz düzenleme yaptım oyuncular aktif değilkende süreleri gidecektir. Ek olarak site desteğide ekledim. Güle güle kullan.

Kod:
command /vipol [<offline player>] [<text>]:
    executable by: console
    trigger:
        vip(arg-1, "%arg-2%")
command /test:
    trigger:
        send "Bitmesine kalan süre: &e%trTimespan(difference between convert unix {vip::%player%} to date and now)%||&fSatın alma tarihi: &e%{vip::tarih::%player%}%"

function trTimespan(ts: timespan) :: text:
    set {_text} to "%{_ts}%"
    replace all "seconds" and "second" with "saniye" in {_text}
    replace all "minutes" and "minute" with "dakika" in {_text}
    replace all "hours" and "hour" with "saat" in {_text}
    replace all "days" and "day" with "gün" in {_text}
    replace all "and" with "ve" in {_text}
    return {_text}
  
every 1 minutes:
    loop {vip::*}:
        if difference between now and convert unix {vip::%loop-index%} to date is smaller than 1 minute:
            execute console command "manuadd %loop-index% +"
            delete {vip::%loop-index%}
            send "%nl% %nl%&cVIP süreniz bitti!%nl%" to loop-index parsed as player
          
function vip(p: player, vip: text):
    broadcast "&e%{_p}% &7isimli oyuncu &bVIP &7satın almıştır! Güle güle kullan!"
    set {vip::tarih::%{_p}%} to "%day%.%month%.%year%"
    set {_now} to now
    add 30 day to {_now}
    set {vip::%{_p}%} to convert date {_now} to unix
 
Skript yerine eklenti kullanmanız daha sağlıklı olur. Kullanmak isterseniz,
PixelVip
İndirme bağlantısı ->
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.

Tanıtım konusu bağlantısı -> Tanıtım
VipZero
İndirme bağlantısı ->
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.

Tanıtım konusu bağlantısı -> Tanıtım
skript tercih ediyorum
Gönderi otomatik olarak birleştirildi:

SkUtilities gerektirir. Kodda biraz düzenleme yaptım oyuncular aktif değilkende süreleri gidecektir. Ek olarak site desteğide ekledim. Güle güle kullan.

Kod:
command /vipol [<offline player>] [<text>]:
    executable by: console
    trigger:
        vip(arg-1, "%arg-2%")
command /test:
    trigger:
        send "Bitmesine kalan süre: &e%trTimespan(difference between convert unix {vip::%player%} to date and now)%||&fSatın alma tarihi: &e%{vip::tarih::%player%}%"

function trTimespan(ts: timespan) :: text:
    set {_text} to "%{_ts}%"
    replace all "seconds" and "second" with "saniye" in {_text}
    replace all "minutes" and "minute" with "dakika" in {_text}
    replace all "hours" and "hour" with "saat" in {_text}
    replace all "days" and "day" with "gün" in {_text}
    replace all "and" with "ve" in {_text}
    return {_text}
 
every 1 minutes:
    loop {vip::*}:
        if difference between now and convert unix {vip::%loop-index%} to date is smaller than 1 minute:
            execute console command "manuadd %loop-index% +"
            delete {vip::%loop-index%}
            send "%nl% %nl%&cVIP süreniz bitti!%nl%" to loop-index parsed as player
         
function vip(p: player, vip: text):
    broadcast "&e%{_p}% &7isimli oyuncu &bVIP &7satın almıştır! Güle güle kullan!"
    set {vip::tarih::%{_p}%} to "%day%.%month%.%year%"
    set {_now} to now
    add 30 day to {_now}
    set {vip::%{_p}%} to convert date {_now} to unix
teşekkürler bittiginde normal rankına dönüyo demi ?
 
skript tercih ediyorum
Gönderi otomatik olarak birleştirildi:

teşekkürler bittiginde normal rankına dönüyo demi ?
Evet dönüyor ancak GroupManagere göre ayarladım ben. Başka bir yetki eklentisi kullanıyorsan ona göre düzenlersin.
 
Evet dönüyor ancak GroupManagere göre ayarladım ben. Başka bir yetki eklentisi kullanıyorsan ona göre düzenlersin.
yok GroupManagar kullanıyorum saol
Gönderi otomatik olarak birleştirildi:

birazda karışık :D
Gönderi otomatik olarak birleştirildi:

k
SkUtilities gerektirir. Kodda biraz düzenleme yaptım oyuncular aktif değilkende süreleri gidecektir. Ek olarak site desteğide ekledim. Güle güle kullan.

Kod:
command /vipol [<offline player>] [<text>]:
    executable by: console
    trigger:
        vip(arg-1, "%arg-2%")
command /test:
    trigger:
        send "Bitmesine kalan süre: &e%trTimespan(difference between convert unix {vip::%player%} to date and now)%||&fSatın alma tarihi: &e%{vip::tarih::%player%}%"

function trTimespan(ts: timespan) :: text:
    set {_text} to "%{_ts}%"
    replace all "seconds" and "second" with "saniye" in {_text}
    replace all "minutes" and "minute" with "dakika" in {_text}
    replace all "hours" and "hour" with "saat" in {_text}
    replace all "days" and "day" with "gün" in {_text}
    replace all "and" with "ve" in {_text}
    return {_text}
 
every 1 minutes:
    loop {vip::*}:
        if difference between now and convert unix {vip::%loop-index%} to date is smaller than 1 minute:
            execute console command "manuadd %loop-index% +"
            delete {vip::%loop-index%}
            send "%nl% %nl%&cVIP süreniz bitti!%nl%" to loop-index parsed as player
         
function vip(p: player, vip: text):
    broadcast "&e%{_p}% &7isimli oyuncu &bVIP &7satın almıştır! Güle güle kullan!"
    set {vip::tarih::%{_p}%} to "%day%.%month%.%year%"
    set {_now} to now
    add 30 day to {_now}
    set {vip::%{_p}%} to convert date {_now} to unix
kardeşim SkUtilities ekledimde gine olmadı ve bunu guili yaparmısın ?
 
Son düzenleme:
yok GroupManagar kullanıyorum saol
Gönderi otomatik olarak birleştirildi:

birazda karışık :D
Gönderi otomatik olarak birleştirildi:

k

kardeşim SkUtilities ekledimde gine olmadı ve bunu guili yaparmısın ?
Skript sürümünün 2.6 üstü olması gerekiyor. Sunucu sürümün ise 1.8 üstü olmalıdır. Ayrıca hayır GUI için uğraşıcak vaktim yok iyi günler.
 
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