Cuberite Forum

Full Version: Auto detect plugins
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
While i was working on a plugin that detects plugins i stumbled upon a bug in the server that i send to xoft. he fixed the bug in R1415 but he asked maybe consider putting it in the source. And make it toggleable in the settings.ini to detect all the plugins.
what is everyone else his opinion about this?

Sorry xoft, i could not find the thread you meant Wink
You might want to describe exactly what change you want to doTongue
Well the idea is that it detects every plugin in the "Plugins" folder and put that into the settings.ini as Plugin="PluginName"
Plugins are already auto detected by the Core's webadmin
The idea was, instead of using a list of enabled plugins, to use a list of disabled plugins, thus if an admin downloads new plugin, it will be automatically enabled on the next reload.