Remove a testing line and bump to 1.0.0

This commit is contained in:
2025-04-07 21:55:08 -07:00
parent a6ba3b87a7
commit e9c4487856
3 changed files with 3 additions and 14 deletions

View File

@@ -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)

View File

@@ -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 {

View File

@@ -1,5 +1,6 @@
package xyz.lncvrt.galaxyapi.utils
@Suppress("unused")
object Messages {
const val PRIMARY_COLOR = "c864f0"
const val SECONDARY_COLOR = "8c2db4"