Class DescriptionPlugin
java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
xyz.janboerman.scalaloader.paper.plugin.description.DescriptionPlugin
- All Implemented Interfaces:
CommandExecutor,TabCompleter,TabExecutor,Plugin,IScalaPlugin
Special plugin instance to obtain your plugin's description. Internal use only.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedDescriptionPlugin(ScalaPluginDescription description) -
Method Summary
Modifier and TypeMethodDescriptionGet the configuration file of this ScalaPlugin.Get the version of Scala declared by this plugin.Get the Server's event bus.Get the prefix of this plugin, used for logging.Get the Scala Release cycle associated with this pluginGet the version of Scala used by this plugin.Methods inherited from class org.bukkit.plugin.java.JavaPlugin
getClassLoader, getCommand, getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getFile, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, isEnabled, isNaggable, onCommand, onDisable, onEnable, onLoad, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toStringMethods inherited from class org.bukkit.plugin.PluginBase
equals, getName, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.bukkit.command.CommandExecutor
onCommandMethods inherited from interface xyz.janboerman.scalaloader.compat.IScalaPlugin
classLoader, getName, pluginLoaderMethods inherited from interface org.bukkit.plugin.Plugin
getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getPluginLoader, getResource, getServer, isEnabled, isNaggable, onDisable, onEnable, onLoad, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setNaggableMethods inherited from interface org.bukkit.command.TabCompleter
onTabComplete
-
Constructor Details
-
DescriptionPlugin
-
DescriptionPlugin
protected DescriptionPlugin()
-
-
Method Details
-
getScalaDescription
-
getLogger
- Specified by:
getLoggerin interfacePlugin- Overrides:
getLoggerin classJavaPlugin
-
getConfigFile
Description copied from interface:IScalaPluginGet the configuration file of this ScalaPlugin.- Specified by:
getConfigFilein interfaceIScalaPlugin- Returns:
- the configuration file
-
getEventBus
Description copied from interface:IScalaPluginGet the Server's event bus.- Specified by:
getEventBusin interfaceIScalaPlugin- Returns:
- the event bus
-
getScalaVersion
Description copied from interface:IScalaPluginGet the version of Scala used by this plugin.- Specified by:
getScalaVersionin interfaceIScalaPlugin- Returns:
- the scala version
-
getScalaRelease
Description copied from interface:IScalaPluginGet the Scala Release cycle associated with this plugin- Specified by:
getScalaReleasein interfaceIScalaPlugin- Returns:
- the scala release
-
getDeclaredScalaVersion
Description copied from interface:IScalaPluginGet the version of Scala declared by this plugin.- Specified by:
getDeclaredScalaVersionin interfaceIScalaPlugin- Returns:
- the declared scala version
-
getPrefix
Description copied from interface:IScalaPluginGet the prefix of this plugin, used for logging.- Specified by:
getPrefixin interfaceIScalaPlugin- Returns:
- the prefix
-
descriptionClassLoader
-