Add missing build timestamp when using plugin with paper

This commit is contained in:
GeorgH93 2023-07-24 22:44:59 +02:00
parent a430846dfe
commit 8a20b49bfd
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8
5 changed files with 9 additions and 8 deletions

View File

@ -1,6 +1,6 @@
name: "Minepacks" name: "Minepacks"
author: "GeorgH93" author: "${author}"
version: "${version}" version: "${pluginVersion}"
api-version: "1.19" api-version: "1.19"
main: "at.pcgamingfreaks.MinepacksStandalone.Bukkit.Minepacks" main: "at.pcgamingfreaks.MinepacksStandalone.Bukkit.Minepacks"

View File

@ -16,10 +16,6 @@
<url>https://www.spigotmc.org/resources/19286/</url> <url>https://www.spigotmc.org/resources/19286/</url>
<properties> <properties>
<author>GeorgH93</author>
<maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
<timestamp>${maven.build.timestamp}</timestamp>
<version>${project.version}-T${timestamp}</version>
<dependencies>PCGF_PluginLib</dependencies> <dependencies>PCGF_PluginLib</dependencies>
<soft-dependencies/> <soft-dependencies/>
<mainClass>${project.groupId}.${project.artifactId}.Bukkit.${project.artifactId}</mainClass> <mainClass>${project.groupId}.${project.artifactId}.Bukkit.${project.artifactId}</mainClass>

View File

@ -3,7 +3,7 @@ author: "${author}"
website: "${project.url}" website: "${project.url}"
main: "${mainClass}" main: "${mainClass}"
description: "${project.description}" description: "${project.description}"
version: "${version}" version: "${pluginVersion}"
api-version: "1.13" api-version: "1.13"
depend: [${dependencies}] depend: [${dependencies}]
softdepend: [MVdWPlaceholderAPI, PlaceholderAPI ${soft-dependencies}] softdepend: [MVdWPlaceholderAPI, PlaceholderAPI ${soft-dependencies}]

View File

@ -206,7 +206,7 @@ public List<String> tabComplete(@NotNull CommandSender commandSender, @NotNull S
{ {
if (args.length == 1) if (args.length == 1)
{ {
List<String> completeList = new ArrayList<>(2); List<String> completeList = new ArrayList<>(3);
if ("size".startsWith(args[0])) { completeList.add("size"); } if ("size".startsWith(args[0])) { completeList.add("size"); }
if ("system".startsWith(args[0])) { completeList.add("system"); } if ("system".startsWith(args[0])) { completeList.add("system"); }
if ("permissions".startsWith(args[0])) { completeList.add("permissions"); } if ("permissions".startsWith(args[0])) { completeList.add("permissions"); }

View File

@ -18,6 +18,11 @@
<bukkitVersion>1.15.2-R0.1-SNAPSHOT</bukkitVersion> <bukkitVersion>1.15.2-R0.1-SNAPSHOT</bukkitVersion>
<mavenShade.version>3.4.1</mavenShade.version> <mavenShade.version>3.4.1</mavenShade.version>
<author>GeorgH93</author>
<maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
<timestamp>${maven.build.timestamp}</timestamp>
<pluginVersion>${project.version}-T${timestamp}</pluginVersion>
<sonar.organization>georgh93</sonar.organization> <sonar.organization>georgh93</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url> <sonar.host.url>https://sonarcloud.io</sonar.host.url>
</properties> </properties>