On break of stone
cancel event
on break:
if player has permission "perm.perm":
send "yetkinden dolayı blok kırabiliyorsun."
else:
event-block is not {kırılanlar::*}
cancel event
send "Bu Blok kırılamaz dostum."
command /kirilanlar [<text>] [<text>]:
permission: admin.admin
permission message: &4Bu Komudu Kullanabilmek İçin Gerekli Yetkiye Sahip Değilsiniz !
aliases: kirlnlr,krlnlr,kirln,kirilan
trigger:
if arg-1 is not set:
if arg-2 is not set:
send "&7&l-------&c&l-------"
send "&oMerhaba %player%"
send "&7&l-------&c&l-------"
send "&6Komutlar ;"
send "&a/kirilanlar ekle [item isim]"
send "&a/kirilanlar liste"
send "&7&l-------&c&l-------"
if arg-1 is "ekle":
if arg-2 is set:
add arg-2 to {kırılanlar::*}
send "%arg-2% &aBaşarı İle Kırılamayanlara Eklendi."
if arg-1 is "liste":
if arg-2 is ot set:
send "&7Kırılamayanlar;"
send "&o%{kırılanlar::*}%"
Adamsın fakat adam her blok kırışındamı bu yetkin olduğu için kırabiliyordun mesajını alacak? Eğer öyleyse onu kaldırır mısın?buyrun;
Kod:on break: if player has permission "perm.perm" send "yetkinden dolayı blok kırabiliyorsun." else: event-block is not {kırılanlar::*} cancel event send "Bu Blok kırılamaz dostum." command /kirilanlar [<text>] [<text>]: permission: admin.admin permission message: &4Bu Komudu Kullanabilmek İçin Gerekli Yetkiye Sahip Değilsiniz ! aliases: kirlnlr,krlnlr,kirln,kirilan trigger: if arg-1 is not set: if arg-2 is not set: send "&7&l-------&c&l-------" send "&oMerhaba %player%" send "&7&l-------&c&l-------" send "&6Komutlar ;" send "&a/kirilanlar ekle [item isim]" send "&a/kirilanlar liste" send "&7&l-------&c&l-------" if arg-1 is "ekle": if arg-2 is set: add arg-2 to {kırılanlar::*} send "%arg-2% &aBaşarı İle Kırılamayanlara Eklendi." if arg-1 is "liste": if arg-2 not set: send "&7Kırılamayanlar;" send "&o%{kırılanlar::*}"
Aga hata verdi Skript.mesajı değiştir bunlar kırılanlar sadece kırılabilenlerunuttum
51:55] [Server thread/INFO]: [0;37;22m[[0;33;22mSkript[0;37;22m][m Reloading the config and all scripts...[m
[10:51:55] [Server thread/INFO]: Loaded a total of 11504 english aliases
[10:51:55] [Server thread/WARN]: There are no aliases defined for the following ids: 165, 166, 167, 168, 169, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 409, 410, 411, 412, 413, 414, 415, 416, 423, 424, 425, 427, 428, 429, 430, 431
[10:51:55] [Server thread/ERROR]: indentation error: expected 4 spaces, but found 8 spaces (Ayarlar.sk, line 10: send "yetkinden dolayı blok kırabiliyorsun."')
[10:51:55] [Server thread/ERROR]: 'permission "perm.perm"' is not an item type (Ayarlar.sk, line 9: if player has permission "perm.perm"')
[10:51:55] [Server thread/ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (Ayarlar.sk, line 11: else:')
[10:51:55] [Server thread/ERROR]: can't understand this condition: 'arg-2 not set' (Ayarlar.sk, line 34: if arg-2 not set:')
[10:51:55] [Server thread/INFO]: Loaded 1 script with a total of 3 triggers and 1 command in 0.09 seconds
[10:51:55] [Server thread/INFO]: [0;37;22m[[0;33;22mSkript[0;37;22m][m [0;31;22mEncountered 4 errors while reloading the config and all scripts![m
düzenledim : koymayı unutmusum arg-2 is koymayı unutmusumAga hata verdi Skript.
Hata;
Kod:51:55] [Server thread/INFO]: [0;37;22m[[0;33;22mSkript[0;37;22m][m Reloading the config and all scripts...[m [10:51:55] [Server thread/INFO]: Loaded a total of 11504 english aliases [10:51:55] [Server thread/WARN]: There are no aliases defined for the following ids: 165, 166, 167, 168, 169, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 409, 410, 411, 412, 413, 414, 415, 416, 423, 424, 425, 427, 428, 429, 430, 431 [10:51:55] [Server thread/ERROR]: indentation error: expected 4 spaces, but found 8 spaces (Ayarlar.sk, line 10: send "yetkinden dolayı blok kırabiliyorsun."') [10:51:55] [Server thread/ERROR]: 'permission "perm.perm"' is not an item type (Ayarlar.sk, line 9: if player has permission "perm.perm"') [10:51:55] [Server thread/ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (Ayarlar.sk, line 11: else:') [10:51:55] [Server thread/ERROR]: can't understand this condition: 'arg-2 not set' (Ayarlar.sk, line 34: if arg-2 not set:') [10:51:55] [Server thread/INFO]: Loaded 1 script with a total of 3 triggers and 1 command in 0.09 seconds [10:51:55] [Server thread/INFO]: [0;37;22m[[0;33;22mSkript[0;37;22m][m [0;31;22mEncountered 4 errors while reloading the config and all scripts![m
ot set hatası verdi. " if arg-2 is ot set:" Galiba is not olacak orasıdüzenledim : koymayı unutmusum arg-2 is koymayı unutmusum![]()
ama sanırsam sayı kabul etmiyor yazı olarak girin glass stone flneed n gitmiş Q:WEQWEQ ( otQWEQ)
yani [<item>] mi yazıymYalnız senin o eklediklerin text. Block (yada item) olarak eklemen lazım.
eyw unclekendini geliştirmişe benziyorsun görmeyeli evlat bu şekilde devam et ama blok olarak eklicen onları
editledim % sonuna koymayı unutmusum hızlıca yazmısım sanırsamot set hatası verdi. " if arg-2 is ot set:" Galiba is not olacak orasıBu seferde % hatası verdi.
Evet [<item>] yazacaksın.yani [<item>] mi yazıymörnek verirsen.
eyw uncle#onkrktr
editledim % sonuna koymayı unutmusum hızlıca yazmısım sanırsam![]()
PHP:break: event-block is not grass cancel event
Üstteki kadar basit bir şey varken neden alttaki kullanılsın .-.buyrun;
kodu düzenledim : ve is koymayı unutmuşumKod:on break: if player has permission "perm.perm": send "yetkinden dolayı blok kırabiliyorsun." else: event-block is not {kırılanlar::*} cancel event send "Bu Blok kırılamaz dostum." command /kirilanlar [<text>] [<text>]: permission: admin.admin permission message: &4Bu Komudu Kullanabilmek İçin Gerekli Yetkiye Sahip Değilsiniz ! aliases: kirlnlr,krlnlr,kirln,kirilan trigger: if arg-1 is not set: if arg-2 is not set: send "&7&l-------&c&l-------" send "&oMerhaba %player%" send "&7&l-------&c&l-------" send "&6Komutlar ;" send "&a/kirilanlar ekle [item isim]" send "&a/kirilanlar liste" send "&7&l-------&c&l-------" if arg-1 is "ekle": if arg-2 is set: add arg-2 to {kırılanlar::*} send "%arg-2% &aBaşarı İle Kırılamayanlara Eklendi." if arg-1 is "liste": if arg-2 is ot set: send "&7Kırılamayanlar;" send "&o%{kırılanlar::*}%"![]()
farkındamısın bilmiyorum ama adam komutla oraya birden fazla blok ekleyebiliyor eklediklerinide kırabiliyor eger perm.pem varsa heryeri kırabiliyor.Üstteki kadar basit bir şey varken neden alttaki kullanılsın .-.