Skip to content

Commit 8a30ab2

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 5004c2e + 70866ab commit 8a30ab2

File tree

4 files changed

+288
-35
lines changed

4 files changed

+288
-35
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
name: Bug Report
2+
description: Report a Bug or an Issue
3+
title: "[Bug] "
4+
labels: [🐞 Unconfirmed bug]
5+
assignees:
6+
- Rothes
7+
8+
body:
9+
- type: markdown
10+
attributes:
11+
value: |
12+
## Welcome to the ProtocolStringReplacer Bug Tracker
13+
If you need support, you can join our [Discord server](https://discord.gg/zwzzkmYCBb) or [QQ Group](https://qm.qq.com/cgi-bin/qm/qr?k=mDtcrvBGzqbA05mPLzBnPAYXm5lskYxg&jump_from=webapi).
14+
Thanks for taking the time to fill out this bug report.
15+
16+
- id: checklist
17+
type: checkboxes
18+
attributes:
19+
label: 'Checklist'
20+
description: Please go through this checklist before creating the issue.
21+
options:
22+
- label: I have tried the latest development version of ProtocolLib.
23+
- label: I am using the latest available official release of PSR.
24+
required: true
25+
- label: I searched for similar open issues and could not find any existing bug report on this.
26+
required: true
27+
28+
- id: description
29+
type: textarea
30+
validations:
31+
required: true
32+
attributes:
33+
label: 'Description'
34+
description: |
35+
A clear and detailed description of what the bug is.
36+
The more information you can provide, the easier we can handle this problem.
37+
placeholder: |
38+
When doing [...] I experienced [...].
39+
40+
- id: reproduction-steps
41+
type: textarea
42+
validations:
43+
required: true
44+
attributes:
45+
label: 'Reproduction Steps'
46+
description: |
47+
The exact steps to reproduce this issue.
48+
The more detailed, the easier we can reproduce it.
49+
placeholder: |
50+
1. Do [...]
51+
2. Then do [...]
52+
3. Now [...] happens
53+
54+
- id: expected-behaviour
55+
type: textarea
56+
validations:
57+
required: true
58+
attributes:
59+
label: 'Expected Behavior'
60+
description: |
61+
What were you expecting to happen?
62+
What do you think would have been the correct behaviour?
63+
placeholder: |
64+
I expected [...] to happen.
65+
66+
- id: stacktrace
67+
type: input
68+
attributes:
69+
label: 'StackTrace'
70+
description: |
71+
Check your server log and search for any warning or error messages from ProtocolStringReplacer.
72+
If you are unsure about it, post your full log.
73+
placeholder: https://pastebin.com/...
74+
75+
- id: server-software
76+
type: input
77+
validations:
78+
required: true
79+
attributes:
80+
label: 'Server Software'
81+
description: |
82+
Please input the software your server is running on, including the version.
83+
Run /about and paste the output here.
84+
placeholder: 'git-Purpur-1894 (MC: 1.19.3)*'
85+
86+
- id: psr-version
87+
type: input
88+
validations:
89+
required: true
90+
attributes:
91+
label: 'ProtocolStringReplacer version'
92+
description: |
93+
**"latest" is not a version number, we need the exact version.**
94+
Please input the version of ProtocolStringReplacer.
95+
placeholder: '2.17.3'
96+
97+
- id: protocollib-version
98+
type: input
99+
validations:
100+
required: true
101+
attributes:
102+
label: 'ProtocolLib version'
103+
description: |
104+
Run /protocol version and paste the exact version here.
105+
placeholder: 'v5.0.0-SNAPSHOT-b612'
106+
107+
- id: other-versions
108+
type: textarea
109+
attributes:
110+
label: 'Other plugins'
111+
description: |
112+
If your issue is related to other plugins, put them here.
113+
placeholder: MyPluginA v1.0, MyPluginB v1.1 ...
114+
115+
- id: additional-context
116+
type: textarea
117+
attributes:
118+
label: 'Additional Context'
119+
description: |
120+
You can add any other context about the issue here.
121+
placeholder: |
122+
Screenshots, videos, System version, more info...
123+
124+
- type: markdown
125+
attributes:
126+
value: |
127+
## Thank you for submitting your bug report!
128+
If you find any additional info that can help to address this issue, don't hesitate to comment on the issue!
129+
Any additional info can help us fix this bug faster.
Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
name: Bug Report | 错误报告
2+
description: 报告错误或议题 [中文|Chinese]
3+
title: "[Bug] "
4+
labels: [🐞 Unconfirmed bug]
5+
assignees:
6+
- Rothes
7+
8+
body:
9+
- type: markdown
10+
attributes:
11+
value: |
12+
## 欢迎来到 ProtocolStringReplacer 问题追踪器
13+
如果您需要帮助, 可以加入我们的 [Discord 服务器](https://discord.gg/zwzzkmYCBb) 或 [QQ群](https://qm.qq.com/cgi-bin/qm/qr?k=mDtcrvBGzqbA05mPLzBnPAYXm5lskYxg&jump_from=webapi).
14+
感谢您愿意花费一些时间来帮助我们填写这个错误报告.
15+
16+
- id: checklist
17+
type: checkboxes
18+
attributes:
19+
label: '检查清单'
20+
description: 在创建问题之前,请先检查此清单.
21+
options:
22+
- label: 我已经尝试过了最新开发版本的 ProtocolLib.
23+
- label: 我正在使用最新的官方 PSR.
24+
required: true
25+
- label: 我搜寻了类似的未关闭议题, 但没有找到任何有关的错误报告。
26+
required: true
27+
28+
- id: description
29+
type: textarea
30+
validations:
31+
required: true
32+
attributes:
33+
label: '描述'
34+
description: |
35+
清楚、详细地描述您遇到的错误是什么.
36+
您提供的信息越多, 我们就越容易处理这个问题.
37+
placeholder: |
38+
当我在做 [...] 时, 我遇到了 [...].
39+
40+
- id: reproduction-steps
41+
type: textarea
42+
validations:
43+
required: true
44+
attributes:
45+
label: '重现步骤'
46+
description: |
47+
重现此问题的完整步骤.
48+
您描述地越清晰, 我们就越容易复现这个问题.
49+
placeholder: |
50+
1. 先做 [...]
51+
2. 再做 [...]
52+
3. 错误 [...] 发生了
53+
54+
- id: expected-behaviour
55+
type: textarea
56+
validations:
57+
required: true
58+
attributes:
59+
label: '预期行为'
60+
description: |
61+
您认为怎么样才是正确、预期的行为?
62+
placeholder: |
63+
我希望它能够 [...].
64+
65+
- id: stacktrace
66+
type: input
67+
attributes:
68+
label: '堆栈轨迹'
69+
description: |
70+
检查您的服务端日志, 搜索任何来自 ProtocolStringReplacer 的警告及错误信息.
71+
如果您不确定, 请发送您的完整日志.
72+
placeholder: https://pastebin.com/...
73+
74+
- id: server-software
75+
type: input
76+
validations:
77+
required: true
78+
attributes:
79+
label: '服务端版本'
80+
description: |
81+
请输入您使用的服务端, 包括版本号.
82+
执行 /about 指令并粘贴其输出.
83+
placeholder: 'git-Purpur-1894 (MC: 1.19.3)*'
84+
85+
- id: psr-version
86+
type: input
87+
validations:
88+
required: true
89+
attributes:
90+
label: 'ProtocolStringReplacer 版本'
91+
description: |
92+
**"最新" 不是版本号, 我们需要的是一个确切的版本号.**
93+
请输入 ProtocolStringReplacer 的版本号.
94+
placeholder: '2.17.3'
95+
96+
- id: protocollib-version
97+
type: input
98+
validations:
99+
required: true
100+
attributes:
101+
label: 'ProtocolLib 版本'
102+
description: |
103+
执行 /protocol version 指令并粘贴其输出.
104+
placeholder: 'v5.0.0-SNAPSHOT-b612'
105+
106+
- id: other-versions
107+
type: textarea
108+
attributes:
109+
label: '其它插件'
110+
description: |
111+
如果您的议题与其它插件有关系, 请在此处填写.
112+
placeholder: MyPluginA v1.0, MyPluginB v1.1 ...
113+
114+
- id: additional-context
115+
type: textarea
116+
attributes:
117+
label: '额外内容'
118+
description: |
119+
您可以在此处添加有关本议题的补充.
120+
placeholder: |
121+
截图, 视频, 系统版本, 以及其它的更多信息...
122+
123+
- type: markdown
124+
attributes:
125+
value: |
126+
## 非常感谢您能够提交此错误报告!
127+
如果您之后发现了任何有助于解决此议题的其他信息, 请立即在此议题下回复!
128+
任何更多信息都有助于我们解决此议题!
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: ProtocolStringReplacer Snapshot Builder
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v3
11+
12+
- name: Set up JDK 17
13+
uses: actions/setup-java@v3
14+
with:
15+
java-version: '17'
16+
distribution: 'temurin'
17+
18+
- name: Build with Maven
19+
run: mvn --batch-mode --update-snapshots package
20+
21+
# - uses: actions/upload-artifact@v3
22+
# with:
23+
# name: ProtocolStringReplacer-Snapshot
24+
# path: target/ProtocolStringReplacer v[\d\.]+.jar
25+
26+
- run: mkdir ProtocolStringReplacer && cp target/*.jar ProtocolStringReplacer
27+
28+
- uses: actions/upload-artifact@v3
29+
with:
30+
name: ProtocolStringReplacer-Snapshot
31+
path: ProtocolStringReplacer

0 commit comments

Comments
 (0)