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