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
ConstructorsModifierConstructorDescriptionprotected
protected
DescriptionPlugin
(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, toString
Methods inherited from class org.bukkit.plugin.PluginBase
equals, getName, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.bukkit.command.CommandExecutor
onCommand
Methods inherited from interface xyz.janboerman.scalaloader.compat.IScalaPlugin
classLoader, getName, pluginLoader
Methods inherited from interface org.bukkit.plugin.Plugin
getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getPluginLoader, getResource, getServer, isEnabled, isNaggable, onDisable, onEnable, onLoad, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setNaggable
Methods inherited from interface org.bukkit.command.TabCompleter
onTabComplete
-
Constructor Details
-
DescriptionPlugin
-
DescriptionPlugin
protected DescriptionPlugin()
-
-
Method Details
-
getScalaDescription
-
getLogger
- Specified by:
getLogger
in interfacePlugin
- Overrides:
getLogger
in classJavaPlugin
-
getConfigFile
Description copied from interface:IScalaPlugin
Get the configuration file of this ScalaPlugin.- Specified by:
getConfigFile
in interfaceIScalaPlugin
- Returns:
- the configuration file
-
getEventBus
Description copied from interface:IScalaPlugin
Get the Server's event bus.- Specified by:
getEventBus
in interfaceIScalaPlugin
- Returns:
- the event bus
-
getScalaVersion
Description copied from interface:IScalaPlugin
Get the version of Scala used by this plugin.- Specified by:
getScalaVersion
in interfaceIScalaPlugin
- Returns:
- the scala version
-
getScalaRelease
Description copied from interface:IScalaPlugin
Get the Scala Release cycle associated with this plugin- Specified by:
getScalaRelease
in interfaceIScalaPlugin
- Returns:
- the scala release
-
getDeclaredScalaVersion
Description copied from interface:IScalaPlugin
Get the version of Scala declared by this plugin.- Specified by:
getDeclaredScalaVersion
in interfaceIScalaPlugin
- Returns:
- the declared scala version
-
getPrefix
Description copied from interface:IScalaPlugin
Get the prefix of this plugin, used for logging.- Specified by:
getPrefix
in interfaceIScalaPlugin
- Returns:
- the prefix
-
descriptionClassLoader
-