kharidiron / StarryPy

Plugin-driven Starbound proxy server built using Twisted.
Do What The F*ck You Want To Public License
10 stars 3 forks source link

Refactor Plugin Loading #45

Closed natemontgomery closed 9 years ago

natemontgomery commented 9 years ago

I took longer to get back to this then I thought I would. It probably has bugs with the plugin_manager plugin, but I wanted to open a PR to see if you are interested in these changes.

Explanation:

I attempted to clean up the process of loading plugins. This was mostly done by moving the 'auto_activate' property into it's own equivalent config setting called 'initial_plugins'. This let me delete some code further down the process and clean up some methods. The delta is positive but I think this has a lot to do with whitespace.

Let me know if this is something that you are interested in and I can bug test it more :)

natemontgomery commented 9 years ago

Made alternate PR to main repo for StarryPy