public interface SlimefunAddon
Plugin
that registered a SlimefunItem
.
It will also contain some utility methods such as getBugTrackerURL()
to provide some context when bugs arise.
It is recommended to implement this interface if you are developing
an Addon.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBugTrackerURL()
This method returns a link to the Bug Tracker of this
SlimefunAddon |
JavaPlugin |
getJavaPlugin()
This method returns the instance of
JavaPlugin that this
SlimefunAddon refers to. |
default java.util.logging.Logger |
getLogger()
This method returns the
Logger of this addon, it defaults to the Logger
of the JavaPlugin provided by getJavaPlugin() |
default java.lang.String |
getName()
This method returns the name of this addon, it defaults to the name
of the
JavaPlugin provided by getJavaPlugin() |
default java.lang.String |
getPluginVersion()
This method returns the version of this addon, it defaults to the version
of the
JavaPlugin provided by getJavaPlugin() |
JavaPlugin getJavaPlugin()
JavaPlugin
that this
SlimefunAddon
refers to.JavaPlugin
java.lang.String getBugTrackerURL()
SlimefunAddon
default java.lang.String getName()
JavaPlugin
provided by getJavaPlugin()
SlimefunAddon
default java.lang.String getPluginVersion()
JavaPlugin
provided by getJavaPlugin()
SlimefunAddon
default java.util.logging.Logger getLogger()
Logger
of this addon, it defaults to the Logger
of the JavaPlugin
provided by getJavaPlugin()
Logger
of this SlimefunAddon