Turrets dont turn offSolved

Uploaded the plugin.... gave the turrets 10 power in the config.... reloaded it and gave the permission to myself...

tested it and the turrets fired up! but i had forgotten to give some turrets a gun... unloaded the plugin.. they stayed powered on... put the power to 0... they stayed powered on... deleted the plugin.. they stayed powered on... restarted the server.... stayed powered on ... wtf is wrong

This plugin never un-provides power, even when unloaded or reloaded with different configuration.

As for why the turrets stay on after server restart without power, not sure, I haven't tested that use case. In general, un-providing power is too complex to implement and I've gotten maybe 2 requests for it over the years, so I doubt I will add it.

If you need to give a turret a gun after it's powered, you can simply connect a 0-power wire to it to turn it off. It will turn back on when the wire is disconnected.

I should also note that this plugin isn't designed for powerless turrets. There are other more specialized plugins which handle that use case better (e.g., providing an on-off switch and/or commands).

Locked automatically