Project Zomboid

Project Zomboid

Pillow's Random Spawns [B42]
 This topic has been pinned, so it's probably important
pillow  [developer] 15 Dec, 2021 @ 4:04am
How to add random spawns to your server
On servertest.ini modify Mods and Map lines as follows. It's alright to have other mods in the list. For many spawns you can refer to the mod names on the workshop page and/or pick and choose from what I have in the example.

Mods=ManySpawns;SimplePlayablePianos4150;ManySpawnsAll;ManySpawnsLocation;ManySpawnsLouisvilleByNeighborhood;ManySpawnsLouisville;ManySpawnsVariations;ManySpawnsMP
Map=Knox County Car Wrecks;Knox County Hitchhikers;Knox County Patients;Knox County Prisoners;Knox County Schools;Knox County Visitors;Many Spawns Louisville;Audubon;Old Louisville;Dixie;Ekron;Industrial Zone;March Ridge;McCoy Logging;Muldraugh;Riveside;Rosewood;Valley Station;West Point;Many Spawns All;Many Spawns Casual;Many Spawns root;Muldraugh, KY;Pillows Many Spawns - By Location;Many Spawns All Reduced;Many Spawns Knox Reduced

Make sure WorkShopItems has 1911132112 in the list like this example
WorkshopItems=1911132112;2465017864

Adjust your server_test_spawnregions.lua as desired. Here's a list of nearly all maps and how they would look as spawn regions.

{ name = "Muldraugh, KY", file = "media/maps/Muldraugh, KY/spawnpoints.lua" },
{ name = "Riverside, KY", file = "media/maps/Riverside, KY/spawnpoints.lua" },
{ name = "Rosewood, KY", file = "media/maps/Rosewood, KY/spawnpoints.lua" },
{ name = "West Point, KY", file = "media/maps/West Point, KY/spawnpoints.lua" },
{ name = "Many Spawns Casual", file = "media/maps/Many Spawns Casual/spawnpoints.lua" },
{ name = "Many Spawns root", file = "media/maps/Many Spawns root/spawnpoints.lua" },
{ name = "Many Spawns All", file = "media/maps/Many Spawns All/spawnpoints.lua" },
{ name = "Dixie", file = "media/maps/Dixie/spawnpoints.lua" },
{ name = "Ekron", file = "media/maps/Ekron/spawnpoints.lua" },
{ name = "Industrial Zone", file = "media/maps/Industrial Zone/spawnpoints.lua" },
{ name = "March Ridge", file = "media/maps/March Ridge/spawnpoints.lua" },
{ name = "McCoy Logging", file = "media/maps/McCoy Logging/spawnpoints.lua" },
{ name = "Muldraugh", file = "media/maps/Muldraugh/spawnpoints.lua" },
{ name = "Riveside", file = "media/maps/Riveside/spawnpoints.lua" },
{ name = "Rosewood", file = "media/maps/Rosewood/spawnpoints.lua" },
{ name = "Valley Station", file = "media/maps/Valley Station/spawnpoints.lua" },
{ name = "West Point", file = "media/maps/West Point/spawnpoints.lua" },
{ name = "Audubon", file = "media/maps/Audubon/spawnpoints.lua" },
{ name = "Old Louisville", file = "media/maps/Old Louisville/spawnpoints.lua" },
{ name = "Many Spawns Louisville", file = "media/maps/Many Spawns Louisville/spawnpoints.lua" },
{ name = "Knox County Car Wrecks", file = "media/maps/Knox County Car Wrecks/spawnpoints.lua" },
{ name = "Knox County Hitchhikers", file = "media/maps/Knox County Hitchhikers/spawnpoints.lua" },
{ name = "Knox County Patients", file = "media/maps/Knox County Patients/spawnpoints.lua" },
{ name = "Knox County Prisoners", file = "media/maps/Knox County Prisoners/spawnpoints.lua" },
{ name = "Knox County Schools", file = "media/maps/Knox County Schools/spawnpoints.lua" },
{ name = "Knox County Visitors", file = "media/maps/Knox County Visitors/spawnpoints.lua" },
{ name = "Many Spawns All Reduced", file = "media/maps/Many Spawns All Reduced/spawnpoints.lua" },
{ name = "Many Spawns Knox Reduced", file = "media/maps/Many Spawns Knox Reduced/spawnpoints.lua" },

