TestGenerator Modifier

TestGenerator
Turn Rust’s electric generators into configurable power sources. Authorized players can place a generator, switch it on, and supply fuel through an attached storage container.
Features
- Configurable fuels: Choose which items power the generator, how much power each adds, and how much is consumed per tick.
- Radioactive water support: Fuel it with radioactive water in a bottle or jug. The water is consumed while the container remains for refilling.
- Combined power: Multiple configured fuel types can contribute to the generator’s output.
- Built-in controls: Adds a switch and fuel storage to the generator.
- Flexible setup: Adjust fuel slots, consumption interval, and the positions of the switch and storage. A fuel-free mode is also available.
- Restart support: Tracks modified generators and restores their controls when the server starts.
Permission: testgenerator.allow
Default radioactive-water setting: 100 ml per fuel tick adds 100 power. Fuel values are configurable.
[ATTACH type="full" alt="generator.jpg"]380
{
"Settings": {
"PermissionUse": "testgenerator.allow",
"RequireFule": true,
"FuelSlots": 6,
"FuelTickSeconds": 10
},
"Item Locations": {
"StashLoc": {
"x": -0.2,
"y": 0.4,
"z": 0.4
},
"StashRot": {
"x": 0.0,
"y": -90.0,
"z": 0.0
},
"SwitchLoc": {
"x": -0.37,
"y": -0.55,
"z": 0.0
},
"SwitchRot": {
"x": 0.0,
"y": -90.0,
"z": 0.0
}
},
"Fuel Settings": {
"FuelItems": {
"-946369541": {
"AddPower": 150.0,
"FuelAmountPerTick": 2
},
"-321733511": {
"AddPower": 50.0,
"FuelAmountPerTick": 2
}
}
},
"Version": {
"Major": 1,
"Minor": 0,
"Patch": 3
}
}
TestGenerator.json
{
"Settings": {
"Permission needed when placement": "testgenerator.allow",
"Use Fule Item": true,
"Total fule slots": 6,
"Time in seconds to use fule": 10
},
"Fuel Settings": {
"FuelItems": {
"-946369541": {
"Required Item Skin ID": 0,
"Power to add if has this item": 150.0,
"How mutch of this item to use when time in seconds to use fule": 2
},
"-321733511": {
"Required Item Skin ID": 0,
"Power to add if has this item": 50.0,
"How mutch of this item to use when time in seconds to use fule": 2
},
"1811780502": {
"Required Item Skin ID": 0,
"Power to add if has this item": 100.0,
"How mutch of this item to use when time in seconds to use fule": 100
}
}
},
"Item Locations": {
"StashLoc": {
"x": -0.2,
"y": 0.4,
"z": 0.4
},
"StashRot": {
"x": 0.0,
"y": -90.0,
"z": 0.0
},
"SwitchLoc": {
"x": -0.37,
"y": -0.55,
"z": 0.0
},
"SwitchRot": {
"x": 0.0,
"y": -90.0,
"z": 0.0
}
},
"Version": {
"Major": 1,
"Minor": 2,
"Patch": 2
}
}

Trusted hosting partner. Affordable game servers with solid support and panels.
Visit site ↗