ElmasKatili
Taş Madencisi
- Mesajlar
- 96
- En iyi cevaplar
- 0
- Beğeniler
- 10
- Puanları
- 200
- Ruh hali
Merhabalar değerli forum üyeleri bu npc den fln görev alma nasıl yapılıyor tam olarak açıklayabilirmisiniz?
on rightclick on villager:
name of clicked entity is "GÖREVCİ":
cancel event
open chest with 1 rows named " <pink>&lGorev Listesi" to player
format slot 0 of player with 17 named "&6&lGörev 1" with lore "&ax128 odun bul ve bana getir. -> <red>Ödül: 1 Elmas" to close then run "odungoooreeev %player%"
command /odungoooreeev <player>:
trigger:
if {odun-gorev.%arg 1%} is not set:
set {odun-gorev.%arg 1%} to true
send "&a[Görevci] : &7128 Odun lazim git ve bul!" to arg 1
stop
if {odun-gorev.%arg 1%} is true:
if arg 1 has 128 log:
send "&a[Görevci] : &7Görev tamamdır" to arg 1
send "&cÖdüller:" to arg 1
send "&e- 1 Elmas" to arg 1
remove 128 log from arg 1
give 1 diamond to arg 1
delete {odun-gorev.%arg 1%}
else:
send "&a[Görevci] : &7Yeterli malzeme yok!" to arg 1
Burası plugin kısmı yalnızKod:on rightclick on villager: name of clicked entity is "GÖREVCİ": cancel event open chest with 1 rows named " <pink>&lGorev Listesi" to player format slot 0 of player with 17 named "&6&lGörev 1" with lore "&ax128 odun bul ve bana getir. -> <red>Ödül: 1 Elmas" to close then run "odungoooreeev %player%" command /odungoooreeev <player>: trigger: if {odun-gorev.%arg 1%} is not set: set {odun-gorev.%arg 1%} to true send "&a[Görevci] : &7128 Odun lazim git ve bul!" to arg 1 stop if {odun-gorev.%arg 1%} is true: if arg 1 has 128 log: send "&a[Görevci] : &7Görev tamamdır" to arg 1 send "&cÖdüller:" to arg 1 send "&e- 1 Elmas" to arg 1 remove 128 log from arg 1 give 1 diamond to arg 1 delete {odun-gorev.%arg 1%} else: send "&a[Görevci] : &7Yeterli malzeme yok!" to arg 1
peki nasıl vereceğim? Npclere?Burası plugin kısmı yalnız
@ElmasKatili "https://www.spigotmc.org/resources/quests.3711/" Bu eklentiyi "Citizens 2" eklentisiyle beraber kullanarak npcler ile görevler hazırlayabilirsin.
Pluginin sayfasını incelersen orada anlatımı mevcut. Önce kendin biraz kurcala eğer başarılı olamazsan özel mesaj atarsın neleri denediğini belirtirsin bende yardımcı olmaya çalışırım.Sağolun
peki nasıl vereceğim? Npclere?
Oopss. Dikkat etmemiştimBurası plugin kısmı yalnız
@ElmasKatili "https://www.spigotmc.org/resources/quests.3711/" Bu eklentiyi "Citizens 2" eklentisiyle beraber kullanarak npcler ile görevler hazırlayabilirsin.