ModuCorePlugin

abstract class ModuCorePlugin : JavaPlugin

Constructors

Link copied to clipboard
fun ModuCorePlugin()

Functions

Link copied to clipboard
abstract fun disable()

Disable logic.

Link copied to clipboard
abstract fun enable()

Code to run in the onEnable block.

Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
@Nullable
open fun getCommand(@NotNull p0: @NotNull String): @Nullable PluginCommand?
Link copied to clipboard
@NotNull
open fun getComponentLogger(): @NotNull ComponentLogger
Link copied to clipboard
@NotNull
open override fun getConfig(): @NotNull FileConfiguration
Link copied to clipboard
@NotNull
override fun getDataFolder(): @NotNull File
Link copied to clipboard
@Nullable
open override fun getDefaultBiomeProvider(@NotNull p0: @NotNull String, @Nullable p1: @Nullable String?): @Nullable BiomeProvider?
Link copied to clipboard
@Nullable
open override fun getDefaultWorldGenerator(@NotNull p0: @NotNull String, @Nullable p1: @Nullable String?): @Nullable ChunkGenerator?
Link copied to clipboard
@NotNull
override fun getDescription(): @NotNull PluginDescriptionFile
Link copied to clipboard
@NotNull
open fun getLog4JLogger(): @NotNull Logger
Link copied to clipboard
@NotNull
open override fun getLogger(): @NotNull Logger
Link copied to clipboard
@NotNull
override fun getName(): @NotNull String
Link copied to clipboard
@NotNull
override fun getPluginLoader(): @NotNull PluginLoader
Link copied to clipboard
@Nullable
open override fun getResource(@NotNull p0: @NotNull String): @Nullable InputStream?
Link copied to clipboard
@NotNull
override fun getServer(): @NotNull Server
Link copied to clipboard
@NotNull
open fun getSLF4JLogger(): @NotNull Logger
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
fun log(message: String)
Link copied to clipboard
open override fun onCommand(    @NotNull p0: @NotNull CommandSender,     @NotNull p1: @NotNull Command,     @NotNull p2: @NotNull String,     @NotNull p3: Array<@NotNull String>): Boolean
Link copied to clipboard
open override fun onDisable()
Link copied to clipboard
open override fun onEnable()
Link copied to clipboard
open override fun onLoad()
Link copied to clipboard
@Nullable
open override fun onTabComplete(    @NotNull p0: @NotNull CommandSender,     @NotNull p1: @NotNull Command,     @NotNull p2: @NotNull String,     @NotNull p3: Array<@NotNull String>): @Nullable MutableList<String>?
Link copied to clipboard
abstract fun registerCommands()

Code to register commands.

Link copied to clipboard
abstract fun registerListeners()

Code the register all the plugins listeners.

Link copied to clipboard
abstract fun registerManagers()

Code to register all managers/api things.

Link copied to clipboard
open override fun reloadConfig()
Link copied to clipboard
open override fun saveConfig()
Link copied to clipboard
open override fun saveDefaultConfig()
Link copied to clipboard
open override fun saveResource(@NotNull p0: @NotNull String, p1: Boolean)
Link copied to clipboard
fun severe(message: String)
Link copied to clipboard
@NotNull
open override fun toString(): @NotNull String
Link copied to clipboard
fun warn(message: String)

Properties

Link copied to clipboard
abstract val api: ModuCoreAPI
Link copied to clipboard
var isEnabled: Boolean
Link copied to clipboard
var naggable: Boolean