Project Zomboid

Project Zomboid

361 ratings
[B41] Water and power controls
2
3
2
2
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
51.732 KB
15 Apr, 2022 @ 4:51am
26 Dec, 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
14 May, 2024 @ 9:00am
admin setting problem
alfox
1
1 Oct, 2022 @ 1:51am
Este no funciona
Infamous Butcher
0
16 Oct, 2023 @ 4:00pm
Useage of code
thom math
90 Comments
LilithEve 4 Jun @ 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 14 May @ 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 29 Apr @ 8:06pm 
b42 PLEASE I BEG 🙏🏼😞
Floxii 16 Apr @ 8:30am 
Update
Mr.Meska 23 Mar @ 8:20am 
Please can you update for build 42
fuqu 6 Mar @ 7:28am 
pretty please update for build 42, I don't play without this at all.
Learysmalls 2 Mar @ 5:08pm 
Would be so nice to have a B42 Version of this mod 😁✋
Valkerion™ 5 Jan @ 8:07pm 
Daily beg for B42 update
Cheaplove 27 Dec, 2024 @ 5:23am 
Is this fixed? "Works as intended paired with bikinitools. Only "problem" I've come across is once the power and water shut off and I reactivate them, they shut off again every time I restart my server. Easy fix to hop back on the admin character and switch them both off and on again.
"
Huellas 24 Dec, 2024 @ 9:59am 
update to b42 pls, its a way to fix plumbing not working