i set my gens to 500 but for sum reason is only changing the test gen's out put not the small gen. any idea how to fix?
Support for small/test generatorSuggestion
Thats because its the Electric small generator tweaker not the small petrol generator tweaker.
Now known as the "Test Generator"
Is there a way to make this also work for test generators? I also would love to know ecactly how to make this plugin only work for admins on my server. I read about the "oxide.grant" part, but I'm not sure how to use that. If you would be so kind as to give me an example that would be wonderful.
I actually have several plugins that I would only want admins to use. So could you please illuminate me on how to do that? Maybe a line I could add to the config file or something?
Thank you for your time.
I actually have several plugins that I would only want admins to use. So could you please illuminate me on how to do that? Maybe a line I could add to the config file or something?
Thank you for your time.
Well I would also like it to work for Test Generators as well. I'd also like it to work only for admins. Can you add Test Generators to this plugin and an easy way to make it only work for admins?
Like something simple in the config file I can set to "true"? Or maybe just a whole new plugin that works for this. I would make it myself however I'm totally new to these types of files and don't know the commands or syntax.
I opened the .cs with notepad++ and found this line...
If I change it to <TestGenerator> at the end, would that work or is it called something else?
Like something simple in the config file I can set to "true"? Or maybe just a whole new plugin that works for this. I would make it myself however I'm totally new to these types of files and don't know the commands or syntax.
I opened the .cs with notepad++ and found this line...
foreach (var generator in UnityEngine.Object.FindObjectsOfType<ElectricGenerator>
If I change it to <TestGenerator> at the end, would that work or is it called something else?
Zagan6
Well I would also like it to work for Test Generators as well. I'd also like it to work only for admins. Can you add Test Generators to this plugin and an easy way to make it only work for admins?
Like something simple in the config file I can set to "true"? Or maybe just a whole new plugin that works for this. I would make it myself however I'm totally new to these types of files and don't know the commands or syntax.
I opened the .cs with notepad++ and found this line...foreach (var generator in UnityEngine.Object.FindObjectsOfType<ElectricGenerator>
If I change it to <TestGenerator> at the end, would that work or is it called something else?
IF you read the first post it will inform you that it IS working for the test generator (not the petrol one)
and it is always a bad idea to change the cs file unless you know what you are doing.
{
"Electric Generator": {
"Setting for all World": "true"
},
"Electric Generator Attributes": {
"Amount of electricity (100 by default)": "500"
}
Well I hate to disagree, however it wasn't working the way it was written. But I edited the .cs file and now it does. Perhaps they changed the name in the game with a recent update or something. I'm not afraid to edit things. If it screws up I always leave myself a way to quicly fix it. I'm not new to making mods for games. I know enough to save my work. But thanks for your concern.
I still would like to know the part that would make this an admin only plugin. If someone would be kind enouigh to clue me in I would appreciate it.
This is for my own server so I'd like to set up some mods as admin only.
I still would like to know the part that would make this an admin only plugin. If someone would be kind enouigh to clue me in I would appreciate it.
This is for my own server so I'd like to set up some mods as admin only.
... the big Test Generator in Picture ?