diff --git a/gradle.properties b/gradle.properties index 987ef22..eba708d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ group = io.github.4drian3d -version = 4.0.0 +version = 4.0.1-SNAPSHOT description = AuthMeReloaded Support for Velocity url = https://modrinth.com/plugin/authmevelocity id = authmevelocity diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 91c4173..baca0f9 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -31,6 +31,7 @@ authme = { module = "fr.xephi:authme", version.ref = "authme" } libby-core = { group = "net.byteflux", name = "libby-core", version.ref = "libby" } libby-bukkit = { group = "net.byteflux", name = "libby-bukkit", version.ref = "libby" } +#libby-paper = "TODO" libby-velocity = { group = "net.byteflux", name = "libby-velocity", version.ref = "libby" } miniplaceholders = { group = "io.github.miniplaceholders", name = "miniplaceholders-api", version.ref = "miniplaceholders" } diff --git a/paper/build.gradle.kts b/paper/build.gradle.kts index 842441f..c644df4 100644 --- a/paper/build.gradle.kts +++ b/paper/build.gradle.kts @@ -1,5 +1,4 @@ plugins { - alias(libs.plugins.pluginyml.bukkit) alias(libs.plugins.shadow) alias(libs.plugins.runpaper) id("authmevelocity.spotless") @@ -28,18 +27,7 @@ dependencies { implementation(projects.authmevelocityApiPaper) implementation(libs.libby.bukkit) -} - -bukkit { - name = "AuthMeVelocity" - main = "io.github._4drian3d.authmevelocity.paper.AuthMeVelocityPlugin" - apiVersion = "1.13" - website = project.property("url") as String - description = project.description as String - authors = listOf("xQuickGlare", "4drian3d") - softDepend = listOf("MiniPlaceholders") - depend = listOf("AuthMe") - version = project.version as String + //implementation(libs.libby.paper) } tasks { @@ -59,7 +47,12 @@ tasks { options.release.set(17) } runServer { - minecraftVersion("1.19.3") + minecraftVersion("1.19.4") + } + processResources { + filesMatching(listOf("paper-plugin.yml", "plugin.yml")) { + expand("version" to project.version) + } } } diff --git a/paper/src/main/resources/plugin.yml b/paper/src/main/resources/plugin.yml new file mode 100644 index 0000000..43accc3 --- /dev/null +++ b/paper/src/main/resources/plugin.yml @@ -0,0 +1,14 @@ +name: AuthMeVelocity +version: "${version}" +main: io.github._4drian3d.authmevelocity.paper.AuthMeVelocityPlugin +description: AuthMeReloaded Support for Velocity +authors: + - xQuickGlare + - 4drian3d +website: https://modrinth.com/plugin/authmevelocity +depend: + - AuthMe +api-version: 1.13 +folia-supported: true +softdepend: + - MiniPlaceholders