com.skillw.pouvoir.api.manager.Manager.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Pouvoir Show documentation
Show all versions of Pouvoir Show documentation
Bukkit Script Engine Plugin.
package com.skillw.pouvoir.api.manager
import com.skillw.pouvoir.api.plugin.SubPouvoir
import com.skillw.pouvoir.api.plugin.map.component.Registrable
interface Manager : Registrable, Comparable {
val priority: Int
val subPouvoir: SubPouvoir
fun onLoad() {
}
fun onEnable() {}
fun onActive() {}
fun onReload() {}
fun onDisable() {}
override fun register() {}
override fun compareTo(other: Manager): Int {
return if (priority == other.priority) 0
else if (priority > other.priority) 1
else -1
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy