1
0
Fork 0

Get plugin loading.

main
reya 6 years ago
parent 88d2c3cc37
commit 411ec3ff85
  1. 3
      build.gradle
  2. 2
      src/main/kotlin/MinecraftPortalPlugin.kt
  3. 19
      src/main/kotlin/org/deliciousreya/minecraftportal/MinecraftPortalPlugin.kt
  4. 0
      src/main/resources/plugin.yml

@ -12,12 +12,11 @@ sourceCompatibility = 1.8
repositories {
mavenCentral()
maven {
url 'https://repo.destroystokyo.com/content/repositories/snapshots/'
url 'https://papermc.io/repo/repository/maven-public/'
}
}
dependencies {
compile group: 'com.deanveloper', name: 'KBukkit', version: '1.2'
compile group: 'com.destroystokyo.paper', name: 'paper-api', version: '1.13.2-R0.1-SNAPSHOT'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
testCompile group: 'junit', name: 'junit', version: '4.12'

@ -1,2 +0,0 @@
class MinecraftPortalPlugin {
}

@ -0,0 +1,19 @@
package org.deliciousreya.minecraftportal
import org.bukkit.plugin.PluginDescriptionFile
import org.bukkit.plugin.java.JavaPlugin
import org.bukkit.plugin.java.JavaPluginLoader
import java.io.File
class MinecraftPortalPlugin(
loader: JavaPluginLoader,
description: PluginDescriptionFile,
dataFolder: File,
file: File
) : JavaPlugin(loader, description, dataFolder, file)
{
override fun onEnable() {
super.onEnable()
logger.info("Loaded the portal plugin!")
}
}
Loading…
Cancel
Save