diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 548b588..dfbdad3 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -25,13 +25,13 @@ jobs:
server-id: github
server-username: MAVEN_USERNAME
server-password: MAVEN_TOKEN
-# - name: "Package & Deploy"
-# run: mvn -B deploy --file pom.xml
-# env:
-# MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
-# MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}}
+ - name: "Package & Deploy"
+ run: mvn -B deploy --file pom.xml
+ env:
+ MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
+ MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: "Stage"
- run: mkdir staging && cp */target/*.jar staging
+ run: mkdir staging && cp ./*/target/*.jar staging
- name: "Upload artifact"
uses: actions/upload-artifact@v2
with:
diff --git a/2b2t-common/pom.xml b/2b2t-common/pom.xml
index 94a9947..40b956d 100644
--- a/2b2t-common/pom.xml
+++ b/2b2t-common/pom.xml
@@ -12,6 +12,14 @@
2b2t-common
jar
+
+ 8
+ 8
+ true
+ UTF-8
+
+
+
${project.groupId}
diff --git a/2b2t-core/pom.xml b/2b2t-core/pom.xml
index e80f6f6..909340c 100644
--- a/2b2t-core/pom.xml
+++ b/2b2t-core/pom.xml
@@ -14,6 +14,12 @@
2b2t-core
jar
+
+ 8
+ 8
+ UTF-8
+
+
diff --git a/2b2t-death/pom.xml b/2b2t-death/pom.xml
index ab3a1ae..a490dd5 100644
--- a/2b2t-death/pom.xml
+++ b/2b2t-death/pom.xml
@@ -12,6 +12,13 @@
2b2t-death
jar
+
+ 8
+ 8
+ true
+ UTF-8
+
+
diff --git a/2b2t-logger/pom.xml b/2b2t-logger/pom.xml
index 2d6c6b6..fc3b9e5 100644
--- a/2b2t-logger/pom.xml
+++ b/2b2t-logger/pom.xml
@@ -12,6 +12,12 @@
2b2t-logger
jar
+
+ 8
+ 8
+ UTF-8
+
+
diff --git a/2b2t-proxy/pom.xml b/2b2t-proxy/pom.xml
index c8f789b..a09a278 100644
--- a/2b2t-proxy/pom.xml
+++ b/2b2t-proxy/pom.xml
@@ -12,6 +12,13 @@
2b2t-proxy
jar
+
+ 8
+ 8
+ true
+ UTF-8
+
+
net.md-5
diff --git a/2b2t-spawn/pom.xml b/2b2t-spawn/pom.xml
index 41fdd40..9492099 100644
--- a/2b2t-spawn/pom.xml
+++ b/2b2t-spawn/pom.xml
@@ -13,6 +13,13 @@
2b2t-spawn
jar
+
+ 8
+ 8
+ true
+ UTF-8
+
+
${project.groupId}
diff --git a/README.md b/README.md
index dfd4ab5..5bfdb16 100644
--- a/README.md
+++ b/README.md
@@ -4,8 +4,8 @@
cn2b2t服务器基础插件代码集合。
-
## 相关介绍
+
本项目创建初衷为讽刺China2B2T的圈钱行为,后为向cn2b2t玩家提供良好的游玩环境,创造有中国特色的仿2b2t类生存服务器而继续维护。
@@ -56,6 +56,16 @@ cn2b2t服务器基础插件代码集合。
记录cn2b2t中玩家的相关行为。
+#### 主要接口
+
+```java
+public class LoggerAPITest {
+ public void playerLog(Player player) {
+ LoggerManager.log(LoggerManager.LogType.CHAT, player, "这是一个log的测试");
+ }
+}
+```
+
### 2b2t-death
修复(可能发送的)死亡复活点异常的问题。