SerhatGundogdu
Zombi Katili
- En iyi cevaplar
- 0
Beyler Mcsgdeki report pluginini skript ile kodlayacak varmı sabah 1-2 saat uraştım ama illaha bir kaç hata veriyor bir arkadaş yapmış oda çok çok hatalı
https://forum.gamer.com.tr/konu/sk-mcsg-report-1-0-by-crispybow.306432/ dostum bu skript mcsgdeki gibi işte bende bunu kodlamaya çalıştım hatalarla karşılaştım bunun hatalarıda çok fazlaDaha detaylı anlatırsan yardımcı olabilirim.
18 hata falan olunca sinirden sildim galiba sabah falan baya uraştımUğraşıpta yapamadıysan kodu buraya at hatayı düzeltelim![]()
FriendlyReport adlı eklentiyi kullanabilirsinhttps://forum.gamer.com.tr/konu/sk-mcsg-report-1-0-by-crispybow.306432/ dostum bu skript mcsgdeki gibi işte bende bunu kodlamaya çalıştım hatalarla karşılaştım bunun hatalarıda çok fazla
Öle bir şey değilde MCSGdeki gibi bir şey istiyorumFriendlyReport adlı eklentiyi kullanabilirsinSpigotda paralı ama gerçekten işe yarar bir eklenti
.
command /report [<player>] [<number>]:
trigger:
loop all players:
loop-player has permission "op":
log "%player% Adli Oyuncu %arg 1% Adli Oyuncuyu Report Etti. Kural: %arg 2%" to "report/reportlar.log"
send "&7&m------------------------------"
wait 0 ticks
send "&cYeni Bir Report Var&8!"
wait 0 ticks
send "&7Report Eden Kisi : &3%player%"
wait 0 ticks
send "&7Report Edilen Kisi : &3%arg 1%"
wait 0 ticks
send "&7Kural : &3%arg 2%"
wait 0 ticks
send "&7&m------------------------------"
if arg 1 is not set:
if arg 2 is not set:
message "&8&m---------------&3 Report &8&m---------------"
message "&6/report &7<oyuncuismi> <kural +>"
message "&3Kurallar&8:"
message "&81. &7Rahatsizlik"
message "&82. &7Uygunsuz Sohbet"
message "&83. &7Spam"
message "&84. &7Reklam"
message "&85. &7Ifsa Paylasma"
message "&86. &7Hacking"
message "&87. &7Uygunsuz Skin"
message "&88. &7Diger"
if arg 1 is set:
if arg 2 is set:
arg 2 is less than or equal to 8:
arg 2 is greater than 1:
message "&8[&3xCrax&8] &2%arg 1%&7'i Reportladin Kural: &3%arg 2%"
message "&8[&3xCrax&8] &7Reportlandin Kural: &3%arg 2%" to arg 1
else:
send "&cSectiginiz sayi 1 den kucuk olamaz."
else:
send "&aSectiginiz sayi 8 den buyuk olamaz."
Batıkan zaten benim.. Bana karşı kendimi önermiş olman tuhaf geldi@Remake Sanırsam Batıkan'da var. Ama çok kaliteli ve uzun. Verirmi bilemem ama hatana yardım eder![]()
Skypemi Eklersen Sana Bu Yazıyı Görünce Saat 5 te Kodladığım Skripti Atayım ?Öle bir şey değilde MCSGdeki gibi bir şey istiyorum
veya bu koddaki hataları düzeltebilirmisiniz kod bana ait değildir
Kod:command /report [<player>] [<number>]: trigger: loop all players: loop-player has permission "op": log "%player% Adli Oyuncu %arg 1% Adli Oyuncuyu Report Etti. Kural: %arg 2%" to "report/reportlar.log" send "&7&m------------------------------" wait 0 ticks send "&cYeni Bir Report Var&8!" wait 0 ticks send "&7Report Eden Kisi : &3%player%" wait 0 ticks send "&7Report Edilen Kisi : &3%arg 1%" wait 0 ticks send "&7Kural : &3%arg 2%" wait 0 ticks send "&7&m------------------------------" if arg 1 is not set: if arg 2 is not set: message "&8&m---------------&3 Report &8&m---------------" message "&6/report &7<oyuncuismi> <kural +>" message "&3Kurallar&8:" message "&81. &7Rahatsizlik" message "&82. &7Uygunsuz Sohbet" message "&83. &7Spam" message "&84. &7Reklam" message "&85. &7Ifsa Paylasma" message "&86. &7Hacking" message "&87. &7Uygunsuz Skin" message "&88. &7Diger" if arg 1 is set: if arg 2 is set: arg 2 is less than or equal to 8: arg 2 is greater than 1: message "&8[&3xCrax&8] &2%arg 1%&7'i Reportladin Kural: &3%arg 2%" message "&8[&3xCrax&8] &7Reportlandin Kural: &3%arg 2%" to arg 1 else: send "&cSectiginiz sayi 1 den kucuk olamaz." else: send "&aSectiginiz sayi 8 den buyuk olamaz."
O baştakini okuma o etiket içinBatıkan zaten benim.. Bana karşı kendimi önermiş olman tuhaf geldi![]()
command /report [<player>] [<number>]:
trigger:
arg 2 is set:
loop all players:
loop-player has permission "op":
log "%player% Adli Oyuncu %arg 1% Adli Oyuncuyu Report Etti. Kural: %arg 2%" to "report/reportlar.log"
send "&7&m------------------------------"
send "&cYeni Bir Report Var&8!"
send "&7Report Eden Kisi : &3%player%"
send "&7Report Edilen Kisi : &3%arg 1%"
send "&7Kural : &3%arg 2%"
send "&7&m------------------------------"
arg 2 isn't set:
send "&8&m---------------&3 Report &8&m---------------"
send "&6/report &7<oyuncuismi> <kural +>"
send "&3Kurallar&8:"
send "&81. &7Rahatsizlik"
send "&82. &7Uygunsuz Sohbet"
send "&83. &7Spam"
send "&84. &7Reklam"
send "&85. &7Ifsa Paylasma"
send "&86. &7Hacking"
send "&87. &7Uygunsuz Skin"
send "&88. &7Diger"
arg 2 is set:
arg 2 is less than 9:
arg 2 is greater than 1:
send "&8[&3xCrax&8] &2%arg 1%&7'i Reportladin Kural: &3%arg 2%"
send "&8[&3xCrax&8] &7Reportlandin Kural: &3%arg 2%" to arg 1
else:
send "&cSectiginiz sayi 1 den kucuk olamaz."
else:
send "&aSectiginiz sayi 8 den buyuk olamaz."
zaten eklisin ??Skypemi Eklersen Sana Bu Yazıyı Görünce Saat 5 te Kodladığım Skripti Atayım ?
Skypem : Melihpaff
oldu teşekkürler fakat 1 sorum var /report yazsan bile yetkililere report geliyorHataları düzelttim ve disk tasarrufu yaptım.
PHP:command /report [<player>] [<number>]: trigger: loop all players: loop-player has permission "op": log "%player% Adli Oyuncu %arg 1% Adli Oyuncuyu Report Etti. Kural: %arg 2%" to "report/reportlar.log" send "&7&m------------------------------" send "&cYeni Bir Report Var&8!" send "&7Report Eden Kisi : &3%player%" send "&7Report Edilen Kisi : &3%arg 1%" send "&7Kural : &3%arg 2%" send "&7&m------------------------------" arg 2 isn't set: send "&8&m---------------&3 Report &8&m---------------" send "&6/report &7<oyuncuismi> <kural +>" send "&3Kurallar&8:" send "&81. &7Rahatsizlik" send "&82. &7Uygunsuz Sohbet" send "&83. &7Spam" send "&84. &7Reklam" send "&85. &7Ifsa Paylasma" send "&86. &7Hacking" send "&87. &7Uygunsuz Skin" send "&88. &7Diger" arg 2 is set: arg 2 is less than 9: arg 2 is greater than 1: send "&8[&3xCrax&8] &2%arg 1%&7'i Reportladin Kural: &3%arg 2%" send "&8[&3xCrax&8] &7Reportlandin Kural: &3%arg 2%" to arg 1 else: send "&cSectiginiz sayi 1 den kucuk olamaz." else: send "&aSectiginiz sayi 8 den buyuk olamaz."
çok teşekürlerKodu düzenledim.
öle oluncada /report yazınca Kurallar gözükmüyorKodu düzenledim.