Package org.galliumpowered.plugin
Class PluginManager
java.lang.Object
org.galliumpowered.plugin.PluginManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlugin(PluginContainer plugin) FOR INTERNAL USE ONLY.Get the plugins on the servergetPluginById(String id) voidvoidremovePlugin(PluginContainer plugin) FOR INTERNAL USE ONLY.voidUnload all plugins on the server
-
Field Details
-
loadTestPlugin
public static boolean loadTestPlugin -
javaPluginLoader
-
-
Constructor Details
-
PluginManager
public PluginManager()
-
-
Method Details
-
getPluginById
-
getLoadedPlugins
Get the plugins on the server- Returns:
- ArrayList of plugins
-
loadPlugins
- Throws:
IOException
-
unloadPlugins
public void unloadPlugins()Unload all plugins on the server -
addPlugin
FOR INTERNAL USE ONLY. DO NOT CALL THIS METHOD. Adds a plugin to the ArrayList- Parameters:
plugin- ThePluginContainerinstance
-
removePlugin
FOR INTERNAL USE ONLY. DO NOT CALL THIS METHOD. Removes a plugin from the ArrayList- Parameters:
plugin- ThePluginContainerinstance
-