Project Zomboid

Project Zomboid

[B41] Knox Event Expanded MP NPC mod [alpha v0.2.1]
 This topic has been pinned, so it's probably important
Snejk  [developer] Oct 8, 2024 @ 11:18am
Installation guide
This mod is still in very early stage of development. Do not use this on saves you care about. Preferably, start on a clean save when trying out the mod.

Guide for dedicated servers
The dedicated server will work on a mostly unmodified client. A deadlock workaround is recommended, but not required. See the Player guide for more information.

How to install
  1. Open your Project Zomboid Dedicated Server directory (In Steam, right-click on Project Zomboid Dedicated Server directory and select "Manage"->"Browse local files"
  2. Go to the mod directory: Steam\steamapps\workshop\content\108600\3335447777\mods\KnoxEventExpanded\media\java\classes
  3. NOTE: Default directory should be: C:\Program Files (x86)\Steam\steamapps\workshop\content\108600\3335447777\mods\KnoxEventExpanded\media\java\classes
  4. Copy the "knox" and "zombie" directories to the java directory in your Project Zomboid Dedicated Server directory (Default: C:\Program Files (x86)\Steam\steamapps\common\Project Zomboid Dedicated Server). If you are copying to the correct directory, it will ask you to replace files. Replace the files it is asking you to replace.
  5. Start the server

How to uninstall
  1. In Steam, right-click on Project Zomboid Dedicated Server and select "Properties"
  2. In the properties window, go to the "Installed Files" tab
  3. Press "Verify integrity of game files"
  4. Steam will now check all files and remove the fix by redownloading the modified files
  5. There will be a leftover directory called knox. If you wish, you can delete it, but leaving it will not cause any issues, since it will not be used anymore. If you are updating, this must be removed.

How to update
Since the mod is still very early in development, which classes exist and doesn't exist might change between updates. The best option is to uninstall the mod according to the instructions above (including removing the "knox" directory", followed by installing the mod again according to the first section of this page.

Installing No Mo Culling
The mod is compatible with No Mo Culling. The mods are installable in any order, since there are no overlapping class files.

Recommended server settings
For the mod to work well, please disable these anti-cheat options:
  1. Anti-Cheat type 2
  2. Anti-Cheat type 12
  3. Anti-Cheat type 21
  4. Anti-Cheat type 22
  5. Anti-Cheat type 23
  6. Anti-Cheat type 24
On top of this, it is also recommended to keep PvP Safety On, since npcs are PvP targetable. It is also recommended to turn on PVPMeleeWhileHitReaction, and turn down PVPMeleeDamageModifier and PVPFirearmDamageModifier. Injury generation is done client-side, and the npcs are still a bit overpowered, so making this value high will make them hit very, very hard. This can also be compensated for by increasing the Sandbox Options for Damage multiplier specific for npcs under "Knox Event Expanded General"

If you have a dedicated PC to host the server on, 1000 npcs (default) should work well. If you are facing performance issues, you can turn down the total number of npcs that are generated upon starting the server in the Sandbox Options under "Knox Event Expanded General".

For a full list of known incompatible mods, please see the Mod Compatibility thread.

If you run into any issues installing and making it work, feel free to ask questions here.
Last edited by Snejk; Jan 5 @ 1:05am
< >
Showing 1-15 of 36 comments
Cieten Oct 12, 2024 @ 4:39pm 
so for a rented server one need to place the knox and zombie folder inside the java folder inside "server files" folder
Snejk  [developer] Oct 12, 2024 @ 8:19pm 
@Cieten That's right.
󠀡 Oct 18, 2024 @ 5:59am 
What about the regular servers? Through the “host” button in the game.
Snejk  [developer] Oct 18, 2024 @ 2:45pm 
It is on my list of things to implement, and I have heard from one player that this isn't working. It will however probably be last in line to be added. My approach is to figure out how to do both MP and SP individually before approaching client-hosted/Co-op, since it's essentially putting SP and MP together, so it'd make sense to figure both of them out separately before trying to put them together.
Will Nov 6, 2024 @ 9:31pm 
Originally posted by Snejk:
It is on my list of things to implement, and I have heard from one player that this isn't working.
Now it is working. The fact is that I was confused by the two instrucions for the MP and SP versions. At the same time, in fact, the installation was the same.
Snejk  [developer] Nov 7, 2024 @ 1:17am 
@Will Yes, the installation is the same i.e. they use the same classes, but the directories are different, since they are installed separately via Steam. This is the reason why I chose to have two separate instructions in the guide above.

Do you have any suggestion to improve the instructions to make it more clear?
󠀡 Nov 7, 2024 @ 5:56am 
Originally posted by Will:
Originally posted by Snejk:
It is on my list of things to implement, and I have heard from one player that this isn't working.
Now it is working.

So is it possible to install a mod for the game via the “host” tab after all? How can I do that? Using the single player method? (Even if yes, for some reason I don't have a Java folder in my PZ folder)
Snejk  [developer] Nov 7, 2024 @ 6:37am 
I am not 100% sure. Some people have reported having issues with this, but I have no logs to look at, so I don't know what to make of it.

I did try this for myself yesterday though, and it worked for me. To enable the mod in MP hosted via the client, you simply install it the same way you would for SP.
󠀡 Nov 7, 2024 @ 6:42am 
Originally posted by Snejk:
I am not 100% sure. Some people have reported having issues with this, but I have no logs to look at, so I don't know what to make of it.

I did try this for myself yesterday though, and it worked for me. To enable the mod in MP hosted via the client, you simply install it the same way you would for SP.

Yes, that's what I suspected, but as I said above, for some reason I don't have a Java folder in the Project Zomboid directory. There is only a javax folder, but I don't think that's what I need...
Snejk  [developer] Nov 7, 2024 @ 7:40am 
I'm sorry, I wrote the instructions above wrong. The SP client does not have a java directory. You simply drop it inside the ProjectZomboid directory (default: C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid) and if it asks you to replace a bunch of files, you have done it correctly.
Last edited by Snejk; Nov 7, 2024 @ 7:40am
󠀡 Nov 7, 2024 @ 9:55am 
Originally posted by Snejk:
I'm sorry, I wrote the instructions above wrong. The SP client does not have a java directory. You simply drop it inside the ProjectZomboid directory (default: C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid) and if it asks you to replace a bunch of files, you have done it correctly.

Are you sure it's enough to just move it to the root folder? Doing that and going into singleplayer I get errors every tick.
Going into KnoxEventExpanded\media\java\classes\zombie and KnoxEventExpanded\media\java\client\zombie I saw the same folders as in team\steamapps\common\ProjectZomboid\zombie. Maybe I should move them there and replace them?

But I still don't know where to put the KnoxEventExpanded\media\java\classes\knox folder.
I can't find the “knox” folder anywhere in the game files.
Snejk  [developer] Nov 7, 2024 @ 1:02pm 
The client directory is only for vanilla clients who wants to play multiplayer, so you can disregard that unless that is that you are trying to install.

For hosted MP via the client, you take both the knox and zombie directories in the classes directory and copy them into the ProjectZomboid directory. The knox direcory is my framework that I have written, so that directory will not exist if you are doing a fresh install.
emanmantan Nov 11, 2024 @ 2:43pm 
Originally posted by Snejk:
I'm sorry, I wrote the instructions above wrong. The SP client does not have a java directory. You simply drop it inside the ProjectZomboid directory (default: C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid) and if it asks you to replace a bunch of files, you have done it correctly.
does that mean we replace or skip when it tells us to?
Snejk  [developer] Nov 12, 2024 @ 12:40am 
Originally posted by emanmantan:
Originally posted by Snejk:
I'm sorry, I wrote the instructions above wrong. The SP client does not have a java directory. You simply drop it inside the ProjectZomboid directory (default: C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid) and if it asks you to replace a bunch of files, you have done it correctly.
does that mean we replace or skip when it tells us to?
Yes, replace the files it is asking you to replace. I added a clarification to this in the instructions.
Last edited by Snejk; Nov 12, 2024 @ 12:41am
plytz Nov 13, 2024 @ 2:06pm 
I installed it correctly! I was literally passing out while writing this yesterday because I took my sleeping medicine and I didn't go to sleep after. So far, this mod looks really cool. We all know the NPC update is going to come out in 10 years so this will do for now! Thank you.
< >
Showing 1-15 of 36 comments
Per page: 1530 50