Skip to content

Commit

Permalink
1.1.0
Browse files Browse the repository at this point in the history
1. 添加变量 %PlayerPrefix%
2. 添加部署配置
3. 添加详细介绍
  • Loading branch information
carm committed Oct 21, 2021
1 parent 8d3e4f2 commit ff0255f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@

<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/CarmJos/PlayerPrefix/issues</url>
<url>${project.url}/issues</url>
</issueManagement>

<ciManagement>
<system>GitHub Actions</system>
<url>https://github.com/CarmJos/PlayerPrefix/actions/workflows/maven.yml</url>
<url>${project.url}/actions/workflows/maven.yml</url>
</ciManagement>

<developers>
Expand All @@ -43,8 +43,8 @@

<licenses>
<license>
<name>GNU General Public License v3.0</name>
<url>https://opensource.org/licenses/GPL-3.0</url>
<name>The MIT License</name>
<url>https://opensource.org/licenses/mit-license.php</url>
</license>
</licenses>

Expand Down
20 changes: 14 additions & 6 deletions src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -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
- prefix

author: CarmJos
website: ${project.url}
description: ${project.description}

0 comments on commit ff0255f

Please sign in to comment.