Class PaperBootstrap<P extends it.futurecraft.futureapi.Plugin>

java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
it.futurecraft.futureapi.PaperBootstrap<P>
Type Parameters:
P - The plugin type.
All Implemented Interfaces:
it.futurecraft.futureapi.Bootstrap<P>, org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor, org.bukkit.plugin.Plugin

public abstract class PaperBootstrap<P extends it.futurecraft.futureapi.Plugin> extends org.bukkit.plugin.java.JavaPlugin implements it.futurecraft.futureapi.Bootstrap<P>
The implementation for the PaperAPI of the plugin bootstrap.
Since:
0.1
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.slf4j.Logger
     
    final void
     
    final void
     

    Methods inherited from class org.bukkit.plugin.java.JavaPlugin

    getClassLoader, getCommand, getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, isEnabled, isNaggable, onCommand, 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 it.futurecraft.futureapi.Bootstrap

    plugin

    Methods inherited from interface org.bukkit.plugin.Plugin

    getComponentLogger, getLog4JLogger, getSLF4JLogger
  • Constructor Details

    • PaperBootstrap

      public PaperBootstrap()
  • Method Details

    • onEnable

      public final void onEnable()
      Specified by:
      onEnable in interface org.bukkit.plugin.Plugin
      Overrides:
      onEnable in class org.bukkit.plugin.java.JavaPlugin
    • onDisable

      public final void onDisable()
      Specified by:
      onDisable in interface org.bukkit.plugin.Plugin
      Overrides:
      onDisable in class org.bukkit.plugin.java.JavaPlugin
    • logger

      public org.slf4j.Logger logger()
      Specified by:
      logger in interface it.futurecraft.futureapi.Bootstrap<P extends it.futurecraft.futureapi.Plugin>