SergiFerry / PlayerNPC

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

Player being kicked from the server #32

Open joshroys opened 1 year ago

joshroys commented 1 year ago

Hi,

I have set up a personal NPC which creates when the player joins Every time I use the .show() function to make it show for a player, they get kicked from the server.

There are no errors in the console, and I have the debug mode turned on in the config. When I use the PlayerNPC command to show the NPC created by my plugin, the same thing happens where the player is kicked.

The server is running 1.19 Paper, latest 2023.4 version of the API and also ViaVersion/ViaBackwards.

Is there any way to find out why this is happening?

SergiFerry commented 1 year ago

Try enabling useBukkitScoreboards at config.yml

On Tue, 21 Mar 2023 at 19:43, joshroys @.***> wrote:

Hi,

I have set up a personal NPC which creates when the player joins Every time I use the .show() function to make it show for a player, they get kicked from the server.

There are no errors in the console, and I have the debug mode turned on in the config. When I use the PlayerNPC command to show the NPC created by my plugin, the same thing happens where the player is kicked.

The server is running 1.19 Paper, latest 2023.4 version of the API and also ViaVersion/ViaBackwards.

Is there any way to find out why this is happening?

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

joshroys commented 1 year ago

Thank you , this has fixed the issue