AIPTU / Smaccer

A PocketMine-MP plugin NPCs
MIT License
10 stars 4 forks source link

Smaccer NPC ID's keep changing on reload #12

Open iqcodez opened 2 weeks ago

iqcodez commented 2 weeks ago

Currently building a server with my friends and we wanted to use ur plugin because it works very well but we encountered a major issue which is that the ID's keep changing when restarting the server or reloading a world. I would like to ask you to add static ID's or to give the creator the ability to set the ids themselfes.

AIPTU commented 2 weeks ago

you can see the id using /smaccer id, no?

iqcodez commented 2 weeks ago

you can see the id using /smaccer id, no?

Yes I can but that doesnt solve our problem. We are trying to use the NPC's for commands but the commands wont work if the ID's change on every reload. Could you provide help?

AIPTU commented 2 weeks ago

What's the command for exactly?

AIPTU commented 2 weeks ago

This is actually a known issue as the id will keep getting recreated when the server starts. I'll try to address it in the next version.