Jump to content

NPC not spawning / Better NPC conflict

Closed 1.3.6

Hi!

Thanks for this plugin, my players love it on my Vanilla server!

But on the mod it seems there is a conflict with BetterNpc plugin.

When BetterNpc is loaded, Airfield NPC don't spawn.
I tried everything, if I want this to work, I need to unload BetterNpc.

It's a very big problem because BetterNpc is a very popular plugin and I need it on my server.
Is a fix exist for that ?

Thank you very much,

Jack
 

Edited by Jack

Share this comment


Link to comment

Hey! You need to understand why betterNpc removes NPCs from the airfield. But I know how this plugin works, so I can’t help. I won’t close this support for now, I’ll try to solve this issue, but I don’t promise you anything

Share this comment


Link to comment

The owner of BetterNPC plugin tell me you can do that to fix the problem :



-------------------------- owner response ----------------------------

As far as with the AirfieldEvent plugin you would need to ask that the Developer use the API available in the plugin description to remove BetterNpc NPCs during the event, and spawn them back in when the event ends. I'll share that text here for reference.

API 
void DestroyController(string name) – It destroys the place of appearance NPC with the name {name} 

void CreateController(string name) – It creates the place of appearance NPC with the name {name} 

These APIs can be used with standard monuments, custom monuments (NPC locations) and roads. 
The name of this monument is in standard monuments {name}. 
It is the name of the file in the Custom and Road folder in custom monuments and roads

They can use this API to have the plugin compatible with BetterNpc and to fully avoid this issue, and to have everything working in unison properly.
---------------------------- owner response --------------------------

Share this comment


Link to comment

Ok, it's fixed.

I had to delete a custom NPC location file.

But an option to remove or not BetterNpc NPCs via API hooks could be nice!
In fact I have all the NPCs from Arifield, BetterNpc and your plugin, but it could be nice to have an option to keep only those from your plugin if desired.

So problem solved for me!

Sorry for the mess.
Thank you for your attention.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.1k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.