Support for base projects which do not contain the Bukkit API.

Also fixes a bug where root and plugin couldn't exist in the same project.
This commit is contained in:
Alex Endfinger
2022-07-13 03:37:44 -04:00
parent 117e914b01
commit 64028dd1de
16 changed files with 399 additions and 19 deletions

View File

@ -0,0 +1,13 @@
package lgbt.mystic.foundation.concrete.sample.helloworld
import org.bukkit.plugin.java.JavaPlugin
class HelloWorldPlugin : JavaPlugin() {
override fun onEnable() {
slF4JLogger.info("Enabled Hello World")
}
override fun onDisable() {
slF4JLogger.info("Disabled Hello World")
}
}

View File

@ -0,0 +1,9 @@
name: HelloWorld
version: '${version}'
main: lgbt.mystic.foundation.concrete.sample.helloworld.HelloWorldPlugin
api-version: 1.18
prefix: HelloWorld
load: STARTUP
authors:
- kubelet
- kexec