Mcsg Report Kodlayabilecek

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ı
 

SerhatGundogdu

Zombi Katili
En iyi cevaplar
0

SerhatGundogdu

Zombi Katili
En iyi cevaplar
0
FriendlyReport adlı eklentiyi kullanabilirsin :) Spigotda paralı ama gerçekten işe yarar bir eklenti :).
Ö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."
 

ByCooky

Kömür Madencisi
En iyi cevaplar
0
@Remake Sanırsam Batıkan'da var. Ama çok kaliteli ve uzun. Verirmi bilemem ama hatana yardım eder :)
 

Sourect

Ağaç Yumruklayıcı
En iyi cevaplar
0
Ö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."
Skypemi Eklersen Sana Bu Yazıyı Görünce Saat 5 te Kodladığım Skripti Atayım ?
Skypem : Melihpaff
 

HKNGLGN

Zombi Katili
En iyi cevaplar
3
Hataları düzelttim ve disk tasarrufu yaptım.

PHP:
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."


 
Son düzenleme:

SerhatGundogdu

Zombi Katili
En iyi cevaplar
0
Skypemi Eklersen Sana Bu Yazıyı Görünce Saat 5 te Kodladığım Skripti Atayım ?
Skypem : Melihpaff
zaten eklisin ??

Hataları 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."

oldu teşekkürler fakat 1 sorum var /report yazsan bile yetkililere report geliyor
 
Üst