From ff0255f72a9ee8b586c9320822e31222331c20c9 Mon Sep 17 00:00:00 2001 From: carm Date: Thu, 21 Oct 2021 21:32:53 +0800 Subject: [PATCH] =?UTF-8?q?1.1.0=201.=20=E6=B7=BB=E5=8A=A0=E5=8F=98?= =?UTF-8?q?=E9=87=8F=20%PlayerPrefix%=202.=20=E6=B7=BB=E5=8A=A0=E9=83=A8?= =?UTF-8?q?=E7=BD=B2=E9=85=8D=E7=BD=AE=203.=20=E6=B7=BB=E5=8A=A0=E8=AF=A6?= =?UTF-8?q?=E7=BB=86=E4=BB=8B=E7=BB=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/maven.yml | 2 +- pom.xml | 8 ++++---- src/main/resources/plugin.yml | 20 ++++++++++++++------ 3 files changed, 19 insertions(+), 11 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index bdc7f2a..913b96f 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -27,7 +27,7 @@ jobs: - name: "Package" run: mvn -B package --file pom.xml env: - MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} + MAVEN_USERNAME: ${{ github.repository_owner }} MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}} - name: "Target Stage" run: mkdir staging && cp target/*.jar staging diff --git a/pom.xml b/pom.xml index 2caa287..120f5cf 100644 --- a/pom.xml +++ b/pom.xml @@ -21,12 +21,12 @@ GitHub Issues - https://github.com/CarmJos/PlayerPrefix/issues + ${project.url}/issues GitHub Actions - https://github.com/CarmJos/PlayerPrefix/actions/workflows/maven.yml + ${project.url}/actions/workflows/maven.yml @@ -43,8 +43,8 @@ - GNU General Public License v3.0 - https://opensource.org/licenses/GPL-3.0 + The MIT License + https://opensource.org/licenses/mit-license.php diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 4792949..f20f9c1 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,10 +1,18 @@ -name: PlayerPrefix main: cc.carm.plugin.playerprefix.Main -version: ${project} -author: CarmJos -depend: [ ProtocolLib ] -website: "https://github.com/CarmJos/PlayerPrefix" + +name: ${project.artifactId} +version: ${project.version} + +depend: + - ProtocolLib +softdepend: + - PlaceholderAPI + commands: PlayerPrefix: aliases: - - prefix \ No newline at end of file + - prefix + +author: CarmJos +website: ${project.url} +description: ${project.description}