Addition of Game-Specific Plugins #182
Replies: 4 comments
-
Dark wrote at Mar 25 2016 22:25:37 UTC: I have the same problem. I added a new plugin, however, when trying to use him receive the error message:
Is there already a way to solve this? Can it get around? |
Beta Was this translation helpful? Give feedback.
-
SirCoolness wrote at Mar 25 2016 22:25:37 UTC: you need to make sure the plugin has all files in proper locations in the scales demon and is properly specified in the pufferpanel plugin list. |
Beta Was this translation helpful? Give feedback.
-
Dark wrote at Mar 25 2016 22:25:37 UTC: Hmm, I add files config.json main.js to /srv/scales/lib/plugins/pluginname/ and /srv/scales/lib/scripts/install/pluginname.js following the example of on the plugin srcds. Somewhere else you need to register the plug? How to check if it is properly loaded? Latest logs:
|
Beta Was this translation helpful? Give feedback.
-
SirCoolness wrote at Mar 25 2016 22:25:37 UTC: nevermind, it seems its actually to actually be trying to pull it from the docker repository. it seems you need to have a plugin there under puffer panel for it to download here. thats just my analisis of this error hopefully puffrfish can give a better explaination |
Beta Was this translation helpful? Give feedback.
-
nicb19 wrote at Mar 25 2016 22:25:37 UTC:
I'm not sure if this has been requested before but I'm trying to add game-specific plugins. For instance, instead of just having a plugin for Minecraft or SRCDS, I want to create specific plugins for ForgeMod, CS:GO and Garry's Mod.
This would allow me to add startup variables which are specific to that game with default values, for example for CS:GO I could have the startup command pre-populated with all the variables I want, making it far easier to add new servers, e.g.
New Server Creation
New Plugin
.
There's a "Manage Plugins" option in PufferPanel already which allows the creation of new plugins and does exactly what I need. The only problem I have is that when I try to create a new server using one of my custom plugins, its tries to create the Docker from "pufferpanel/<plugin_name>". Since I can't add a custom repository under the pufferpanel user, could you add a feature to allow custom Docker Hubs. I believe "pufferpanel/<plugin_name>" is hard-coded so I think just adding a field for a custom docker user would solve the problem.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions