Jump to content

Npc Spawn 3.1.9

   (11 reviews)
Message added by KpucTaJl,

⚠️ IMPORTANT: Major Update!
Before installing, carefully read the update instructions included inside the archive.
The archive contains two separate guides: one for users who use BetterNpc, and one for those who do not.

⚠️ If you are using BetterNpc — do not update NpcSpawn separately.
Start the update with BetterNpc and follow its instruction — it already includes the NpcSpawn update steps.

1 Screenshot

  • 301.7k
  • 49.9k
  • 2.24 MB

This area is for discussion and questions. Please use the support area for reporting issues or getting help.

Recommended Comments



aimacak

Posted

31 minutes ago, ZA_Machete said:

 

I currently use Loot Table & Stacksize GUI for all my NPCs and containers. It’s simple, lightweight, and includes several features that already replace multiple plugins, which helps reduce overall server resource usage.

As Stark mentioned, it really shouldn’t be designed to depend only on Loot Manager. Server owners use different loot systems for a reason, and forcing a single dependency removes flexibility and can negatively impact existing setups.

At the very least, there should be:

An option to use Loot Manager if you want
or

A clear warning and transition period before making Loot Manager a hard dependency

That kind of notice gives server owners time to adjust, migrate, and properly configure Loot Manager without breaking existing loot systems or gameplay balance overnight.

Choice and advance notice go a long way in keeping servers stable and players happy.

Why can't you just specify the name of the loot table from your loot plugin in the Loot Manager settings block?

  • Like 1
ZA_Machete

Posted

3 minutes ago, aimacak said:

Why can't you just specify the name of the loot table from your loot plugin in the Loot Manager settings block?

Thats still an extra plugin to use for no reason, where i already have a plugin that handles my loot table why add an extra plugin for no reason just beacaus its depended for npc spawn to work 

  • Like 2
aimacak

Posted

16 hours ago, aimacak said:

try the console command ShowFailedNavMesh, it will point to the coordinate index within the specified preset.

 

I don't want to be some kind of defender of this update, I also didn't like something, but I always try to convey my dissatisfaction constructively, usually with a suggestion, I can't say that I read all the messages related to Loot Manager, but mostly I see only negative messages. like, "damn, they're forcing us," or "I've lost files," or "why should I switch to this plugin with loot," but I don't see any specific suggestions, for example: it's inconvenient for me to use this, for such a reason, I want it to be like this. I heard a very good phrase today, NpcSpawn is liked by everyone, right? Loot Manager is a kind of NpcSpawn, but for loot, it's just that at the moment, after so many years, given the number of release bugs, it shocked everyone. But we all wait for some fixes, adding our wishlist, wishes, suggestions, new plugins for years, but developers sit and fix the same thing in 30 plugins, instead of updating one Loot Manager. Let's try to make the plugin look perfect for our FUTURE use, and not grieve about what has already happened.
There is not a drop of anger and negativity in this message, I really ask you to change your view of this situation a little.

1 minute ago, ZA_Machete said:

Thats still an extra plugin to use for no reason, where i already have a plugin that handles my loot table why add an extra plugin for no reason just beacaus its depended for npc spawn to work 

At the end of this message, I gave examples of why this is necessary, previously you set up and entered your loot table into each data file BetterNpc and event, now you need to do the same, but in another place, by and large everything remained as it was, with some nuances. Can you point out something specific that you are currently uncomfortable with in Loot Manager, and how would you like to change it for yourself?

Rockefeller

Posted (edited)

Uninstalled NPCSpawn and all events dependent upon it.  Maybe Ill transition over to this and redo all my loot tables for events. MAYBE NOT.

Now my server spams this neverending:

NullReferenceException: Object reference not set to an instance of an object

Edited by Rockefeller
aimacak

Posted

54 minutes ago, Rockefeller said:

Uninstalled NPCSpawn and all events dependent upon it.  Maybe Ill transition over to this and redo all my loot tables for events. MAYBE NOT.

Now my server spams this neverending:

NullReferenceException: Object reference not set to an instance of an object

Hello, can you create a ticket in the Support section? Or better yet, add me to discord @shrpndfcsd

Mario

Posted

23 hours ago, athlonclub said:

