Remove a testing line and bump to 1.0.0
This commit is contained in:
@@ -6,7 +6,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "xyz.lncvrt"
|
||||
version = "1.0.0-SNAPSHOT"
|
||||
version = "1.0.0"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@@ -38,7 +38,6 @@ tasks {
|
||||
dependsOn("shadowJar")
|
||||
}
|
||||
|
||||
|
||||
processResources {
|
||||
val props = mapOf("version" to version)
|
||||
inputs.properties(props)
|
||||
|
||||
@@ -1,22 +1,11 @@
|
||||
package xyz.lncvrt.galaxyapi
|
||||
|
||||
import io.papermc.paper.event.player.AsyncChatEvent
|
||||
import net.kyori.adventure.text.minimessage.MiniMessage
|
||||
import org.bukkit.event.EventHandler
|
||||
import org.bukkit.event.Listener
|
||||
import org.bukkit.plugin.java.JavaPlugin
|
||||
import xyz.lncvrt.galaxyapi.utils.MessageFormat
|
||||
|
||||
@Suppress("unused")
|
||||
class GalaxyAPI : JavaPlugin(), Listener {
|
||||
class GalaxyAPI : JavaPlugin() {
|
||||
override fun onEnable() {
|
||||
instance = this
|
||||
server.pluginManager.registerEvents(this, this)
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
fun test(event: AsyncChatEvent) {
|
||||
event.player.sendMessage(MiniMessage.miniMessage().deserialize(MessageFormat.setStaffPrefix("test")))
|
||||
}
|
||||
|
||||
companion object {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package xyz.lncvrt.galaxyapi.utils
|
||||
|
||||
@Suppress("unused")
|
||||
object Messages {
|
||||
const val PRIMARY_COLOR = "c864f0"
|
||||
const val SECONDARY_COLOR = "8c2db4"
|
||||
|
||||
Reference in New Issue
Block a user