#991: Add PluginManager#loadPlugins(File[])
By: MikChan <georgeendo0@gmail.com>
This commit is contained in:
@@ -89,6 +89,15 @@ public interface PluginManager {
|
||||
@NotNull
|
||||
public Plugin[] loadPlugins(@NotNull File directory);
|
||||
|
||||
/**
|
||||
* Loads the plugins in the list of the files
|
||||
*
|
||||
* @param files List of files containing plugins to load
|
||||
* @return A list of all plugins loaded
|
||||
*/
|
||||
@NotNull
|
||||
public Plugin[] loadPlugins(@NotNull File[] files);
|
||||
|
||||
/**
|
||||
* Disables all the loaded plugins
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user