Jump to content

Add small line of code for NPCKits API

Closed 2.6.4

KingSizeKevin
KingSizeKevin

Posted

When using the NPCKits plugin on this website, it overwrites raidable base npcs with whatever is customized in the NPCKits plugin.  There is an API to ignore NPCKits and prevent them from loading.  Could you add this?

object OnNpcKits(ulong userID) => MyNPCS.ContainsKey(userID) ? true : (object)null;

where MyNPCS is a placeholder for some record of npcs that is used for Raidable Bases

 

KingSizeKevin

Posted

It is the Heavy Scientist profile which I'm sure you are aware as it is probably the base npc that you use 

nivex

Posted

hi kevin, you can do this by enabling Block Npc Kits Plugin in the config

KingSizeKevin

Posted

oooh sweet I missed that!  Always 1 step ahead haha.  Thanks mate

  • Like 1
nivex

Posted

Changed Status from Pending to Closed

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.8k

Files Sold

Total number of files sold.

2.4m

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.