- Katılım
- 5 Ocak 2019
- Mesajlar
- 39
- Elmaslar
- 7
- Puanlar
- 8.710
- Yaş
- 23
- Minecraft
- Lust4Ahmet
- Ahmet Saraç
- Lust4Ahmet
Bunu yapabilirim. Yaptığım zaman discord üzerinden gönderirim.Arkadaşlar sunucuma süreli kit eklemek istiyorum ama nasıl yspıcağımı bilmiyorum. Yami şöyle diyeyim size; o kişi kutu açtı ve 1 aylık blok kiti kazandı ben bu adama 1 aylık perm vermek istiyorum üstüne açrığı kutudan bir daha blok kiti çıkarsa 2 ay olucak kitin süresi yardımcı olabilecek varmı?
Konuyu anlamadın ki brn bundan bahsetmiyorum herkes alamıyvak kiti sadece kutudan çıkar veya siteden alırsa alabilecekKod:command /kitgunluk: trigger: {aldi.%player%} isn't set: set {aldi.%player%} to true execute console command "create key %player% Gunluk 1" send "&eGünlük kit alindi." wait 24 hours set {aldi.%player%] to false else: send "&eGünde 1 kez alabilirsin."
İşini bu görür mü görmezse belirt bulalım.
options:
kutununadi: &6&lKutu
perm: kutu.perm
mesaj1: 1 aylık blok kiti verildi. Tebrikler
mesaj2: Mevcut olan blok kitin aylığı 1 ay uzatıldı.
on rightclick:
event-item is chest named "{@kutununadi}"
remove 1 chest named "{@kutununadi}" from player
if {now::%player%} is not set:
set {now::%player%} to now
execute console command "manuaddp %player% {@perm}"
send "{@mesaj1}"
stop
if {now::%player%} is set:
if now bigger than equal to {now::%player%}:
add 1 mounth to {now::%player%}
send "{@mesaj2}"
if now smaller than {now::%player%}:
set {now::%player%} to now
send "{@mesaj1}"
# Kit nasıl kullanılacak? Komutla kullanılacaksa:
command /kit:
trigger:
if now smaller than {now::%player%}:
execute console command "manudelp %player% {@perm}"
send "&cSüresi bitmiş!"
stop trigger
if {now::%player%} is not set:
send "&cSüresi bitmiş!"
stop trigger
command /kalansüre:
trigger:
send ""
send "&aBitecek zaman: %{now::%player%}%"
send ""
stop trigger
Ben bunu skript e atıcam kutunun adını yazıcam çalışıcakmı bro? 1 ay dolunca o kiti alamıyacak yaniDenenmedi. Hatam olabilir.
Kod:options: kutununadi: &6&lKutu perm: kutu.perm mesaj1: 1 aylık blok kiti verildi. Tebrikler mesaj2: Mevcut olan blok kitin aylığı 1 ay uzatıldı. on rightclick: event-item is chest named "{@kutununadi}" remove 1 chest named "{@kutununadi}" from player if {now::%player%} is not set: set {now::%player%} to now execute console command "manuaddp %player% {@perm}" send "{@mesaj1}" stop if {now::%player%} is set: if now bigger than equal to {now::%player%}: add 1 mounth to {now::%player%} send "{@mesaj2}" if now smaller than {now::%player%}: set {now::%player%} to now send "{@mesaj1}" # Kit nasıl kullanılacak? Komutla kullanılacaksa: command /kit: trigger: if now smaller than {now::%player%}: execute console command "manudelp %player% {@perm}" send "&cSüresi bitmiş!" stop trigger if {now::%player%} is not set: send "&cSüresi bitmiş!" stop trigger command /kalansüre: trigger: send "" send "&aBitecek zaman: %{now::%player%}%" send "" stop trigger
Çalışmazsa geri bildirim yapabilirsin.Ben bunu skript e atıcam kutunun adını yazıcam çalışıcakmı bro? 1 ay dolunca o kiti alamıyacak yani