- Katılım
- 28 Temmuz 2018
- Mesajlar
- 148
- Elmaslar
- 49
- Puanlar
- 0
- Yaş
- 24
- Minecraft
- 0000furkan
Arkadaşlar Hub Sunucu İçin "/talep" Skripti Varmı. Mesela "/talep bu eksik şudur" sonrada biz /talepler yazarak görcez
options:
p: &6&lIstek &7&l»
on login:
delete {istekspam::%player%}
on load:
if file "plugins/Istekler" doesn't exists:
create folder "plugins/Istekler"
command /istek [<text>]:
trigger:
if {istekspam::%player%} is set:
send "{@p} &cBir dahaki isteğini 5 dakika sonra bulunabilirsiniz."
stop
if arg 1 is not set:
send "{@p} &cLütfen isteğinizi belirtiniz."
if arg 1 is set:
if "%{sonistek::%player%}%" is "%arg 1%":
send "{@p} &cHata: Son isteğinizle şuanki isteğiniz aynı olamaz."
if "%{sonistek::%player%}%" is not "%arg 1%":
set {sonistek::%player%} to "%arg 1%"
add "&6Istek: &f%arg 1%||&6Isteyen Kişi: &f%player%||&6Zaman: &f%now%" to {tümistekler::*}
if file "plugins/Istekler/Istekler.yml" doesn't exists:
create file "plugins/Istekler/Istekler.yml"
set "Istek:%arg 1% Isteyen Kişi:%player%" to "-> Zaman:%year%-%month%-%day%-%hour%-%minute%-%second%" in yaml file "plugins/Istekler/Istekler.yml"
send "{@p} &aIsteğiniz istek listesine eklendi."
set {istekspam::%player%} to true
wait 5 minute
delete {istekspam::%player%}
command /istekadmin [<text>]:
permission: istek.admin
permission message: {@p} &cYetkin yok!
trigger:
if arg 1 is not set:
send "{@p} &e/istekadmin &c<liste>&7, &c<temizle>"
if arg 1 is "liste":
if amount of {tümistekler::*} < 1:
send "{@p} &cŞuana kadar hiçbir istek buraya ulaşmamış!"
stop
else:
open virtual chest with size 6 named "&eIstekler" to player
wait 0.50 tick
set {_istek} to 0
loop {tümistekler::*}:
make gui slot {_istek} of player with paper named "&3[&b%loop-index%&3]" with lore "%loop-value%" to close
add 1 to {_istek}
if arg 1 is "temizle":
send "{@p} &eListe temizleniyor!"
wait 2 tick
delete {tümistekler::*}
send "{@p} &aListe temizlendi."
on load:
if file "plugins/BurakLog/İstekLog.yml" doesn't exists:
create file "plugins/BurakLog/İstekLog.yml"
command /istek [<text>]:
trigger:
wf "%player% Adlı Oyuncu Şunu İstiyor : %arg-1%" to "plugins/BurakLog/İstekLog.yml"
send "&eİsteğiniz kayıt edildi" to player
send "&aİstediğiniz şey şuydu &7%arg-1%" to player
BuraLog Pluginini Nasıl Bulucam BurakcığımLog dosyasına kayıt edilir.Kod:on load: if file "plugins/BurakLog/İstekLog.yml" doesn't exists: create file "plugins/BurakLog/İstekLog.yml" command /istek [<text>]: trigger: wf "%player% Adlı Oyuncu Şunu İstiyor : %arg-1%" to "plugins/BurakLog/İstekLog.yml" send "&eİsteğiniz kayıt edildi" to player send "&aİstediğiniz şey şuydu &7%arg-1%" to player
Log dosyasına kayıt edilir.Kod:on load: if file "plugins/BurakLog/İstekLog.yml" doesn't exists: create file "plugins/BurakLog/İstekLog.yml" command /istek [<text>]: trigger: wf "%player% Adlı Oyuncu Şunu İstiyor : %arg-1%" to "plugins/BurakLog/İstekLog.yml" send "&eİsteğiniz kayıt edildi" to player send "&aİstediğiniz şey şuydu &7%arg-1%" to player