Commits

MikChan authored and md_5 committed 729fc6a80bc
#991: Add PluginManager#loadPlugins(File[])
No tags

src/main/java/org/bukkit/plugin/PluginManager.java

Modified
82 82
83 83 /**
84 84 * Loads the plugins contained within the specified directory
85 85 *
86 86 * @param directory Directory to check for plugins
87 87 * @return A list of all plugins loaded
88 88 */
89 89 @NotNull
90 90 public Plugin[] loadPlugins(@NotNull File directory);
91 91
92 + /**
93 + * Loads the plugins in the list of the files
94 + *
95 + * @param files List of files containing plugins to load
96 + * @return A list of all plugins loaded
97 + */
98 + @NotNull
99 + public Plugin[] loadPlugins(@NotNull File[] files);
100 +
92 101 /**
93 102 * Disables all the loaded plugins
94 103 */
95 104 public void disablePlugins();
96 105
97 106 /**
98 107 * Disables and removes all plugins
99 108 */
100 109 public void clearPlugins();
101 110

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut