feat: Added Folia Support

This commit is contained in:
Adrian 2023-04-11 12:43:09 -05:00
parent 72d7e60fc6
commit c9f1c686f8
No known key found for this signature in database
GPG Key ID: FB8EF84DCE1BE452
4 changed files with 23 additions and 15 deletions

View File

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

View File

@ -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" }

View File

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

View File

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