Files
KSpigot/docs/-k-spigot/net.axay.kspigot.main/index.md
bluefireoly 69b2e6cd17 Updated docs
2020-10-16 02:13:42 +02:00

1.2 KiB

title
title
net.axay.kspigot.main -

//KSpigot/net.axay.kspigot.main

Package net.axay.kspigot.main

Types

Name Summary
KSpigot [jvm]
Brief description




This is the main instance of kSpigot.



This class replaces (and inherits from) the JavaPlugin class. Your main plugin class should inherit from this abstract class.



Instead of overriding onLoad(), onEnable() and onDisable()override:

  • load() (called first)
  • startup() (called second)
  • shutdown() (called in the "end")



Content
abstract class KSpigot : JavaPlugin


ValueHolder [jvm]
Content
object ValueHolder


Properties

Name Summary
KSpigotMainInstance [jvm] lateinit var KSpigotMainInstance: KSpigot