Project Zomboid

Project Zomboid

411 ratings
[B41] Water and power controls
4
2
2
2
2
2
18
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
51.732 KB
Apr 15, 2022 @ 4:51am
Dec 26, 2022 @ 9:59am
6 Change Notes ( view )

Subscribe to download
[B41] Water and power controls

Description
What is this?

A simple mod that allows turning water and power on and off again via chat commands or via context menu. This does not save the original values so if this is important to you, the obvious usage would be for after the water / power is already off.


How do I use this?

SINGLE PLAYER: use the context menu when right clicking anywhere in the world. If you are using bikinitools you will find Water and Power controls there.

MULTIPLAYER: You need to be admin to do this. Just enter this in the normal chat box or use the context menu entries and you're set.

/globalpower on|off /globalwater on|off


My self built house is not powered!

Yes. What the game considers "powered" only applies for pre-baked building definitions, meaning things that were there when the world was made are powered, not the rest and especially not player construction.


Is it safe to add / remove?

Yes, absolutely. I don't know how long water and power will stay on, but I don't think anybody is ever going to find out because it is a LONG time. In theory it should be infinite. The sandbox settings used will stay, so even after you remove the mod, the changes made here will stay too.


Credits

The original idea for how to turn on the power in a shut down world came from talks with TwentyFree.


Other stuff

If you like the mod and want to help me, please don't forget to rate it. Also please consider donating a coffee[ko-fi.com]. It would mean a lot to me.

[ko-fi.com]

Originally posted by author:
Do not copy, modify, redistribute, or repackage this mod without explicit permission from the creator. This includes on or off of steam, within another mod or modpack, or a different modified version. This item can be published on Steam only through an account with the name bikinihorst.

If no permission is received you may not alter the mod, and it must be treated as a mod that is 'On Lockdown'.

© 2022+ bikinihorst

-------------------------------------------

Workshop ID: 2794640100
Mod ID: WaterPowerCmd
Popular Discussions View All (3)
2
May 14, 2024 @ 9:00am
admin setting problem
alfox
1
Oct 1, 2022 @ 1:51am
Este no funciona
Infamous Butcher
0
Oct 16, 2023 @ 4:00pm
Useage of code
thom math
97 Comments
RedLink-kam Mar 14 @ 2:49pm 
@bikinihorst
I can't add you as a co-author because friend requests are not accepted on Steam.
bikinihorst  [author] Mar 13 @ 1:57am 
@RedLink-kam no, like it says on the description but I see you did it anyway already.
RedLink-kam Mar 4 @ 5:39pm 
Can I adapt this mod to version 42.x and upload it to the workshop?
SirPrimrose Feb 1 @ 8:05am 
For those of you looking for a solution in B42, you can change your sandbox settings so that ElecShutModifier and WaterShutModifier are really high numbers, and those utilities will stay on for that number of days. I did this in a server where the power and water had already shut off and they turned back on when I restarted.
Gelatinous Gyllenhaal Oct 11, 2025 @ 12:03pm 
Doesnt seem to work on an existing save. New game is fine but I cannot get it to work on my current save.
GeneralBadAss Sep 13, 2025 @ 6:59pm 
so i found a fix (aka turning water and power back on) for this you have to go into the game files and change them it is pretty easy i used chatgpt to tell me how to do it if that tells you how easy it is to do
GeneralBadAss Sep 13, 2025 @ 6:06pm 
please update to build 42 please!!!!
LilithEve Jun 4, 2025 @ 6:24am 
Did this and it worked beautifully! Thank you so much!! I deleted the "map_sand.bin" and adjusted the sandbox settings afterwards. (It also worked for other settings that weren't sticking after reboot.)

"for all those people who have issues with reboots and see mods responsible for that: there is a core bug in pz that does not properly save sandbox vars and freezes them in an older version. many servers have taken to remove the file "map_sand.bin" in the savegame when the server reboots to account for that."
drdan123456CZ May 14, 2025 @ 11:18am 
DUDE I CANNOT STRESS HOW THANKFUL I AM, IVE BEEN LOOKING FOR HOURS YESTERDAY, AND FINALLY CAME ACROSS THIS LOVE YOU BRODIE :8bitheart:
californya Apr 29, 2025 @ 8:06pm 
b42 PLEASE I BEG 🙏🏼😞