Electric generators cost money (or scrap) to provide power.
Supported Games

works with
- Economics3.*
Features
- Provides new features to the Test Generator item to make it a balanced useful item.
- Allows changing output power a generator produces in game.
- The cost per hour to run the generator scales to the amount of power outputted.
- The currency can either be scrap or economics balance (if installed).
Note: This plugin does not add a method of obtaining the generator. Server admins are responsible for deciding how they want to implement that.
Permissions
payforelectricity.use
-- Required to place generators with the new features.
Configuration
{
"Price per watt (hourly)": 0.1,
"Min power": 10.0,
"Max power": 1000.0,
"Power increments": 10.0,
"Use economics balance (requires plugin)": false
}
Localization
{
"days": "{0} days",
"hours": "{0} hrs",
"minutes": "{0} min",
"power": "power",
"no power": "NO POWER",
"cost": "Cost: {0}/hr",
"time left": "Time left: {0}",
"pay1": "1 Hour ({0})",
"pay24": "24 Hours ({0})",
"title": "ELECTRIC GENERATOR"
}
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.