Ideally given the constraint of safehouses not being able to be created in a building that has a spawn point you should use these settings:

Mods=SimplePlayablePianos4150;ManySpawnsMP
Map=Muldraugh, KY;Many Spawns All Reduced;Many Spawns Knox Reduced

and these spawn regions:

{ name = "Many Spawns All Reduced", file = "media/maps/Many Spawns All Reduced/spawnpoints.lua" },
{ name = "Many Spawns Knox Reduced", file = "media/maps/Many Spawns Knox Reduced/spawnpoints.lua" },

Last Notes : do not remove Muldraugh, KY from the map list. This is the way PZ looks for the actual map as well.
Last edited by pillow; 15 Dec, 2021 @ 5:14pm
< >
Showing 1-15 of 17 comments
John Walker 28 Dec, 2021 @ 8:35am 
Does not work for me. When i do this and try to join the server it tells me the Spawnregion.lua does not match with the server.
pillow  [developer] 28 Dec, 2021 @ 10:18am 
These files should be modified on the server not locally and should not have any impact on clients joining. The mod and workshop lines tell the server what workshop item to download, and then which mod(s) within the workshop item to enable and sync with clients. If you’re hosting from pz game these should be defined automatically for you.
John Walker 29 Dec, 2021 @ 5:12am 
I modified the files on the server not locally and i got the following message; File doesn't match the one on the server: media/lua/shared/SpawnRegions.lua
Don 22 Apr, 2022 @ 3:35am 
I need help installing this on a dedicated server. I don't want to make mistakes and ruin the save.

I only have the default map, how should my files look like? And what mods should I choose to add the the mod list, if I want all the spawns, except the ones inside prisons?
pillow  [developer] 26 Apr, 2022 @ 6:28am 
Hi Don, just make sure the segment with prisons it it is removed from the spawn regions.The best option though for just random spawns is the last bit of doing the two reduced settings, and having those in your spawn regions file as well.
Don 27 Apr, 2022 @ 1:08am 
Can I add you on steam?
Noah? 20 Oct, 2022 @ 9:06pm 
Hey i'm having a lot of difficulty getting this to appear on my server spawn options, nothing seems to work even though spawn regions and mods and maps are enabled in the server settings thing.
Esce.Diablo 17 Jan, 2023 @ 12:48am 
sadly is too much to learn, i will not be able to add this to my server :(, thanks i will try later single player !:)
exquisitedark 17 Jan, 2023 @ 2:15am 
what do i do to add louisville along the reduced spawns?
Pingu 16 May, 2023 @ 12:07pm 
Hey OP, Thankyou for such an amazing mod - I use this on single player all the time!
It just outright doesn't seem to work on Multiplayer dedicated servers.
Was wondering if could have most basic of basic baby instructions because I think maybe there is something me and the other guys are missing maybe?
pillow  [developer] 16 May, 2023 @ 1:25pm 
Try reviewing the multiplayer server resources file I publish on github for this. https://github.com/crispiboi/Pillow-s-Many-Spawns-Pack/releases It should be plug-and-play but it has directions on further customization.
SonicSymbiot 5 Sep, 2024 @ 2:22am 
Mate your a genius! This is fantastic!
SonicSymbiot 5 Sep, 2024 @ 2:23am 
Happy to help people install the mod per Pillow's instructions, if anyone who needs it
Winston 21 Oct, 2024 @ 1:31am 
Is there a 'Louisville Reduced' for servers? I got the other MP reduced mods working but the specific one for Louisville I couldn't figure out.
pillow  [developer] 24 Oct, 2024 @ 3:37am 
There is not a specific MP version for Louisville. There is Knox Reduced which is everything south of Louisville, and All Reduce which includes Louisville. You could probably make a specific one for Louisville by removing half or 3/4 of the spawns on that file.The spawnpoints files do not matter for the MP clients, just the server itself so you don't have to distribute the changes.
< >
Showing 1-15 of 17 comments
Per page: 1530 50