Project Zomboid

Project Zomboid

310 ratings
Water and power controls
2
3
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Mods: Build 41
File Size
Posted
Updated
51.732 KB
15 Apr, 2022 @ 4:51am
26 Dec, 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'.

© 2022+ bikinihorst

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

Workshop ID: 2794640100
Mod ID: WaterPowerCmd
Popular Discussions View All (3)
2
14 May @ 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
78 Comments
Gurren Mk VII 5 Sep @ 10:23pm 
It's not working in normal single player (not sandbox) not even with bikinitools
Raadicalboss 29 Jun @ 2:51pm 
cant get it to work any tips (mp server)
Ztoxicman 9 Jun @ 7:16pm 
Hey had this packaged in a collection I was using and I accidentally turned the power off I turned it back on but now I'm worried my original settings for power have been set to never turn off. so my question is if I turn the power back on will it stay on for the same amount of time as dictated for settings or is it forever?
MiX74P3 28 May @ 6:00pm 
this does not work through server restarts? doesnt for me anyway
rbalsek 19 Apr @ 5:19pm 
하피하피하피~ 행복해요~
Salvo [Nyx] 16 Mar @ 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.
Salvo [Nyx] 13 Mar @ 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 11 Mar @ 1:47pm 
I literally just want a timer indicator of how long till water/electricity goes off.... Surprised n one has made that.
Jefuty 1 Dec, 2023 @ 1:41pm 
For those that are getting unknown command, I set the mod load order to the very top.
Black Lung Alcoholic 21 Nov, 2023 @ 9:44am 
Same issue