Good morning/afternoon/evening, I will tell you that I have been a little busy and I have not been able to take care of the things you have asked me to add, so little by little I will do them trying to ration my time, this update came because it was the easiest thing I had to do. This time I bring you placeholders, a new yaml file is made in which you will be able to store variables to later use them in the arguments of the dialogs.
dialogs:
npcs:
placeholder-example:
click: RIGHT
display-name: EXAMPLE
npc-id: 999
dialog:
- 'SEND: %npc_start_placeholder% %hello%' - 'SEND: %npc_start_placeholder% this is a example from the placeholders.' - 'SEND: %npc_start_placeholder% You can add and use it on methods! (only works in arguments, no in the method name)'
I have added a new method, this is to give position effects to the player.
Code (Text):
EFFECT: Effect-name,seconds,amplifier
example:
Code (Text):
EFFECT: BLINDNESS,60,2
In the name you must use the name of the code position, here you have the whole detailed list:
click here
I have fixed some minor bugs, remember if you have problems with the plugin feel free to let me know in the plugin discussion!