CitizensDev / Citizens2

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

Players share NPC text chain #1990

Closed philip-ulrich closed 4 years ago

philip-ulrich commented 4 years ago

opening issue as requested by fullwall on discord:

- A detailed description of your issue or feature request Using /npc text. Turned off the eavesdrop feature, but now if two people are in range, they get separate pieces of the same convo.

Example: If there are 4 pieces of text (and random is OFF) then each player nearby gets delivered a separate piece at the same time:

Whereas P1 and P2 should both be getting 1,2,3,4.

Screenshot: https://imgur.com/a/wlaMOpM

So essentially, the npc seems to think they are the same person, and delivering from the same dialog tp both, on the same tick. Thus making it so that no player standing nearby, gets the whole text. They just get half.

- Link to server log & Citizens config (using e.g. pastebin.com): config.yml: https://pastebin.com/46JMiVYw saves.yml: https://pastebin.com/ixQerW6b server log: https://pastebin.com/HQHF5Vte

The output of command /version on my server is: (PLEASE FILL IN)

16:35:45 INFO: CMI: 8.6.16.3-> 8.6.16.4 16:35:45 INFO: Server version: Paper(234) 1.14.4-R0.1-SNAPSHOT 16:35:45 INFO: Vault version: 1.7.3-b${env.TRAVIS_BUILD_NUMBER}

The output of command /version citizens on my server is: (PLEASE FILL IN) [16:35:51 INFO]: =====[ Citizens v2.0.26-SNAPSHOT (build 1789) ]===== [16:35:51 INFO]: -- Author: fullwall [16:35:51 INFO]: -- Source Code: http://github.com/CitizensDev [16:35:51 INFO]: -- Website: http://www.citizensnpcs.co [16:35:51 INFO]: -- Report an issue: http://github.com/CitizensDev/Citizens2/issues

philip-ulrich commented 4 years ago

Sorry, dupe... github was giving errors on submission and I didn't see.