Package 

Interface McorouhlinPlugin

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

    
    public interface McorouhlinPlugin
     implements Plugin, CoroutineScope, PermissionRegisterer
                        

    Represents a Plugin with mcorouhlin framework.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onEnableAsync() Called when this plugin is enabled.
      abstract Unit onDisableAsync() Called when this plugin is disabled.
      abstract Unit onLoadAsync() Called when this plugin is load.
      abstract Unit events(Function1<Events<Event>, Unit> block) Register events with Events.
      abstract MinecraftMainThreadDispatcher getMainThreadDispatcher() CoroutineDispatcher that runs in the Minecraft main thread.
      abstract MinecraftAsyncDispatcher getAsyncDispatcher() CoroutineDispatcher that runs in the Minecraft async thread.
      abstract CoroutineContext getCoroutineContext()
      • Methods inherited from class org.bukkit.command.TabExecutor

        onCommand, onTabComplete
      • Methods inherited from class land.vani.mcorouhlin.paper.McorouhlinPlugin

        getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getLog4JLogger, getLogger, getName, getPluginLoader, getResource, getSLF4JLogger, getServer, isEnabled, isNaggable, onDisable, onEnable, onLoad, registerPermissions, registerPermissions, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setNaggable
      • Methods inherited from class java.lang.Object

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