SergiFerry / PlayerNPC

PlayerNPC API for Spigot 1.17+
https://www.spigotmc.org/resources/playernpc.93625/
26 stars 6 forks source link

Placeholder API support? #40

Closed TacWithGames closed 1 year ago

TacWithGames commented 1 year ago

Not an issue but I was wondering if there will ever be PAPI support for this, would be useful

SergiFerry commented 1 year ago

There's actually PAPI placeholders support.

On Tue, 1 Aug 2023 at 23:39, TacWithGames @.***> wrote:

Not an issue but I was wondering if there will ever be PAPI support for this, would be useful

— Reply to this email directly, view it on GitHub https://github.com/SergiFerry/PlayerNPC/issues/40, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVGYYCVNOQROGU45Z7G75U3XTFZRJANCNFSM6AAAAAA3ALQ4F4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

TacWithGames commented 1 year ago

If I were to use it to set a name, do I just set the placeholder as the name? Otherwise, how would I go about doing that?

SergiFerry commented 1 year ago

Set the PAPI placeholder %placeholder% on the NPC Text, you can also use PlayerNPC's own placeholders with {placeholder}

On Tue, 1 Aug 2023 at 23:44, TacWithGames @.***> wrote:

If I were to use it to set a name, do I just set the placeholder as the name? Otherwise, how would I go about doing that?

— Reply to this email directly, view it on GitHub https://github.com/SergiFerry/PlayerNPC/issues/40#issuecomment-1661141891, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVGYYCRBAAGRJGRL2TTLYILXTF2E3ANCNFSM6AAAAAA3ALQ4F4 . You are receiving this because you commented.Message ID: @.***>

TacWithGames commented 1 year ago

Thank you so much!