CitizensDev / Citizens2

Citizens - the premier plugin and API for creating server-side NPCs in Minecraft.
https://citizensnpcs.co
Open Software License 3.0
600 stars 314 forks source link

/npc text delay per message #2242

Open Unkn0wnF1R3 opened 4 years ago

Unkn0wnF1R3 commented 4 years ago

Im not quite sure if this would class as a bug report or a feature request, so Ill just describe whats going on below.

The output of command /version on my server is: image

The output of command /version citizens on my server is: image

What im trying to do is make it so multiple entrys of NPC Text are displayed in order, with a delay, by only clicking the NPC once/walking into the close talk radius. Example: [Player Right Clicks NPC] [Entry 0] Hello, my name is Bob! [Delay of X seconds] [Entry 1] The Weather is great today! [Player Right Clicks NPC a second time] [Entry 2] Could you help me find my brother? [Delay of X seconds] [Entry 3] Last I heard, he was heading up the mountain on a Hike.

Currently when I try to do what i've intended, I have to repeatedly right click on the NPC if I want to display more than 1 Text entry.

Citizens Config: https://pastebin.com/2G5zTQw4 Server Log: https://pastebin.com/xy6R9Hgd

mcmonkey4eva commented 4 years ago

While this might be possible to add to Citizens at some point, I'm going to point out that you can currently do this via a simple Denizen script, as is demonstrated for example in this Denizen guide page https://guide.denizenscript.com/guides/put-it-together/kill-quest.html (that page shows a lot more than just that, but includes an example of a single click leading to multiple messages with a delay in between - other guide pages show the individual components, and in general if you learn Denizen you should start at the start, not that later page).