- Katılım
- 5 Temmuz 2014
- Mesajlar
- 653
- Elmaslar
- 1.984
- Puan
- 16.070
- Yaş
- 54
- Konum
- Afyon
- Minecraft
- byfatih
Discord:
ofez #6281
.......Artık Npc İçin Bir Plugine Gerek Yok.....
Genel Bilgi:*Bu Skript Sayesinde Npc Oluştura Bilirsiniz...
*Bu Npclere Bir Çok Şey Ekleye Bilirsiniz.
*Eğer "Npc lere Bir Şey Ekleyemedim Benim İçin Eklermisin" Diyorsan Yorumlarda belirtirsen Sevinirim..
*Bu Sayede Spawnınıza Renk Katacaksınız.
*Spawınız dan Oyuncular Npc Kullanarak Görevler Warplara Gidebilme v.s Ayarlayabilirsiniz... (Hatta Market Bile Oluyor.)
*Npcler'e Vurulamaz Öldürülemez Ancak ./npc sil Komutu İle Yok Edilebilir......
Komutlar:
*/vnpc olustur =>köylü Npc'sini Oluşturur.
*/vnpc sil =>köylü Npc'sini Siler.
*/znpc olursut =>Zombi Npc'sini Olusturur
*/znpc sil =>Zombi Npc'sini siler.
+Kendiniz Farklı Farklı Npc ler Eklerseniz (Skripten Anlıyorsanız.)
- Buyurun Kod...
Ek;
*Sohbete Naber npc
*sohbete bende iyiyim npc
Gibi Sorulara Cevap Verir....
-------------------------------
*Npc lere Sağ Tıkladığınızda Npc Menüsü Açılır Her Npc Nin Menüsü Farklıdır..... Bişeyler Ekleye Bilrsiniz Yukardada Belirttiğim gibi....
Kod:
on rightclick on villager:
if target entity's display name is "&6&lNpc":
cancel event
wait 3 tick
play raw sound "random.pop" at player with pitch 2 volume 10
send "&f" to player
send "&6&l[Npc] &bNpc Menü" to player
send "&f" to player
play raw sound "random.orb" at player with pitch 1 volume 10
wait 3 tick
open chest with 1 rows named "&6&lNpc Menu" to player
wait 1 tick
format slot 0 of player with 160:15 named "&9" to close then run [execute player command "/npcmenu951"]
format slot 1 of player with 160:15 named "&9" to close then run [execute player command "/npcmenu951"]
format slot 2 of player with 160:15 named "&9" to close then run [execute player command "/npcmenu951"]
format slot 3 of player with wooden sword named "&9Bu Alanları Değiştirebilirsin." with lore "Bilmiyorsanız Forumdan Ulaşın(muho977)..." to close then run [execute player command "/npcmenu951"]
format slot 4 of player with paper named "&9Bu Alanları Değiştirebilirsin." with lore "Bilmiyorsanız Forumdan Ulaşın(muho977)..." to close then run [execute player command "/npcmenu951"]
format slot 5 of player with diamond sword named "&9Bu Alanları Değiştirebilirsin." with lore "Bilmiyorsanız Forumdan Ulaşın(muho977)..." to close then run [execute player command "/npcmenu951"]
format slot 6 of player with 160:15 named "&9" to close then run [execute player command "/npcmenu951"]
format slot 7 of player with 160:15 named "&9" to close then run [execute player command "/npcmenu951"]
format slot 8 of player with 160:15 named "&6" to close then run [execute player command "/npcmenu951"]
stop
on damage:
victim is villager
victim's display name is "&6&lNpc":
cancel event
command /knpc [<text>]:
permission: npc.admin
trigger:
if arg-1 is "olustur":
spawn a villager at the player
set the spawned villager's display name to "&6&lNpc"
if arg-1 is "sil":
if target entity is villager:
if target entity's display name is "&6&lNpc":
kill the target entity
send "&6&l[Npc] &bNpc Yok Edildi..."
on chat:
if chat message contains "naber npc":
wait 1 second
play raw sound "random.pop" at player with pitch 1 volume 10
send " &6&l[Npc] &b>> &cIyi Sen "
if chat message contains "bende iyiyim npc":
wait 1 second
play raw sound "random.pop" at player with pitch 1 volume 10
send " &6&l[Npc] &b>> &cIyi Olduğuna Sevindim.."
command /npcmenu951:
trigger:
play raw sound "random.pop" at player with pitch 2 volume 10
play raw sound "random.orb" at player with pitch 1 volume 10
wait 3 tick
open chest with 1 rows named "&6&lNpc Menu" to player
wait 1 tick
format slot 0 of player with 160:15 named "&9" to close then run [execute player command "/npcmenu951"]
format slot 1 of player with 160:15 named "&9" to close then run [execute player command "/npcmenu951"]
format slot 2 of player with 160:15 named "&9" to close then run [execute player command "/npcmenu951"]
format slot 3 of player with wooden sword named "&9Bu Alanları Değiştirebilirsin." with lore "Bilmiyorsanız Forumdan Ulaşın(muho977)..." to close then run [execute player command "/npcmenu951"]
format slot 4 of player with paper named "&9Bu Alanları Değiştirebilirsin." with lore "Bilmiyorsanız Forumdan Ulaşın(muho977)..." to close then run [execute player command "/npcmenu951"]
format slot 5 of player with diamond sword named "&9Bu Alanları Değiştirebilirsin." with lore "Bilmiyorsanız Forumdan Ulaşın(muho977)..." to close then run [execute player command "/npcmenu951"]
format slot 6 of player with 160:15 named "&9" to close then run [execute player command "/npcmenu951"]
format slot 7 of player with 160:15 named "&9" to close then run [execute player command "/npcmenu951"]
format slot 8 of player with 160:15 named "&6" to close then run [execute player command "/npcmenu951"]
stop
on rightclick on zombie:
if target entity's display name is "&c&lZombi Npc":
cancel event
wait 3 tick
play raw sound "random.pop" at player with pitch 2 volume 10
send "&f" to player
send "&c&lZombi Npc >> &6Menü" to player
send "&f" to player
play raw sound "random.orb" at player with pitch 1 volume 10
wait 3 tick
open chest with 1 rows named "&4&lZombi Npc Menu" to player
wait 1 tick
format slot 0 of player with 160:15 named "&9" to close then run [execute player command "/znpcmenu951"]
format slot 1 of player with 160:15 named "&9" to close then run [execute player command "/znpcmenu951"]
format slot 2 of player with 160:15 named "&9" to close then run [execute player command "/znpcmenu951"]
format slot 3 of player with wooden sword named "&9Bu Alanları Değiştirebilirsin." with lore "Bilmiyorsanız Forumdan Ulaşın(muho977)..." to close then run [execute player command "/znpcmenu951"]
format slot 4 of player with paper named "&9Bu Alanları Değiştirebilirsin." with lore "Bilmiyorsanız Forumdan Ulaşın(muho977)..." to close then run [execute player command "/znpcmenu951"]
format slot 5 of player with diamond sword named "&9Bu Alanları Değiştirebilirsin." with lore "Bilmiyorsanız Forumdan Ulaşın(muho977)..." to close then run [execute player command "/znpcmenu951"]
format slot 6 of player with 160:15 named "&9" to close then run [execute player command "/znpcmenu951"]
format slot 7 of player with 160:15 named "&9" to close then run [execute player command "/znpcmenu951"]
format slot 8 of player with 160:15 named "&6" to close then run [execute player command "/npcmenu951"]
stop
on damage:
victim is zombie
victim's display name is "&c&lZombi Npc":
cancel event
command /znpc [<text>]:
permission: npc.admin
trigger:
if arg-1 is "olustur":
spawn a zombie at the player
set the spawned zombie's display name to "&c&lZombi Npc"
if arg-1 is "sil":
if target entity is villager:
if target entity's display name is "&c&lZombi Npc":
kill the target entity
send "&c&lZombi Npc >> Yok Edil..."
command /znpcmenu951:
trigger:
play raw sound "random.pop" at player with pitch 2 volume 10
play raw sound "random.orb" at player with pitch 1 volume 10
wait 3 tick
open chest with 1 rows named "&4&lZombi Npc Menu" to player
wait 1 tick
format slot 0 of player with 160:15 named "&9" to close then run [execute player command "/znpcmenu951"]
format slot 1 of player with 160:15 named "&9" to close then run [execute player command "/znpcmenu951"]
format slot 2 of player with 160:15 named "&9" to close then run [execute player command "/znpcmenu951"]
format slot 3 of player with wooden sword named "&9Bu Alanları Değiştirebilirsin." with lore "Bilmiyorsanız Forumdan Ulaşın(muho977)..." to close then run [execute player command "/znpcmenu951"]
format slot 4 of player with paper named "&9Bu Alanları Değiştirebilirsin." with lore "Bilmiyorsanız Forumdan Ulaşın(muho977)..." to close then run [execute player command "/znpcmenu951"]
format slot 5 of player with diamond sword named "&9Bu Alanları Değiştirebilirsin." with lore "Bilmiyorsanız Forumdan Ulaşın(muho977)..." to close then run [execute player command "/znpcmenu951"]
format slot 6 of player with 160:15 named "&9" to close then run [execute player command "/znpcmenu951"]
format slot 7 of player with 160:15 named "&9" to close then run [execute player command "/znpcmenu951"]
format slot 8 of player with 160:15 named "&6" to close then run [execute player command "/znpcmenu951"]
stop
NOT; ALINTI DEĞİLDİR.