Made plugin executable #1

This commit is contained in:
2023-01-12 21:28:24 +01:00
parent 155094e476
commit d5ff74b6a4
9 changed files with 21 additions and 15 deletions

View File

@@ -1,7 +0,0 @@
fun main(args: Array<String>) {
println("Hello World!")
// Try adding program arguments via Run/Debug configuration.
// Learn more about running applications: https://www.jetbrains.com/help/idea/running-applications.html.
println("Program arguments: ${args.joinToString()}")
}

View File

@@ -0,0 +1,13 @@
package de.sh_edraft
import org.bukkit.plugin.java.JavaPlugin
open class OntimeHandlerPlugin() : JavaPlugin() {
override fun onEnable() {
logger.info("onEnable is called!")
}
override fun onDisable() {
logger.info("onDisable is called!")
}
}

View File

@@ -0,0 +1,3 @@
name: sh_edraft.OntimeHandlerPlugin
version: 1.0
main: de.sh_edraft.OntimeHandlerPlugin