public interface Plugin
Modifier and Type | Field and Description |
---|---|
static int[] |
ALL_CLIENT_VERSIONS
This constant defines an int array that allows
a plugin to work with any client version by default.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAuthor()
Get the authors of the plugin.
|
int |
getBuild()
Get the build number of the plugin.
|
int[] |
getClientVersions()
Get the array of client versions that the plugin can be used with.
|
java.lang.String |
getName()
Get the name of the plugin.
|
java.lang.String |
getNamespace()
Get the namespace that the plugin resides in.
|
void |
init(Sandbox sandbox)
Initialize the plugin.
|
static final int[] ALL_CLIENT_VERSIONS
java.lang.String getNamespace()
You should use a domain name that you control, and use of the OpenRune name along with the a name for the plugin is suggested.
An example namespace: org.allgofree.openrune.smithing
java.lang.String getName()
An example name would be "Smithing" (no quotes).
java.lang.String[] getAuthor()
int getBuild()
int[] getClientVersions()
void init(Sandbox sandbox)
sandbox
- The sandbox environment.