Çözüldü Npc Command

  • Konuyu Başlatan Konuyu Başlatan ThysonNW
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 518
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

ThysonNW

Somon Balığı Selam Vermeye Geldi
Katılım
9 Ocak 2019
Mesajlar
20
Elmaslar
1
Puan
0
Yaş
26
Minecraft
ThySonNW
Npc Cmdadd komutu ile npcye komut verdim fakat istediklrri kadar alabilyorlar kiti 2 gunde bir nasil ayarliyabilirim
 
Npc Cmdadd komutu ile npcye komut verdim fakat istediklrri kadar alabilyorlar kiti 2 gunde bir nasil ayarliyabilirim
Essentials daki kits.yml yi aç

Screenshot_19.png


Bu kısımdan gününü ayarlayabilirsin. Eğer tek bir kullanımlık kit istiyorsan -1 yazacaksın.
O kısmın wikisine de bakabilirsin
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
 
skripti atarmısın
command /otosatcubuk:
trigger:
give 1 diamond hoe named "&c&lSatış Çubuğu" to player


on left click with diamond hoe:
if name of player's tool is "&c&lSatış Çubuğu":
if clicked block is a chest:
if amount of iron block in clicked block is greater than 0:
add (amount of iron block in clicked block * 45000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of iron block in clicked block * 45000000)% &7hesabınıza eklendi. " to player
remove every iron blocks from clicked block
else if amount of gold block in clicked block is greater than 0:
add (amount of gold block in clicked block * 50000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of gold block in clicked block * 50000000)% &7hesabınıza eklendi." to player
remove every gold blocks from clicked block
else if amount of emerald block in clicked block is greater than 0:
add (amount of emerald block in clicked block * 80000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of emerald block in clicked block * 80000000)% &7hesabınıza eklendi." to player
remove every emerald blocks from clicked block
else if amount of diamond block in clicked block is greater than 0:
add (amount of diamond block in clicked block * 70000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of diamond block in clicked block * 70000000)% &7hesabınıza eklendi." to player
remove every diamond blocks from clicked block
else if amount of iron ingot in clicked block is greater than 0:
add (amount of iron ingot in clicked block * 5000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of iron ingot in clicked block * 5000000)% &7hesabınıza eklendi." to player
remove every iron ingots from clicked block
else if amount of diamond in clicked block is greater than 0:
add (amount of diamond in clicked block * 15000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of diamond in clicked block * 15000000)% &7hesabınıza eklendi." to player
remove every diamonds from clicked block
else if amount of emerald in clicked block is greater than 0:
add (amount of emerald in clicked block * 20000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of emerald in clicked block * 20000000)% &7hesabınıza eklendi." to player
remove every emeralds from clicked block
else if amount of gold ingot in clicked block is greater than 0:
add (amount of gold ingot in clicked block * 10000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of gold ingot in clicked block * 10000000)% &7hesabınıza eklendi." to player
remove every gold ingots from clicked block
else if amount of cactus in clicked block is greater than 0:
add (amount of cactus in clicked block * 810000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of cactus in clicked block * 810000000)% &7hesabınıza eklendi." to player
remove every cactus from clicked block
else if amount of redstone ore in clicked block is greater than 0:
add (amount of redstone ore in clicked block * 2800000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of redstone ore in clicked block * 2800000000)% &7hesabınıza eklendi." to player
remove every redstone ore from clicked block
else if amount of coal ore in clicked block is greater than 0:
add (amount of coal ore in clicked block * 1000000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of coal ore in clicked block * 1000000000)% &7hesabınıza eklendi." to player
remove every coal ore from clicked block
else if amount of iron ore in clicked block is greater than 0:
add (amount of iron ore in clicked block * 7500000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of iron ore in clicked block * 7500000000)% &7hesabınıza eklendi." to player
remove every iron ore from clicked block
else if amount of gold ore in clicked block is greater than 0:
add (amount of gold ore in clicked block * 16000000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of gold ore in clicked block * 16000000000)% &7hesabınıza eklendi." to player
remove every gold ore from clicked block
else if amount of diamond ore in clicked block is greater than 0:
add (amount of diamond ore in clicked block * 50000000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of diamond ore in clicked block * 50000000000)% &7hesabınıza eklendi." to player
remove every diamond ore from clicked block
on right click with diamond hoe:
if name of player's tool is "&c&lSatış Çubuğu":
if clicked block is a trapped chest:
if amount of iron block in clicked block is greater than 0:
add (amount of iron block in clicked block * 45000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of iron block in clicked block * 45000000)% &7hesabınıza eklendi. " to player
remove every iron blocks from clicked block
else if amount of gold block in clicked block is greater than 0:
add (amount of gold block in clicked block * 50000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of gold block in clicked block * 50000000)% &7hesabınıza eklendi." to player
remove every gold blocks from clicked block
else if amount of emerald block in clicked block is greater than 0:
add (amount of emerald block in clicked block * 80000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of emerald block in clicked block * 80000000)% &7hesabınıza eklendi." to player
remove every emerald blocks from clicked block
else if amount of diamond block in clicked block is greater than 0:
add (amount of diamond block in clicked block * 70000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of diamond block in clicked block * 70000000)% &7hesabınıza eklendi." to player
remove every diamond blocks from clicked block
else if amount of iron ingot in clicked block is greater than 0:
add (amount of iron ingot in clicked block * 5000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of iron ingot in clicked block * 5000000)% &7hesabınıza eklendi." to player
remove every iron ingots from clicked block
else if amount of diamond in clicked block is greater than 0:
add (amount of diamond in clicked block * 15000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of diamond in clicked block * 15000000)% &7hesabınıza eklendi." to player
remove every diamonds from clicked block
else if amount of emerald in clicked block is greater than 0:
add (amount of emerald in clicked block * 20000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of emerald in clicked block * 20000000)% &7hesabınıza eklendi." to player
remove every emeralds from clicked block
else if amount of gold ingot in clicked block is greater than 0:
add (amount of gold ingot in clicked block * 10000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of gold ingot in clicked block * 10000000)% &7hesabınıza eklendi." to player
remove every gold ingots from clicked block
else if amount of cactus in clicked block is greater than 0:
add (amount of cactus in clicked block * 810000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of cactus in clicked block * 810000000)% &7hesabınıza eklendi." to player
remove every cactus from clicked block
else if amount of redstone ore in clicked block is greater than 0:
add (amount of redstone ore in clicked block * 2800000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of redstone ore in clicked block * 2800000000)% &7hesabınıza eklendi." to player
remove every redstone ore from clicked block
else if amount of coal ore in clicked block is greater than 0:
add (amount of coal ore in clicked block * 1000000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of coal ore in clicked block * 1000000000)% &7hesabınıza eklendi." to player
remove every coal ore from clicked block
else if amount of iron ore in clicked block is greater than 0:
add (amount of iron ore in clicked block * 7500000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of iron ore in clicked block * 7500000000)% &7hesabınıza eklendi." to player
remove every iron ore from clicked block
else if amount of gold ore in clicked block is greater than 0:
add (amount of gold ore in clicked block * 16000000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of gold ore in clicked block * 16000000000)% &7hesabınıza eklendi." to player
remove every gold ore from clicked block
else if amount of diamond ore in clicked block is greater than 0:
add (amount of diamond ore in clicked block * 50000000000) to player's money
send "&eSKYBLOCK &8» &c%(amount of diamond ore in clicked block * 50000000000)% &7hesabınıza eklendi." to player
remove every diamond ore from clicked block
 
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.

Bu plugini kur ardından envanterini boşalt çubuğu eline al ve şu komutu yaz;
/createkit <kitismi> 172800
yaz. Sonra /mangaddp oyuncu essentials.kits.<kitismi> yaz.
Son olarak cmdye /kit <kitismi> komutunu ver.
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst