Easy NPC

Easy NPC

2M Downloads

[Feature Request] Preset import over commands over data packs / resource packs.

DragonMaster14545 opened this issue ยท 8 comments

commented

I created an npc, pressed export custom an named it test.When using:
/easy_npc preset import test
I get this error:
An unexpected error occured

Also is it possible to show a specific dialogue only if the player that is talking to the npc has a specific tag? Without using data modify? If no is it possible to modify the data before the interface gets opened? Because as it is right now, the changes will only be done on the next opening of the gui?
And is it possible to execut two commands, for example when the player clicks yes, without a function?
Sorry for all the questions, I don't know where I should ask otherwise

commented

You can only import "world preset" over the command not "locale" stored presets.

All commands are executed on the server only, which means the server has no access to any "locale" stored presets.
Over the UI the presets are send to server, but this is something which is not possible with the "commands".

You could add preset additional as resource / data packs, but this means you need to load them first before you can use them. If this is an option I'm happy to create a better documentation for them.

There are currently some points on the road map like https://github.com/users/MarkusBordihn/projects/1 , but let me know if you are missing any specific.

commented

How would it work with a datapack? It is not possible to import them with a gui, because I cant tell a player, please import preset1.

commented

And is there any eta when those things will be added, because I have to plan what I add when. If not, no worrys.

commented

Also being able to use scoreboard in the dialogues would be great. Like in tellraw.

commented

Sorry I missed your update. Will provide you a documentation to import presets over resource packs / data packs with an example pack.

commented

Thanks

commented

Can we get a feature where NPC's can interact with you as well as other blocks? when i say Npc's interacting with you i mean like just running up to you and giving you quest