BlowaXD / ChickenAPI

OpenSource Nostale Private Server Emulator API, implemented by SaltyEmu
https://blowaxd.github.io/ChickenAPI/
GNU General Public License v3.0
41 stars 7 forks source link

Review : Plugin System #70

Closed BlowaXD closed 6 years ago

BlowaXD commented 6 years ago

Plugin System has to be reviewed

Plugins has two types of loading : PreContainerBuild PostContainerBuild

There should be specific plugins exceptions to handle correctly depending on the exception PluginLoadException : Thrown if there was an error during plugin load PluginBadConfigException : thrown if the plugin has a bad configuration PluginIOAccessException : thrown if the plugin couldn't access to its data

PluginConfigDirectory : own the config & the data related to plugins, a subdirectory has to be created for each plugin PluginConfigFile : own the plugin configuration