- Katılım
- 10 Ağustos 2017
- Mesajlar
- 455
- Elmaslar
- 159
- Puanlar
- 9.270
- Yaş
- 23
- Yer
- İzmir
- Minecraft
- EfeByc
- https://www.facebook.com/efeboyaci21
Hile Raporlama
-Artık /report hile <isim> kullanılabilir.
-Raporlanan kişiler 2'den fazla raporlandıysa raporlar adlı yaml dosyasına gider, yöneticiler de
istediği gibi oyuncuyu gözetleyebilir ve kontrol edebilir.
Güncelleme
- Artık sohbete yazı yazınca susturulmanın açılacağı tarih gözükecek.
- Derecelendirmeler düzenlendi.
Kod:
options:
prefix: &f[&aReport&f]
küfürler: "küfür1" or "küfür2" or "küfür3" or "küfür4" or "küfür5" or "küfür6"
variables:
{report::%player%} = 0
{report::mute::%player%} = 0
{report::hileSayı::%player%} = 0
command /report [<text>] [<offlineplayer>]:
trigger:
if arg-1 is not set:
send "{@prefix} &6/report küfür <isim>"
send "{prefix} &6/report hile <isim>"
if arg-1 is "test":
if arg-2 is set:
add "%arg 2%" to yaml list "Report" from "Report"
if arg-1 is "hile":
if arg-2 is set:
if {report::hileSayı::%arg 2%::%player%} is 1:
send "{@prefix} &6Zaten bu oyuncu için rapor hakkını kullanmışsın."
send "{@prefix} &6En yakın zamanda raporunu inceleyeceğiz ya da inceledik."
else:
if {report::hileSayı::%arg 2%} is greater than 1:
add "%arg-2%" to yaml list "raporlar" from "config"
save yaml "config"
add 1 to {report::hileSayı:%arg 2%}
send "{@prefix} &6Raporunu dikkate alacağız, teşekkürler."
set {report::hileSayı::%arg 2%::%player%} to 1
else:
add 1 to {report::hileSayı:%arg 2%}
send "{@prefix} &6Raporunu dikkate alacağız, teşekkürler."
set {report::hileSayı::%arg 2%::%player%} to 1
if arg-1 is "küfür":
if arg-2 is set:
if {report::mute::%arg 2%} is 1:
send "{@prefix} &6Oyuncu zaten susturulmuş yine de raporunuz için teşekkürler." to player
if {report::mute::%arg 2%} is 0:
if {report::%arg 2%} is 0:
send "{@prefix} &6Oyuncu son mesajlarında küfür etmemiş."
if {report::%arg 2%} is 1:
send "{@prefix} &6Raporunuz için teşekkürler." to player
send "{@prefix} &6Oyuncu 1. dereceden susturulmuştur." to player
set {report::mute::%arg 2%} to 1
send "{@prefix} &6Birinci dereceden küfür sebebiyle 1 gün susturuldun." to arg-2
execute player command "/report tarih1"
wait 24 hours
set {report::mute::%arg 2%} to 0
if {report::%arg 2%} is 2:
send "{@prefix} &6Raporunuz için teşekkürler."
send "{@prefix} &6Oyuncu 2. dereceden susturulmuştur."
set {report::mute::%arg 2%} to 1
send "{@prefix} &6İkinci dereceden küfür sebebiyle 2 gün susturuldun."
execute player command "/report tarih2"
wait 48 hours
set {report::mute::%arg 2%} to 0
if {report::%arg 2%} is 3:
send "{@prefix} &6Raporunuz için teşekkürler."
send "{@prefix} &6Oyuncu 3. dereceden susturulmuştur."
set {report::mute::%arg 2%} to 1
send "{@prefix} &6Üçüncü dereceden küfür sebebiyle 3 gün susturuldun."
execute player command "/report tarih3"
wait 72 hours
set {report::mute::%arg 2%} to 0
if arg-1 is "tarih1":
set {_mutetarih} to now
add a day to {_mutetarih}
send "{@prefix} &6Susturulma bu tarihte kalkacak: &e%{_mutetarih}%" to player
set {tarih} to now
add a day to {tarih}
if arg-1 is "tarih2":
set {_mutetarih} to now
add a day to {_mutetarih}
add a day to {_mutetarih}
set {tarih} to now
add a day to {tarih}
add a day to {tarih}
send "{@prefix} &6Susturulma bu tarihte kalkacak: &e%{_mutetarih}%" to player
if arg-1 is "tarih3":
set {_mutetarih} to now
add a day to {_mutetarih}
add a day to {_mutetarih}
add a day to {_mutetarih}
set {tarih} to now
add a day to {tarih}
add a day to {tarih}
add a day to {tarih}
send "{@prefix} &6Susturulma bu tarihte kalkacak: &e%{_mutetarih}%" to player
on chat:
if message contains {@küfürler}:
if {report::%player%} is 1:
set {report::%player%} to 2
wait 5 minutes
set {report::%player%} to 0
stop
if {report::%player%} is 0:
set {report::%player%} to 1
wait 5 minutes
set {report::%player%} to 0
stop
if {report::%player%} is 2:
set {report::%player%} to 3
wait 5 minutes
set {report::%player%} to 0
stop
on chat:
if {report::mute::%player%} is 0:
stop
if {report::mute::%player%} is 1:
send "{@prefix} &6Susturulmuşsun." to player
send "{@prefix} &6Şu tarihte açılacak: &e%{tarih}%" to player
cancel event
command /test:
trigger:
set {report::mute::%player%} to 0
set {report::%player%} to 0
on load:
load yaml "plugins/Raporlar/raporlar.yml" as "config"
save yaml "config"
Son düzenleme: