Poll: Should I change the format?
You do not have permission to vote in this poll.
Yes, change it to one-line
75.00%
3 75.00%
No, don't change it, but implement the (relevant parts of the) API
25.00%
1 25.00%
No, don't touch it at all
0%
0 0%
Total 4 vote(s) 100%
* You voted for this item. [Show Results]

Change settings.ini plugins format?
#1
I'd like to propose a change in the settings.ini regarding the plugins. This change would make our ini file standards-conformant, and probably easier to manage, especially regarding the order of the plugins.

Instead of listing each plugin separately on a line, I'm proposing a single value, "Enabled", which will have a comma-separated list of enabled plugins. This way it will be clear as to the loading order, no INI editor could mess that up, and we already have comma-separated list parser anyway.

Also, as part of this change, it would be great to actually implement an API in cPluginManager to manipulate this list, something in the lines of:
- EnablePlugin("Name", Position)
- DisablePlugin("Name")
- MovePluginUp("Name", NumPositions)
- MovePluginDown("Name", NumPositions)
- MovePluginToTop("Name")
- MovePluginToBottom("Name")
- GetPluginPosition("Name")
- GetNumPlugins()
- GetPlugins()

How about that?
Reply
Thanks given by:


Messages In This Thread
Change settings.ini plugins format? - by xoft - 01-26-2013, 05:16 PM
RE: Change settings.ini plugins format? - by xoft - 01-26-2013, 06:33 PM



Users browsing this thread: 1 Guest(s)