Added functions for adding keywords to global script running ++ addGlobalObject(String,Object) ++ removeGlobalObject(String) ++ getEngineObjects()
External API for scripting and to allow mods/plugins to hook into CustomNPC+
Basically just download the api code and include it in your mod.
In your mod you can check if CustomNPC+ is installed with NpcAPI.IsAvailable()
NpcAPI.IsAvailable()
To use the events, register your events with NpcAPI.Instance().events().register(youreventclass)
NpcAPI.Instance().events().register(youreventclass)
JavaDocs: https://kamkeel.github.io/CustomNPC-Plus/