Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buypublic abstract class Addon extends Object implements LifecycleObject
| Modifier and Type | Class and Description |
|---|---|
class |
Addon.Unsafe |
| Constructor and Description |
|---|
Addon() |
| Modifier and Type | Method and Description |
|---|---|
File |
getDataFolder()
Gets the data folder for this addon, where it can store its configuration files.
|
String |
getName()
Gets the name of this addon.
|
abstract String |
getRequiredPluginVersion()
Gets the required plugin version for this addon to function properly.
|
InputStream |
getResource(String filename)
Retrieves a resource file inside the addon's JAR.
|
Addon.Unsafe |
unsafe() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, load, massInit, massLoad, massReload, massUnload, reload, unload
public Addon()
public Addon.Unsafe unsafe()
public abstract String getRequiredPluginVersion()
public File getDataFolder()
public String getName()
public InputStream getResource(String filename)
filename - the name of the resource file.
Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buy