Easy NPC

Easy NPC

2M Downloads

FTBQuests Integration, Branching DIalogue, Conditional Dialogue, Player Command Issues

TheGrandGuardian opened this issue ยท 1 comments

commented

Hi!
Starting with the FTBQuests integration: I essentially need a /ftbquests change_progress @s complete UIDexample command to be usuable with NPCS. The issue I'm having is that I can activate it as a OP, but whenever another player in my server tries it, nothing happens. I tried the Debug and the Execute as Player options but nothing has worked.
image

Also, as a feature: For FTBQuests it would excellent to have a UI giving an option to have a Quest Tick with EasyNPC, so that whenever someone interacts with an NPC they get a quest, or accepts it through a branching dialogue.
image

I believe another Issue mentioned branching dialogue, so I won't say much about that, although conditional dialogue would be great, like if you completed a quest or dialogue already a new dialogue tree will form.

Thank you for reading, if you have any more questions regarding the issue let me know!

commented

I can give you 2 advices.

  1. If execution fails those ways, you untick both boxes and instead do /execute as @p run <your_command>
    This will select the closest player to the NPC and execute command on that player.
  2. If you wanna add progression to dialogues and, in general, have more control over them, I recommend installing Sinytra Connector and Blabber mods. Connector just allows to run fabric mods on forge. Yes, it creates some overhead but if you don't use too many fabric mods, you'll be fine. Blabber is a mod that just adds custom dialogues. It can also execute commands and do different kinds of checks. To call blabber dialogue, you just set "on interaction" command on your npc. To store progression you can use a scoreboard, that will update upon completing certain quest. And then, in dialogue, you just need to check the value of that specific player. Done, you have progression in dialogues