in the BetterNpc instructions, step 2 is Step 2. Install the new version of NpcSpawn
1) Download the NpcSpawn plugin archive: 
2) Go to the .../en/data folder in the archive
3) Copy all files and folders from it into the .../oxide/data folder on the server
4) Go to the .../en/plugins folder in the archive
5) Copy the new NpcSpawn plugin file into the .../oxide/plugins folder on the server and I did not use UpdaterNpcSpawncs. I have now uploaded a new version and received this in the server console   Unloaded plugin NpcSpawn v3.1.1 by KpucTaJl
[NpcSpawn] Config update detected! Updating config values...
Could not initialize plugin 'NpcSpawn v3.1.2' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.NpcSpawn.TryUpdateWeapons () [0x0002e] in <aaa0f868a0b1422681da297208077a6f>:0 
  at Oxide.Plugins.NpcSpawn.UpdateConfigValues () [0x00010] in <aaa0f868a0b1422681da297208077a6f>:0 
  at Oxide.Plugins.NpcSpawn.LoadConfig () [0x00030] in <aaa0f868a0b1422681da297208077a6f>:0 
  at Oxide.Core.Plugins.Plugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0000f] in <15f61ddda771464d8246ebdce8ff4811>:0 
  at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <15f61ddda771464d8246ebdce8ff4811>:0 
  at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Plugins.RustPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0028e] in <8900b33aa9b14e398266dca633691187>:0 
  at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00027] in <15f61ddda771464d8246ebdce8ff4811>:0 
  at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00035] in <15f61ddda771464d8246ebdce8ff4811>:0 
Rolling back plugin to last good version: NpcSpawn
Failed to call hook 'OnServerInitialized' on plugin 'NpcSpawn v3.1.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Core.Plugins.Plugin.Subscribe (System.String hook) [0x00006] in <15f61ddda771464d8246ebdce8ff4811>:0 
  at Oxide.Plugins.NpcSpawn.OnServerInitialized () [0x00006] in <2753fc63c76e4b1a853306ffa95778e3>:0 
  at Oxide.Plugins.NpcSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01fca] in <2753fc63c76e4b1a853306ffa95778e3>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <15f61ddda771464d8246ebdce8ff4811>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0 
Calling 'OnServerInitialized' on 'NpcSpawn v3.1.1' took 1640ms
Loaded plugin NpcSpawn v3.1.1 by KpucTaJl

Did you by chance figure this out? Having same issue even with fresh install. 

aimacak

Posted (edited)

25 minutes ago, Mario said:

Did you by chance figure this out? Having same issue even with fresh install. 

With a clean install, everything is very simple, you need to remove NpcSpawn.json and BetterNpc.json from the folder oxide/config, you need to delete the folder BetterNpc from oxide/data/, you need to delete NpcSpawn.cs, BetterNpc.cs and if there is UpdaterNpcSpawn and UpdaterBetterNpc from the folder oxide/plugins/. Next, transfer the data folder from the two archives with the new plugin versions to the oxide/ folder, then transfer NpcSpawn.cs to the oxide/plugins/ folder, and after successful upload, transfer BetterNpc.cs to the same folder. If you have a backup of your BetterNpc settings, after deleting all the files from my list, you can upload your backup, old versions of plugins and start following the instructions in the archive of the new BetterNpc plugin. If you still have any questions, please create a ticket in the Support section or add me to the discord @shrpndfcsd

Edited by aimacak
Mario

Posted

1 minute ago, aimacak said:

With a clean install, everything is very simple, you need to remove NpcSpawn.json and BetterNpc.json from the folder oxide/config, you need to delete the folder BetterNpc from oxide/data/, you need to delete NpcSpawn.cs, BetterNpc.cs and if there is UpdaterNpcSpawn and UpdaterBetterNpc from the folder oxide/plugins/. Next, transfer the data folder from the two archives with the new plugin versions to the oxide/ folder, then transfer NpcSpawn.cs to the oxide/plugins/ folder, and after successful download, transfer BetterNpc.cs to the same folder. If you have a backup of your BetterNpc settings, after deleting all the files from my list, you can download your backup, old versions of plugins and start following the instructions in the archive of the new BetterNpc plugin. If you still have any questions, please create a ticket in the Support section or add me to the discord @shrpndfcsd

Yea I tried it again and it worked. I don't use BetterNpc. Looks like something happened to the config the first time I tried to use your update procedure. Config being messed up was causing the issue. What a hassle. I tried to update/convert it 20+ times and the entire time it was a broken config from the updater. I figured it was a conflict issue because reloading the event plugins makes chaosNPC toss errors. Should consider putting in the procedure to delete the config, because the updater only broke it for me. Anyways atleast its working again. Thanks.

  • Like 1
aimacak

Posted (edited)

5 minutes ago, Mario said:

Yea I tried it again and it worked. I don't use BetterNpc. Looks like something happened to the config the first time I tried to use your update procedure. Config being messed up was causing the issue. What a hassle. I tried to update/convert it 20+ times and the entire time it was a broken config from the updater. I figured it was a conflict issue because reloading the event plugins makes chaosNPC toss errors. Should consider putting in the procedure to delete the config, because the updater only broke it for me. Anyways atleast its working again. Thanks.

By and large, there is not much configuration in the NpcSpawn configuration, so you could simply delete all NpcSpawn configurations and upload the plugin without using UpdaterNpcSpawn 🙂

Edited by aimacak
scavanger_solo

Posted

UpdaterNpcSpawn was compiled successfully in 1340ms
Unloaded plugin UpdaterNpcSpawn v1.0.0 by KpucTaJl
Failed to call hook 'OnServerInitialized' on plugin 'UpdaterNpcSpawn v1.0.0' (IOException: Cannot create a file when that file already exists.)
  at System.IO.FileSystem.MoveDirectory (System.String sourceFullPath, System.String destFullPath) [0x00040] in <f98723dd4586469db5213ec59da723ca>:0 
  at System.IO.Directory.Move (System.String sourceDirName, System.String destDirName) [0x000ed] in <f98723dd4586469db5213ec59da723ca>:0 
  at Oxide.Plugins.UpdaterNpcSpawn.ReadAndRenameConfigOldNpcSpawn () [0x0091d] in <7967df19688c4749a861053ff0f8feed>:0 
  at Oxide.Plugins.UpdaterNpcSpawn.OnServerInitialized () [0x0000a] in <7967df19688c4749a861053ff0f8feed>:0 
  at Oxide.Plugins.UpdaterNpcSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00072] in <7967df19688c4749a861053ff0f8feed>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <15f61ddda771464d8246ebdce8ff4811>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0 
Loaded plugin UpdaterNpcSpawn v1.0.0 by KpucTaJl

RustRedford

Posted

How do you decrease the short range bursting that happens where the NPC's increase their fire rate?  I'm using NPCSpawn with BetterNPC and after the latest updates, the NPCs are behaving differently.  I adjusted the Short Range option in the preset to 0, but their behavior isn't changing.

 

scavanger_solo

Posted

22 minutes ago, RustRedford said:

How do you decrease the short range bursting that happens where the NPC's increase their fire rate?  I'm using NPCSpawn with BetterNPC and after the latest updates, the NPCs are behaving differently.  I adjusted the Short Range option in the preset to 0, but their behavior isn't changing.

 

Mine seem to be working correctly atm lol. You did update to the newest version on both? NPCSpawn has a few updates.

  • Like 2
aimacak

Posted

1 hour ago, RustRedford said:

How do you decrease the short range bursting that happens where the NPC's increase their fire rate?  I'm using NPCSpawn with BetterNPC and after the latest updates, the NPCs are behaving differently.  I adjusted the Short Range option in the preset to 0, but their behavior isn't changing.

 

This is just the correct behavior of NPCs, for example, default Scientist, it was just not taken into account earlier, you can set the parameter in the screenshot to 1, and NPCs will not increase the duration of shooting, as it was before the last update.

image.png

aimacak

Posted

2 hours ago, scavanger_solo said:

