Project Zomboid

Project Zomboid

64 ratings
[B42] - FixNoPistolSpawn
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
26.773 KB
29 Apr @ 3:07am
29 Apr @ 3:12am
2 Change Notes ( view )

Subscribe to download
[B42] - FixNoPistolSpawn

Description
Please, rate the mod <3

🔫 [B42] - Fix No Pistol Spawn | Cleaner Game Start 🛠️

🧹 This simple mod automatically removes the developer testing items given at character creation in Build 42.
✅ It also fixes issues other mods have when dealing with these items — no crashes here!


🎯 What Happens in Vanilla B42?
By default, the current B42 test branch gives every new character:
  • 🔫 1x Base.Pistol (chambered, loaded)
  • 🔋 5x Base.9mmClip (full)
  • 📦 1x Base.Bullets9mmBox

This mod automatically detects and removes these dev items a few frames after character creation to ensure clean and realistic gameplay, ideal for survival servers!


⚙️ What This Mod Does
  • 🧽 Removes the pistol, clips, and ammo box added by `addTestSpawnPistol()`
  • 🛡️ Does NOT affect any other items (starter kits, bags, food, etc.)
  • 🚀 Lightweight and safe for Solo and Multiplayer
  • 🧩 Works cleanly via events — no overwrite of base files


❓ Why Use It?
  • 🛑 Prevents unfair loot advantage at the beginning
  • 🌍 Improves immersion for survival or roleplay runs
  • 🎮 Ensures consistency across custom scenarios

Note: Only developer test items are removed. All normal game mechanics stay untouched!


✅ Full Compatibility
  • ✔️ Build 42+
  • ✔️ All maps and professions
  • ✔️ All other mods (unless they overwrite dev spawn scripts directly)


🚫 What This Mod Does NOT Do
  • ❌ Modify professions
  • ❌ Change loot tables
  • ❌ Affect starter kits or sandbox settings

---

🆔 Workshop ID: 3472636109
🧪 Mod ID: FixNoPistolSpawn
9 Comments
Greaska  [author] 14 Aug @ 2:50am 
@Chrispy420 cause it is only client side code. So will be no problem with MP later on.
Chrispy420 | xiphosgaming.us 13 Aug @ 12:45pm 
Multiplayer? How
Saxus Maximus Onyxus 22 Jul @ 2:54am 
i normally place the pistol and ammo in a storage lacation then forget about it, very happy i found this
Greaska  [author] 8 May @ 11:49pm 
@Adler1968 WDYM ? It is written in the desc, in removes all test item devs put you in your beginning inventory, so the pistol is also removed.
R E X E (EDITS) 2 May @ 11:21pm 
thanks :)
Greaska  [author] 30 Apr @ 1:04am 
@Chenarussian I did this mod while inspecting all the others, this one fix all problem others have :)
BeljikPakiBlanc 29 Apr @ 11:43pm 
thank you for this mod now we not need trash cans hopefully no breaks like other starting pistol mod make sure to rate this mod
Greaska  [author] 29 Apr @ 8:40am 
@rckymtnrfc thank you for the feedback mate ! Do not hesitate to rate the mod, and check the other one I have created :) happy surviving !
rckymtnrfc 29 Apr @ 8:04am 
This is wonderful. The first thing I do when I start a new game is look for a trash can so I can delete the gun and accessories. And we all know in this game, you restart a lot. Thanks!