| net.gtaun.shoebill.resource.ResourceManager |
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract static ResourceManager |
get()
Get the Resource Manager
| ||||||||||
| abstract Gamemode |
getGamemode()
Gets the active Gamemode.
| ||||||||||
| abstract <T extends Gamemode> T |
getGamemode(Class<T> gamemodeClass)
Gets a Gamemode by its class.
| ||||||||||
| abstract <T extends Plugin> T |
getPlugin(Class<T> pluginClass)
Lets you get a Plugin by its class.
| ||||||||||
| abstract Collection<Plugin> |
getPlugins()
Gets a Collection of all loaded Plugins.
| ||||||||||
| abstract Plugin |
loadPlugin(File file)
Lets you load a Plugin by File.
| ||||||||||
| abstract Plugin |
loadPlugin(String filename)
Lets you load a Plugin by its filename.
| ||||||||||
| abstract void |
unloadPlugin(Plugin plugin)
Lets you unload a Plugin.
| ||||||||||
Gets a Gamemode by its class.
| gamemodeClass | Class instance of the Gamemode. |
|---|
Lets you get a Plugin by its class.
| pluginClass | Class instance of the Plugin. |
|---|
Gets a Collection of all loaded Plugins.
Lets you load a Plugin by File.
| file | The File to the Plugin |
|---|
Lets you load a Plugin by its filename.
| filename | The Plugin filename |
|---|
Lets you unload a Plugin.
| plugin | The Plugin which should be unloaded |
|---|