You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way the plugin handles reloads is definitely not suitable for the size of it. Some config options do not get reloaded at all, some sometimes and others get reloaded in a really inelegant method call hierarchy.
There should be a Reload-Event called if the Plugin is reloaded so that every class can listen for a reload and deal with it accordingly.
Implement MTReloadEvent (maybe look into similar Bukkit Events if available)
Rewrite classes like ModManager, Modifiers, LanguageManager, ConfigurationManager, Updater, ChatWriter, ...
Use different EventPriorities to have a better reload structure
Make the CommandManager reloadable
Plugin Start-up Behaviour:
Load Main-Config File
Init and load Configuration Manager
Init and load Language Manager
Init Mod Manager
Register other Listeners
Load Core Modifiers
Initiate Plugin Reload Event
The text was updated successfully, but these errors were encountered:
The way the plugin handles reloads is definitely not suitable for the size of it. Some config options do not get reloaded at all, some sometimes and others get reloaded in a really inelegant method call hierarchy.
There should be a Reload-Event called if the Plugin is reloaded so that every class can listen for a reload and deal with it accordingly.
Plugin Start-up Behaviour:
The text was updated successfully, but these errors were encountered: