Project Zomboid

Project Zomboid

268 ratings
Water and power controls
2
3
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Mods: Build 41
File Size
Posted
Updated
51.732 KB
Apr 15, 2022 @ 4:51am
Dec 26, 2022 @ 9:59am
6 Change Notes ( view )

Subscribe to download
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'.

The only exception to the above is if you are a subscriber to the "Permission to modpack" tier on my Kofi[ko-fi.com]

© 2022-2023 bikinihorst

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

Workshop ID: 2794640100
Mod ID: WaterPowerCmd
Popular Discussions View All (2)
1
Oct 1, 2022 @ 1:51am
Este no funciona
Infamous Butcher
0
Oct 16, 2023 @ 4:00pm
Useage of code
thom math
74 Comments
rbalsek Apr 19 @ 5:19pm 
하피하피하피~ 행복해요~
Dirty Nyx Mar 16 @ 10:52am 
Update: It's not doing the same thing in a different game. Might have been a mod order/conflict.

*Mod works as intended paired with bikinitools.
Dirty Nyx Mar 13 @ 5:57pm 
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.
ll62518475 Mar 11 @ 1:47pm 
I literally just want a timer indicator of how long till water/electricity goes off.... Surprised n one has made that.
AN-94 Dec 1, 2023 @ 1:41pm 
For those that are getting unknown command, I set the mod load order to the very top.
Black Lung Alcoholic Nov 21, 2023 @ 9:44am 
Same issue
Nocturna Alorn Oct 18, 2023 @ 7:09am 
I am getting the same issue as SirEdderton.
purpsdownfall3337 Sep 23, 2023 @ 11:06am 
i tried adding water or power and it says unknown command
El Chapo fr76 Sep 2, 2023 @ 4:41pm 
:KneelingBow:
谁是我而我又是谁 Aug 17, 2023 @ 1:12am 
Hi, about a mouth ago I had a issue and just for now I test and guess that's because this mod.
The issue is things in fridge go bad very quick when the refrigerator efficiency is set to the highest, changing efficiency will make it slower but still higher than normal.
By the testing, I think the reason of this issue is using this mod to turn the power on after the power has been turn down natural.
I have test with only this mod, mod manager and a mod to see food expiry