Class PaperPlugin

java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
me.dreamvoid.miraimc.bukkit.BukkitPlugin
me.dreamvoid.miraimc.paper.PaperPlugin
All Implemented Interfaces:
io.papermc.paper.plugin.lifecycle.event.LifecycleEventOwner, Platform, org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor, org.bukkit.plugin.Plugin

public class PaperPlugin extends me.dreamvoid.miraimc.bukkit.BukkitPlugin
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    me.dreamvoid.miraimc.internal.loader.LibraryLoader
     
     
     
    void
     
    void
     
    void
    runTaskLaterAsync(Runnable task, long delay)
     
    void
    runTaskTimerAsync(Runnable task, long delay, long period)
     

    Methods inherited from class me.dreamvoid.miraimc.bukkit.BukkitPlugin

    getAuthors, getAutoLogin, getMiraiEvent, getPlayerName, getPlayerUUID, getPluginConfig, getPluginLogger, getPluginName, getPluginVersion, onCommand, onDisable, onLoad, onTabComplete

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

    getClassLoader, getCommand, getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getFile, getLifecycleManager, getLogger, getPlugin, getPluginLoader, getPluginMeta, getProvidingPlugin, getResource, getServer, getTextResource, init, init, isEnabled, isNaggable, 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.plugin.Plugin

    getComponentLogger, getLog4JLogger, getSLF4JLogger
  • Constructor Details

    • PaperPlugin

      public PaperPlugin()
  • Method Details

    • onEnable

      public void onEnable()
      Specified by:
      onEnable in interface org.bukkit.plugin.Plugin
      Overrides:
      onEnable in class me.dreamvoid.miraimc.bukkit.BukkitPlugin
    • runTaskAsync

      public void runTaskAsync(Runnable task)
      Specified by:
      runTaskAsync in interface Platform
      Overrides:
      runTaskAsync in class me.dreamvoid.miraimc.bukkit.BukkitPlugin
    • runTaskLaterAsync

      public void runTaskLaterAsync(Runnable task, long delay)
      Specified by:
      runTaskLaterAsync in interface Platform
      Overrides:
      runTaskLaterAsync in class me.dreamvoid.miraimc.bukkit.BukkitPlugin
    • runTaskTimerAsync

      public void runTaskTimerAsync(Runnable task, long delay, long period)
      Specified by:
      runTaskTimerAsync in interface Platform
      Overrides:
      runTaskTimerAsync in class me.dreamvoid.miraimc.bukkit.BukkitPlugin
    • getPluginClassLoader

      public ClassLoader getPluginClassLoader()
      Specified by:
      getPluginClassLoader in interface Platform
      Overrides:
      getPluginClassLoader in class me.dreamvoid.miraimc.bukkit.BukkitPlugin
    • getLibraryLoader

      public me.dreamvoid.miraimc.internal.loader.LibraryLoader getLibraryLoader()
      Specified by:
      getLibraryLoader in interface Platform
      Overrides:
      getLibraryLoader in class me.dreamvoid.miraimc.bukkit.BukkitPlugin
    • getType

      public String getType()
      Specified by:
      getType in interface Platform
      Overrides:
      getType in class me.dreamvoid.miraimc.bukkit.BukkitPlugin