mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2024-11-28 13:05:14 +01:00
Add missing build timestamp when using plugin with paper
This commit is contained in:
parent
a430846dfe
commit
8a20b49bfd
@ -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"
|
||||||
|
@ -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>
|
||||||
|
@ -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}]
|
||||||
|
@ -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"); }
|
||||||
|
5
pom.xml
5
pom.xml
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user