UpdaterNpcSpawn was compiled successfully in 1340ms
Unloaded plugin UpdaterNpcSpawn v1.0.0 by KpucTaJl
Failed to call hook 'OnServerInitialized' on plugin 'UpdaterNpcSpawn v1.0.0' (IOException: Cannot create a file when that file already exists.)
  at System.IO.FileSystem.MoveDirectory (System.String sourceFullPath, System.String destFullPath) [0x00040] in <f98723dd4586469db5213ec59da723ca>:0 
  at System.IO.Directory.Move (System.String sourceDirName, System.String destDirName) [0x000ed] in <f98723dd4586469db5213ec59da723ca>:0 
  at Oxide.Plugins.UpdaterNpcSpawn.ReadAndRenameConfigOldNpcSpawn () [0x0091d] in <7967df19688c4749a861053ff0f8feed>:0 
  at Oxide.Plugins.UpdaterNpcSpawn.OnServerInitialized () [0x0000a] in <7967df19688c4749a861053ff0f8feed>:0 
  at Oxide.Plugins.UpdaterNpcSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00072] in <7967df19688c4749a861053ff0f8feed>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <15f61ddda771464d8246ebdce8ff4811>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0 
Loaded plugin UpdaterNpcSpawn v1.0.0 by KpucTaJl

Hello, you made a mistake somewhere when updating plugins, so all the plugins that are related to NpcSpawn don't work for you. Create a ticket in the Support section or add me to the discord @shrpndfcsd

Rockefeller

Posted

On 2/9/2026 at 11:21 AM, aimacak said:

Hello, can you create a ticket in the Support section? Or better yet, add me to discord @shrpndfcsd

uninstalled

  • Like 2
badger

Posted

I was having this issue also and the problem was I didn't follow the instructions. I read the set by set instructions and realized I had missed some steps. I just updated without any issue.  

  • Like 1
  • Love 1
Kk

Posted

Unloaded plugin NpcSpawn v3.1.8 by KpucTaJl

(15:57:13) | Web request produced exception (Url: http://37.153.157.216:5000/Api/GetPluginVersions?pluginName=NpcSpawn) in 'NpcSpawn v3.1.8' plugin (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Core.Libraries.WebRequests+WebRequest.<WaitForResponse>b__44_0 (System.IAsyncResult res) [0x00000] in <15f61ddda771464d8246ebdce8ff4811>:0

(15:57:44) | 182.109.25.9:18144/76561199531590706/孟秋 disconnecting: disconnect

aimacak

Posted

1 hour ago, Kk said:

Unloaded plugin NpcSpawn v3.1.8 by KpucTaJl

(15:57:13) | Web request produced exception (Url: http://37.153.157.216:5000/Api/GetPluginVersions?pluginName=NpcSpawn) in 'NpcSpawn v3.1.8' plugin (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Core.Libraries.WebRequests+WebRequest.<WaitForResponse>b__44_0 (System.IAsyncResult res) [0x00000] in <15f61ddda771464d8246ebdce8ff4811>:0

(15:57:44) | 182.109.25.9:18144/76561199531590706/孟秋 disconnecting: disconnect

if I'm not mistaken, this is just an automatic check of the latest version of the plugin to notify the administrator, is the plugin working for you? are there any other errors, for example, after o.reload NpcSpawn?

Kk

Posted

No, I forgot to add the content in DATA, I just updated the CS file. The problem has been resolved. Thank you for your reply

  • Like 1
OvO

Posted

Hello, I just updated the latest version of Npc Spawn. Does this version involve the time when NPC corpses and loot packages disappear? I was testing on three servers at the same time and found that two servers with the latest version of Npc Spawn were experiencing a particularly fast disappearance of NPC loot packages. I'm just not sure if it's related to Npc Spawn, so I'm here to inquire

aimacak

Posted

3 hours ago, OvO said:

Hello, I just updated the latest version of Npc Spawn. Does this version involve the time when NPC corpses and loot packages disappear? I was testing on three servers at the same time and found that two servers with the latest version of Npc Spawn were experiencing a particularly fast disappearance of NPC loot packages. I'm just not sure if it's related to Npc Spawn, so I'm here to inquire

NpcSpawn and BetterNpc have no effect on the time of disappearance of backpacks with loot, they either delete the corpse and the bag is created automatically, or they do not delete the corpse and everything happens depending on your server settings and plugins.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 20
  • Love 11

User Feedback

2.2m

Downloads

Total number of downloads.

10.3k

Customers

Total customers served.

149.1k

Files Sold

Total number of files sold.

3.2m

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.