Package 

Class McorouhlinKotlinPlugin

  • All Implemented Interfaces:
    kotlinx.coroutines.CoroutineScope , land.vani.mcorouhlin.paper.McorouhlinPlugin , land.vani.mcorouhlin.permission.PermissionRegisterer , org.bukkit.command.CommandExecutor , org.bukkit.command.TabCompleter , org.bukkit.command.TabExecutor , org.bukkit.plugin.Plugin

    
    public abstract class McorouhlinKotlinPlugin
    extends JavaPlugin implements McorouhlinPlugin
                        

    Represents a JavaPlugin with mcorouhlin framework.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      CoroutineContext getCoroutineContext()
      MinecraftAsyncDispatcher getAsyncDispatcher() CoroutineDispatcher that runs in the Minecraft async thread.
      MinecraftMainThreadDispatcher getMainThreadDispatcher() CoroutineDispatcher that runs in the Minecraft main thread.
      Unit onEnableAsync() Called when this plugin is enabled.
      Unit onDisableAsync() Called when this plugin is disabled.
      Unit onLoadAsync() Called when this plugin is load.
      Unit onEnable()
      Unit onDisable()
      Unit onLoad()
      Unit registerPermissions(Iterable<Permission> permissions)
      Unit events(Function1<Events<Event>, Unit> block) Register events with Events.
      • Methods inherited from class land.vani.mcorouhlin.paper.McorouhlinPlugin

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

        equals, getName, hashCode
      • Methods inherited from class land.vani.mcorouhlin.paper.McorouhlinKotlinPlugin

        getClassLoader, getCommand, getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPluginLoader, getResource, getServer, getTextResource, init, isEnabled, isNaggable, onCommand, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
      • Methods inherited from class org.bukkit.plugin.PluginBase

        getLog4JLogger, getSLF4JLogger
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait