2 skript isteği kum bloğu havadayken düşmesin.. acil

Personinblack

YASAKLANDI
En iyi cevaplar
0
worldguard dan ayarladım da olmuyor hocam
Doğru dünyanın configini ayarladın değil mi? Eğer genel config üzerinde değişiklik yaptıysan, yeni bir dünya açtığında o dünyada kum düşmez fakat bir dünyanın configi üzerinde değişiklik yaparsan ve sunucuyu / plugini yenilersen o dünya için geçerli olur.
 

Snart

Ağaç Yumruklayıcı
En iyi cevaplar
0
Kod:
on place of mob spawner:
    if player's tool name is "Deneme":
        set {spawner::%event-location%} to true
        message "&2DIKKAT &aKoyduğun spawnerı artık sadece bir yetkili kırabilir!" to player
on break of mob spawner:
    if {spawner::%event-location%} is set:
        if player has permission "spawner.kir":
            delete {spawner::%event-location%}
            message "&2DIKKAt &aSpawner kaldırıldı" to player
        else:
            cancel event
            message "&2DIKKAT &aBu spawnerı sadece yetkili kırabilir!" to player

Buyur.
 

MahquM

Zombi Katili
En iyi cevaplar
0
Kod:
on place of mob spawner:
    if player's tool name is "Deneme":
        set {spawner::%event-location%} to true
        message "&2DIKKAT &aKoyduğun spawnerı artık sadece bir yetkili kırabilir!" to player
on break of mob spawner:
    if {spawner::%event-location%} is set:
        if player has permission "spawner.kir":
            delete {spawner::%event-location%}
            message "&2DIKKAt &aSpawner kaldırıldı" to player
        else:
            cancel event
            message "&2DIKKAT &aBu spawnerı sadece yetkili kırabilir!" to player

Buyur.

if player's tool name is "Deneme": bu kısımda hata var hocam

Doğru dünyanın configini ayarladın değil mi? Eğer genel config üzerinde değişiklik yaptıysan, yeni bir dünya açtığında o dünyada kum düşmez fakat bir dünyanın configi üzerinde değişiklik yaparsan ve sunucuyu / plugini yenilersen o dünya için geçerli olur.

# # WorldGuard's world configuration file # # This is a world configuration file. Anything placed into here will only # affect this world. If you don't put anything in this file, then the # settings will be inherited from the main configuration file. # # If you see {} below, that means that there are NO entries in this file. # Remove the {} and add your own entries. # {} ASkyBlock dünyasının configi böyle hocam ?
 

Personinblack

YASAKLANDI
En iyi cevaplar
0
if player's tool name is "Deneme": bu kısımda hata var hocam



# # WorldGuard's world configuration file # # This is a world configuration file. Anything placed into here will only # affect this world. If you don't put anything in this file, then the # settings will be inherited from the main configuration file. # # If you see {} below, that means that there are NO entries in this file. # Remove the {} and add your own entries. # {} ASkyBlock dünyasının configi böyle hocam ?
İşte o dosyayı istediğin gibi düzenlemen gerekiyor. Config.yml'i aç daha sonra neyi değiştirmek istiyorsan onu kopyala ve worldünün config dosyasına yapıştır. Örnek olarak:
Kod:
mobs:
    block-creeper-explosions: false
    block-creeper-block-damage: true
    block-wither-explosions: false
 
Üst