generated from ybw0014/GuizhanSlimefunAddon
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 5d1d36f
Showing
12 changed files
with
1,301 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[{*.yml,*.json}] | ||
indent_size = 2 | ||
|
||
[*.java] | ||
# Intellij IDEA settings | ||
ij_java_class_count_to_use_import_on_demand = 9999 | ||
ij_java_imports_layout = |,java.**,|,javax.**,|,com.**,|,org.bukkit.**,|,io.**,|,me.**,|,net.**,|,*,|,$* | ||
ij_java_names_count_to_use_import_on_demand = 9999 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
name: Bug汇报 | ||
description: 反馈本插件的Bug或问题,仅限中文 | ||
labels: ["bug"] | ||
assignees: | ||
- ybw0014 | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## 欢迎来到 问题追踪器 | ||
建议先阅读[这篇文章](https://slimefun-wiki.guizhanss.cn/How-to-report-bugs)了解如何正确地汇报Bug。 | ||
<strong><i>你必须填写标注为星号(*)的表单项</i></strong> | ||
- type: checkboxes | ||
id: checklist | ||
attributes: | ||
label: 检查项目 | ||
description: 在汇报之前,你需要确认 | ||
options: | ||
- label: 你使用的是从构建站下载的版本 (https://builds.guizhanss.com) | ||
required: true | ||
- label: 你已经检验过下载的文件的校验和,确认已完整下载文件 | ||
required: false | ||
- label: 你没有对下载的文件内容进行任何更改 | ||
required: true | ||
- label: 你已经寻找过[已知问题列表](https://github.com/ybw0014/GuizhanSlimefunAddon/issues),且没有找到相同的问题 | ||
required: true | ||
|
||
- type: textarea | ||
id: description | ||
attributes: | ||
label: 问题描述 | ||
description: | | ||
详细描述你要汇报的问题 | ||
提供详细的信息能让我们更快地处理问题 | ||
placeholder: 只说"不能用"没法让开发者定位问题。 | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: reproduction | ||
attributes: | ||
label: 复现步骤 | ||
description: | | ||
请详细描述如何才能复现该问题 | ||
如果有视频,请在此提供视频链接 | ||
placeholder: | | ||
1. xxx | ||
2. xxx | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: expected-behavior | ||
attributes: | ||
label: 预期行为 | ||
description: | | ||
你觉得应该发生什么 | ||
有时候,问题的原因是你误解了某个功能。 | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: server-log | ||
attributes: | ||
label: 服务器日志 | ||
description: | | ||
请查看服务器日志中是否包含任何报错,如果有请上传至 [https://paste.guizhanss.net/](https://paste.guizhanss.net/) 或其他在线剪贴板并在此填入链接。 | ||
**不要直接在这里粘贴日志** | ||
placeholder: https://paste.guizhanss.net/... | ||
validations: | ||
required: false | ||
|
||
- type: input | ||
id: error-report | ||
attributes: | ||
label: 错误报告 | ||
description: | | ||
如果服务器日志中提到了`/plugins/Slimefun/error-reports`中的文件(即错误报告) | ||
请上传至 [https://paste.guizhanss.net/](https://paste.guizhanss.net/) 或其他在线剪贴板并在此填入链接。 | ||
**不要直接在这里粘贴错误报告** | ||
placeholder: https://paste.guizhanss.net/... | ||
validations: | ||
required: false | ||
|
||
- type: dropdown | ||
id: server-software | ||
attributes: | ||
label: 服务端软件 | ||
description: 请选择你服务端所使用的软件 | ||
options: | ||
- Spigot | ||
- Paper | ||
- Purpur | ||
- Airplane | ||
- 其他 (请在问题描述里写明) | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: minecraft-version | ||
attributes: | ||
label: Minecraft 版本 | ||
description: 请输入你的 Minecraft 版本 | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: slimefun-version | ||
attributes: | ||
label: Slimefun版本 | ||
description: | | ||
请填写Slimefun版本 | ||
(例如 v4.9-canary-08120db) | ||
如果你有管理员权限,建议运行`/sf versions`指令,截图并在此上传指令输出的**所有内容**。 | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: version-plugin | ||
attributes: | ||
label: 插件版本 | ||
description: | | ||
请填写插件版本 | ||
只需填写Build后面的数字版本即可 | ||
(`Build 7 zh-CN(ybw0014) (git 9ef7fee)`只需填写`7`即可) | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
name: Bug Report | ||
description: Report bugs or problems about this Plugin, English only | ||
labels: ["bug"] | ||
assignees: | ||
- ybw0014 | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## Welcome to Bug Tracker | ||
Please take a look at [How to report bugs](https://github.com/Slimefun/Slimefun4/wiki/How-to-report-bugs) and [existing Issues](https://github.com/ybw0014/GuizhanSlimefunAddon/issues). | ||
<strong><i>Fields marked with an asterisk (*) are required.</i></strong> | ||
- type: checkboxes | ||
id: checklist | ||
attributes: | ||
label: Checklist | ||
description: Please go through this checklist before you create the issue. | ||
options: | ||
- label: You are using official version downloaded from Builds Page | ||
required: true | ||
- label: You did not modify the jar file | ||
required: true | ||
- label: You searched existing issues, and could not find any existing bug report on this | ||
required: true | ||
|
||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Description | ||
description: | | ||
Please provide detailed and clear description of what goes wrong. | ||
The more information you can provide, the easier we can handle this problem. | ||
placeholder: Only "doesn't work" won't help. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: reproduction | ||
attributes: | ||
label: Reproduction Steps | ||
description: | | ||
Tell us the exact steps to reproduce this issue, the more detailed the easier we can reproduce it. | ||
If you can provide a video reproduction, please paste your video link. | ||
placeholder: | | ||
1. xxx | ||
2. xxx | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: expected-behavior | ||
attributes: | ||
label: Expected Behavior | ||
description: | | ||
What were you expecting to happen? | ||
What do you think would have been the correct behaviour? | ||
Sometimes, you misunderstand an intended feature. | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: server-log | ||
attributes: | ||
label: Server log | ||
description: | | ||
Take a look at your server log and upload any full error message from Slimefun to pasting service [https://pastebin.com/](https://pastebin.com/) | ||
**DO NOT paste logs here** | ||
placeholder: https://pastebin.com/... | ||
validations: | ||
required: false | ||
|
||
- type: input | ||
id: error-report | ||
attributes: | ||
label: Error report | ||
description: | | ||
If the error generates a report at `/plugins/Slimefun/error-reports`, please upload to pasting service [https://pastebin.com/](https://pastebin.com/) | ||
**DO NOT paste error reports here** | ||
placeholder: https://pastebin.com/.... | ||
validations: | ||
required: false | ||
|
||
- type: dropdown | ||
id: server-software | ||
attributes: | ||
label: Server Software | ||
description: Please select the software your server is running on | ||
options: | ||
- Spigot | ||
- Paper | ||
- Purpur | ||
- Airplane | ||
- Other (Please specify in description) | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: minecraft-version | ||
attributes: | ||
label: Minecraft Version | ||
description: Please provide your Minecraft Version | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: slimefun-version | ||
attributes: | ||
label: Slimefun version | ||
description: | | ||
"latest" is not a valid version number, we need exact one. | ||
We recommend to run `/sf versions` and upload the screenshot, make sure the entire output is included. | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: version-plugin | ||
attributes: | ||
label: Plugin version | ||
description: | | ||
Please specify the plugin version. | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: 没有 Github 账号? 不会使用 Github? | ||
url: https://ybw0014.net/go/sf-qgroup | ||
about: 点击右侧按钮加入QQ群进行反馈 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
## Description | ||
<!-- Please explain why you are making this pull request. --> | ||
<!-- Start writing below this line --> | ||
|
||
## Proposed changes | ||
<!-- Please explain what changes you have made to the code. --> | ||
<!-- Start writing below this line --> | ||
|
||
## Related Issues (if applicable) | ||
<!-- Please tag any Issues related to your Pull Request --> | ||
<!-- Syntax: "Resolves #000" --> | ||
<!-- Start writing below this line --> | ||
|
||
## Checklist | ||
<!-- Here is a little checklist you can follow. --> | ||
<!-- Click on these checkboxes after you created the pull request. --> | ||
<!-- Don't worry, these are not requirements. They only serve as guidance. --> | ||
- [ ] I have fully tested the proposed changes and promise that they will not break everything into chaos. | ||
- [ ] I have also tested the proposed changes in combination with various popular addons and can confirm my changes do not break them. | ||
- [ ] I followed the existing code standards and didn't mess up the formatting. | ||
- [ ] I did my best to add documentation to any public classes or methods I added. | ||
- [ ] I have added `Nonnull` and `Nullable` annotations to my methods to indicate their behaviour for null values | ||
- [ ] I added sufficient Unit Tests to cover my code. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Java CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
if: startsWith(github.event.head_commit.message, '[CI skip]') == false | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Set up JDK 16 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: 16 | ||
distribution: temurin | ||
- name: Build with Maven | ||
run: mvn package --file pom.xml |
Oops, something went wrong.