diff --git a/build.gradle.kts b/build.gradle.kts index 590458c..fb10b25 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,7 +5,7 @@ plugins { } group = "net.mvndicraft.townywaypoints" -version = "1.3" +version = "1.4" description = "Configurable plot types for Towny that players can teleport between." repositories { @@ -60,7 +60,7 @@ tasks { "group" to project.group ) inputs.properties(props) - filesMatching("plugin.yml") { + filesMatching("paper-plugin.yml") { expand(props) } } diff --git a/src/main/resources/paper-plugin.yml b/src/main/resources/paper-plugin.yml index 5a677fe..ac1abcb 100644 --- a/src/main/resources/paper-plugin.yml +++ b/src/main/resources/paper-plugin.yml @@ -1,8 +1,10 @@ -name: TownyWaypoints -version: '1.3' -main: net.mvndicraft.townywaypoints.TownyWaypoints -description: Configurable Waypoints as Towny plots -api-version: '1.20' +name: "$name" +version: "$version" +main: "$group.${name}" +description: "$description" +author: "ewof" +website: "https://github.com/ewof/${name}" +api-version: "$apiVersion" folia-supported: true dependencies: server: @@ -15,4 +17,4 @@ dependencies: permissions: townywaypoints.admin: description: "Allows use of the reload command and disables all permission checks." - default: op \ No newline at end of file + default: op